# 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

  Bases: `Atom`

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

class enaml.widgets.dock_events.DockItemEvent

  Bases: `DockEvent`

  A DockEvent for events which involve a single dock item.

  class Type(*values)

    Bases: `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.

    __format__(format_spec, /)

      Convert to a string according to format_spec.

    __new__(value)
  type

    The type of the dock item event.

  name

    The name of the relevant dock item.