This class contains multiple copies of an icon in different sizes,
see also Dialog#set_icons and
TopLevelWindow#set_icons.
No base class
Initializes the bundle with the icon(s) found in the file.
IconBundle.new(%(arg-type)Icon% icon)Initializes the bundle with a single icon.
IconBundle.new(%(arg-type)IconBundle% ic)Copy constructor.
Adds all the icons contained in the file to the bundle;
if the collection already contains icons with the same
width and height, they are replaced by the new ones.
Adds the icon to the collection; if the collection already
contains an icon with the same width and height, it is
replaced by the new one.
Note that “<<” is an alias for “add_icon”.
Returns the icon with the given size; if no such icon exists,
returns the icon with size SYS_ICON_X/SYS_ICON_Y;
if no such icon exists,
returns the first icon in the bundle. If size = Size( -1, -1 ),
returns the icon with size SYS_ICON_X/SYS_ICON_Y.
Same as GetIcon( Size( size, size ) ).
[This page automatically generated from the Textile source at 2023-06-09 00:45:33 +0000]