enaml.icon
Classes
An object object representing an icon. |
|
An object representing an image in an icon. |
- class enaml.icon.Icon[source]
Bases:
Atom
An object object representing an icon.
Once an image is created it should be treated as read only. User code should create a new icon object if the parameters need to be changed.
- images
The list of icon images which compose this icon.
- class enaml.icon.IconImage[source]
Bases:
Atom
An object representing an image in an icon.
Instances of this class are used to populate the ‘images’ list of an ‘Icon’ instance. Instances of this class should be treated as read only once they are created.
- mode
The widget mode for which this icon should apply.
- state
The widget state for which this icon should apply.
- image
The image to use for this icon image.