IconSize.register

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

class 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. [type int]

Meta