register


Description:

[ Version ( deprecated = true , deprecated_since = "3.10" ) ]
public static int register (string name, int width, int height)

Warning: register is deprecated since 3.10.

Registers a new icon size, along the same lines as MENU, etc.

Note:

Use IconTheme instead.

Returns the integer value for the size.

Parameters:

name

name of the icon size

width

the icon width

height

the icon height

Returns:

integer value representing the size (IconSize)