set_icon_size


Description:

public void set_icon_size (IconSize icon_size)

This function sets the size of stock icons in the toolbar.

You can call it both before you add the icons and after they’ve been added. The size you set will override user preferences for the default icon size.

This should only be used for special-purpose toolbars, normal application toolbars should respect the user preferences for the size of icons.

Parameters:

this

A Toolbar

icon_size

The IconSize that stock icons in the toolbar shall have.