enaml.widgets.dock_events

Classes

DockEvent

A sentinel base class for events which occur in a dock area.

DockItemEvent

A DockEvent for events which involve a single dock item.

class enaml.widgets.dock_events.DockEvent[source]

Bases: atom.atom.Atom

A sentinel base class for events which occur in a dock area.

class enaml.widgets.dock_events.DockItemEvent[source]

Bases: enaml.widgets.dock_events.DockEvent

A DockEvent for events which involve a single dock item.

class Type(value)[source]

Bases: enum.IntEnum

An IntEnum which defines the dock item event types.

Docked = 0

The dock item was docked in a dock area.

Undocked = 1

The dock item was undocked from a dock area.

Extended = 2

The dock item was extended from a dock bar.

Retracted = 3

The dock item was retracted into a dock bar.

Shown = 4

The dock item was shown on the screen.

Hidden = 5

The dock item was hidden from the screen.

Closed = 6

The dock item was closed.

TabSelected = 7

The dock item became the selected tab in a tab group.

type

The type of the dock item event.

name

The name of the relevant dock item.