Function

GtkIconSizeregister

deprecated: 3.10 

Declaration [src]

GtkIconSize
gtk_icon_size_register (
  const gchar* name,
  gint width,
  gint height
)

Description [src]

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

Deprecated since: 3.10

Use GtkIconTheme instead.

Parameters

name

Type: const gchar*

Name of the icon size.

The data is owned by the caller of the function.
The value is a NUL terminated UTF-8 string.
width

Type: gint

The icon width.

height

Type: gint

The icon height.

Return value

Type: GtkIconSize

Integer value representing the size (GtkIconSize).