PyMaemo/UI tutorial/Additions to GTK+

bruno_araujo (Talk | contribs)
(New page: == Additions to GTK+ == A Hildon application might use any Gtk widget but in some cases could be needed to adapt those widgets to get that they fit perfectly. Hildon provides a set of co...)
Newer edit →

Revision as of 15:52, 9 October 2009

Additions to GTK+

A Hildon application might use any Gtk widget but in some cases could be needed to adapt those widgets to get that they fit perfectly.

Hildon provides a set of convenience functions to do that. The next sections explains these addictions.

Hildon Size Types

Hildon defines the following sizes to be used as sizes for widgets such as buttons or entries in your Hildon application.

Const 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