Bases: enaml.widgets.widget.Widget
A top-level Window component.
A Window component is represents of a top-level visible component with a frame decoration. It may have at most one child widget which is dubbed the ‘central widget’. The central widget is an instance of Container and is expanded to fit the size of the window.
A Window does not support features like MenuBars or DockPanes, for such functionality, use a MainWindow widget.
The titlebar text.
The initial size of the window. A value of (-1, -1) indicates to let the client choose the initial size
An enum which indicates the modality of the window. The default value is ‘non_modal’.
An event fired when the window is closed.
Returns the central widget in use for the Window
The source url for the titlebar icon.
A method called after initialization which allows the widget to bind any event handlers necessary.
alias of __NoInterface__
Bases: enaml.qt.qt_widget.QtWidget
A Qt implementation of an Enaml Window.
Find and return the central widget child for this widget.
Returns: | result (QWidget or None) – The central widget defined for this widget, or None if one is not defined. |
---|
Bases: enaml.wx.wx_widget.WxWidget
A Wx implementation of an Enaml Window.