Page Contents

This Page

MdiWindow

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

Bases: enaml.widgets.widget.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.

mdi_widget = None

A read only property which returns the pane’s dock widget.

__implements__

alias of __NoInterface__

Backends

Qt

Inheritance diagram of enaml.qt.qt_mdi_window.QtMdiWindow

class enaml.qt.qt_mdi_window.QtMdiWindow(object_id, parent, session)[source]

Bases: enaml.qt.qt_widget.QtWidget

A Qt implementation of an Enaml MdiWindow.

create_widget(parent, tree)[source]

Create the underlying QMdiSubWindow widget.

init_layout()[source]

Initialize the layout for the underlying control.

mdi_widget()[source]

Find and return the mdi widget child for this widget.

Returns:result (QWidget or None) – The mdi widget defined for this widget, or None if one is not defined.
child_removed(child)[source]

Handle the child removed event for a QtMdiWindow.

child_added(child)[source]

Handle the child added event for a QtMdiWindow.

Wx