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
GtkIconSize
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

Type: GtkIconSize

integer value representing the size (#GtkIconSize)

Detailed Description

Deprecated: Use #GtkIconTheme instead.

Meta