set_size


Description:

public void set_size (IconSize size)

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

Note:

Use IconTheme instead.

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

Parameters:

this

a IconSource

size

icon size (IconSize) this source applies to