enaml.widgets.mdi_window

Classes

MdiWindow

A widget which can be used as a window in an MdiArea.

class enaml.widgets.mdi_window.MdiWindow(parent=None, **kwargs)[source]

Bases: Widget

A widget which can be used as a window in an MdiArea.

An MdiWindow is a widget which can be used as an independent window in an MdiArea. It can have at most a single child widget which is an instance of Widget.

title

The titlebar text.

icon

The title bar icon.

mdi_widget()[source]

Get the mdi widget defined for the window.

The last Widget child is the mdi widget.

activated

An event fired when an object’s proxy is activated. It is triggered once during the object lifetime, at the end of the activate_proxy method.