IconSize.register

Registers a new icon size, along the same lines as GTK_ICON_SIZE_MENU, etc. Returns the integer value for the size.

More...
struct IconSize
static
register
(
string name
,
int width
,
int height
)

Parameters

name string

name of the icon size

width int

the icon width

height int

the icon height

Return Value

integer value representing the size (gtk.IconSize)

Detailed Description

Deprecated: Use gtk.IconTheme instead.