Page Contents

This Page

MdiArea

class enaml.widgets.mdi_area.MdiArea(parent=None, **kwargs)[source]

Bases: enaml.widgets.constraints_widget.ConstraintsWidget

A widget which acts as a virtual window manager for other top level widget.

An MdiArea can be used to provide an area within an application that can display other widgets in their own independent windows. Children of an MdiArea should be defined as instances of MdiWindow.

mdi_windows = None

A read only property which returns the area’s MdiWindows.

hug_width = None

An MdiArea expands freely in width and height by default.

resist_width = None

An MdiArea resists clipping only weakly by default.

__implements__

alias of __NoInterface__

Backends

Qt

Inheritance diagram of enaml.qt.qt_mdi_area.QtMdiArea

class enaml.qt.qt_mdi_area.QtMdiArea(object_id, parent, session)[source]

Bases: enaml.qt.qt_constraints_widget.QtConstraintsWidget

A Qt implementation of an Enaml MdiArea.

create_widget(parent, tree)[source]

Create the underlying QMdiArea widget.

init_layout()[source]

Initialize the layout for the underlying control.

child_removed(child)[source]

Handle the child removed event for a QtMdiArea.

child_added(child)[source]

Handle the child added event for a QtMdiArea.

Wx