IconSize.register

Warning gtk_icon_size_register has been deprecated since version 3.10 and should not be used in newly-written code. Use GtkIconTheme instead. 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