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: integer value representing the size

Detailed Description

Deprecated: Use #GtkIconTheme instead.

Meta