traitsui.editors.image_enum_editor module

Defines the image enumeration editor factory for all traits user interface toolkits.

class traitsui.editors.image_enum_editor.ImageEnumEditor(*args, **traits)[source]

Bases: EnumEditor

Editor factory for image enumeration editors.

init()[source]

Performs any initialization needed after all constructor traits have been set.

klass = Type()

Class used to derive the path to the image files:

module = Module

Module used to derive the path to the image files:

path = Str()

Path to use to locate image files:

prefix = Str()

Prefix to add to values to form image names:

suffix = Str()

Suffix to add to values to form image names:

traitsui.editors.image_enum_editor.ToolkitEditorFactory

alias of ImageEnumEditor