IconSize.register
gtk.types.IconSize register(string name, int width, int height)Registers a new icon size, along the same lines as #GTK_ICON_SIZE_MENU, etc. Returns the integer value for the size.
Parameters
name | name of the icon size |
width | the icon width |
height | the icon height |
Returns
integer value representing the size (#GtkIconSize)
Deprecated
Use #GtkIconTheme instead.