Editing PyMaemo/UI tutorial/Additions to GTK+
Warning: You are not logged in.
Your IP address will be recorded in this page's edit history.
The edit can be undone.
Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 11: | Line 11: | ||
Note: these constants are all defined in the <code>gtk</code> module. | Note: these constants are all defined in the <code>gtk</code> module. | ||
- | {| class="wikitable" | + | {| class="wikitable" |
- | + | ||
|- | |- | ||
! Constant !! Description | ! Constant !! Description | ||
|- | |- | ||
- | | | + | | HILDON_SIZE_HALFSCREEN_WIDTH || set to 50% screen width |
|- | |- | ||
- | | | + | | HILDON_SIZE_FULLSCREEN_WIDTH || set to 100% screen width |
|- | |- | ||
- | | | + | | HILDON_SIZE_AUTO_HEIGHT || set to automatic height |
|- | |- | ||
- | | | + | | HILDON_SIZE_FINGER_HEIGHT || set to finger height |
|- | |- | ||
- | | | + | | HILDON_SIZE_THUMB_HEIGHT || set to thumb height |
|- | |- | ||
- | | | + | | HILDON_SIZE_AUTO || set to automatic width and automatic height |
|} | |} | ||
Line 36: | Line 35: | ||
hildon_gtk_radio_button_new_from_widget(size, radio_group_member) | hildon_gtk_radio_button_new_from_widget(size, radio_group_member) | ||
</source> | </source> | ||
- | |||
== UI Modes == | == UI Modes == | ||
Learn more about Contributing to the wiki.