hildon-defines

hildon-defines — A collection of usefull defines.

Synopsis




#define     HILDON_ICON_SIZE_SMALL
#define     HILDON_ICON_SIZE_TOOLBAR
#define     HILDON_ICON_SIZE_WIZARD
#define     HILDON_ICON_SIZE_BIG_NOTE
#define     HILDON_ICON_SIZE_NOTE
#define     HILDON_ICON_PIXEL_SIZE_SMALL
#define     HILDON_ICON_PIXEL_SIZE_TOOLBAR
#define     HILDON_ICON_PIXEL_SIZE_WIZARD
#define     HILDON_ICON_PIXEL_SIZE_BIG_NOTE
#define     HILDON_ICON_PIXEL_SIZE_NOTE
#define     HILDON_MARGIN_HALF
#define     HILDON_MARGIN_DEFAULT
#define     HILDON_MARGIN_DOUBLE
#define     HILDON_MARGIN_TRIPLE
#define     HILDON_HARDKEY_UP
#define     HILDON_HARDKEY_LEFT
#define     HILDON_HARDKEY_RIGHT
#define     HILDON_HARDKEY_DOWN
#define     HILDON_HARDKEY_SELECT
#define     HILDON_HARDKEY_MENU
#define     HILDON_HARDKEY_HOME
#define     HILDON_HARDKEY_ESC
#define     HILDON_HARDKEY_FULLSCREEN
#define     HILDON_HARDKEY_INCREASE
#define     HILDON_HARDKEY_DECREASE
gint        hildon_get_icon_pixel_size      (GtkIconSize size);

Description

Details

HILDON_ICON_SIZE_SMALL

#define     HILDON_ICON_SIZE_SMALL


HILDON_ICON_SIZE_TOOLBAR

#define     HILDON_ICON_SIZE_TOOLBAR


HILDON_ICON_SIZE_WIZARD

#define     HILDON_ICON_SIZE_WIZARD


HILDON_ICON_SIZE_BIG_NOTE

#define     HILDON_ICON_SIZE_BIG_NOTE


HILDON_ICON_SIZE_NOTE

#define     HILDON_ICON_SIZE_NOTE


HILDON_ICON_PIXEL_SIZE_SMALL

#define     HILDON_ICON_PIXEL_SIZE_SMALL


HILDON_ICON_PIXEL_SIZE_TOOLBAR

#define     HILDON_ICON_PIXEL_SIZE_TOOLBAR


HILDON_ICON_PIXEL_SIZE_WIZARD

#define     HILDON_ICON_PIXEL_SIZE_WIZARD


HILDON_ICON_PIXEL_SIZE_BIG_NOTE

#define     HILDON_ICON_PIXEL_SIZE_BIG_NOTE


HILDON_ICON_PIXEL_SIZE_NOTE

#define     HILDON_ICON_PIXEL_SIZE_NOTE


HILDON_MARGIN_HALF

#define                                         HILDON_MARGIN_HALF 3


HILDON_MARGIN_DEFAULT

#define                                         HILDON_MARGIN_DEFAULT 6


HILDON_MARGIN_DOUBLE

#define                                         HILDON_MARGIN_DOUBLE 12


HILDON_MARGIN_TRIPLE

#define                                         HILDON_MARGIN_TRIPLE 18


HILDON_HARDKEY_UP

#define                                         HILDON_HARDKEY_UP GDK_Up


HILDON_HARDKEY_LEFT

#define                                         HILDON_HARDKEY_LEFT GDK_Left


HILDON_HARDKEY_RIGHT

#define                                         HILDON_HARDKEY_RIGHT GDK_Right


HILDON_HARDKEY_DOWN

#define                                         HILDON_HARDKEY_DOWN GDK_Down


HILDON_HARDKEY_SELECT

#define                                         HILDON_HARDKEY_SELECT GDK_Return


HILDON_HARDKEY_MENU

#define                                         HILDON_HARDKEY_MENU GDK_F4


HILDON_HARDKEY_HOME

#define                                         HILDON_HARDKEY_HOME GDK_F5


HILDON_HARDKEY_ESC

#define                                         HILDON_HARDKEY_ESC GDK_Escape


HILDON_HARDKEY_FULLSCREEN

#define                                         HILDON_HARDKEY_FULLSCREEN GDK_F6


HILDON_HARDKEY_INCREASE

#define                                         HILDON_HARDKEY_INCREASE GDK_F7


HILDON_HARDKEY_DECREASE

#define                                         HILDON_HARDKEY_DECREASE GDK_F8


hildon_get_icon_pixel_size ()

gint        hildon_get_icon_pixel_size      (GtkIconSize size);

Returns the icon size (height) for the given, named icon. In most cases it's much more convienient to call one of the predefined macros instead of this function directly.

size : the icon size to get pixel size for
Returns : the height/width of icon to use. O if icon could not be found.