IconSource.setSize

Sets the icon size this icon source is intended to be used with.

Setting the icon size on an icon source makes no difference if the size is wildcarded. Therefore, you should usually call gtk.icon_source.IconSource.setSizeWildcarded to un-wildcard it in addition to calling this function.

More...
class IconSource
void
setSize

Parameters

size gtk.types.IconSize

icon size (#GtkIconSize) this source applies to

Detailed Description

Deprecated: Use #GtkIconTheme instead.