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

namename of the icon size
widththe icon width
heightthe icon height

Returns

integer value representing the size (#GtkIconSize)

Deprecated

Use #GtkIconTheme instead.