traitsui.editors.popup_editor module

class traitsui.editors.popup_editor.PopupEditor(*args, **traits)[source]

Bases: BasicEditorFactory

editor = Any()

The editor to use for the pop-up view (can be None (use default editor), an EditorFactory instance, or a callable that returns an EditorFactory instance):

height = Float(-1.0)

The height of the popup (same as Item.height):

kind = Enum("popover", "popup", "info")

The kind of popup to use:

klass = Property()

The class used to construct editor objects:

style = EditorStyle

The style of editor to use for the popup editor (same as Item.style):

width = Float(-1.0)

The width of the popup (same as Item.width):