hildon 2.1.24 Reference Manual | ||||
---|---|---|---|---|
#define HILDON_ICON_SIZE_XSMALL #define HILDON_ICON_SIZE_SMALL #define HILDON_ICON_SIZE_STYLUS #define HILDON_ICON_SIZE_FINGER #define HILDON_ICON_SIZE_THUMB #define HILDON_ICON_SIZE_LARGE #define HILDON_ICON_SIZE_XLARGE #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_XSMALL #define HILDON_ICON_PIXEL_SIZE_SMALL #define HILDON_ICON_PIXEL_SIZE_STYLUS #define HILDON_ICON_PIXEL_SIZE_FINGER #define HILDON_ICON_PIXEL_SIZE_THUMB #define HILDON_ICON_PIXEL_SIZE_LARGE #define HILDON_ICON_PIXEL_SIZE_XLARGE #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);
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. |