Qt
digraph inheritance744c866cdf {
rankdir=LR;
width=8.0;
ratio=compress;
fontsize=14;
size="8.0, 12.0";
"QtWidget" [style="setlinewidth(0.5)",URL="enaml.widgets.widget.Widget.html#enaml.qt.qt_widget.QtWidget",fontname=Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans,height=0.25,shape=box,fontsize=10];
"QtObject" -> "QtWidget" [arrowsize=0.5,style="setlinewidth(0.5)"];
"QtObject" [shape=box,style="setlinewidth(0.5)",fontsize=10,fontname=Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans,height=0.25];
"QtWindow" [style="setlinewidth(0.5)",URL="#enaml.qt.qt_window.QtWindow",fontname=Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans,height=0.25,shape=box,fontsize=10];
"QtWidget" -> "QtWindow" [arrowsize=0.5,style="setlinewidth(0.5)"];
}
-
class enaml.qt.qt_window.QtWindow(object_id, parent, session)[source]
Bases: enaml.qt.qt_widget.QtWidget
A Qt implementation of an Enaml Window.
-
create_widget(parent, tree)[source]
Create the underlying QWindow object.
-
create(tree)[source]
Create and initialize the underlying widget.
-
init_layout()[source]
Perform layout initialization for the control.
-
activate()[source]
Activate the window.
-
central_widget()[source]
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. |
-
child_removed(child)[source]
Handle the child removed event for a QtWindow.
-
child_added(child)[source]
Handle the child added event for a QtWindow.
-
on_closed()[source]
The signal handler for the ‘closed’ signal.
-
on_action_close(content)[source]
Handle the ‘close’ action from the Enaml widget.
-
on_action_maximize(content)[source]
Handle the ‘maximize’ action from the Enaml widget.
-
on_action_minimize(content)[source]
Handle the ‘minimize’ action from the Enaml widget.
-
on_action_restore(content)[source]
Handle the ‘restore’ action from the Enaml widget.
-
on_action_send_to_front(content)[source]
Handle the ‘send_to_front’ action from the Enaml widget.
-
on_action_send_to_back(content)[source]
Handle the ‘send_to_back’ action from the Enaml widget.
-
on_action_set_icon_source(content)[source]
Handle the ‘set_icon_source’ action from the Enaml widget.
-
on_action_set_title(content)[source]
Handle the ‘set_title’ action from the Enaml widget.
-
on_action_set_modality(content)[source]
Handle the ‘set_modality’ action from the Enaml widget.
-
on_action_set_always_on_top(content)[source]
Handle the ‘set_always_on_top’ action from the Enaml widget.
-
close()[source]
Close the window
-
maximize()[source]
Maximize the window.
-
minimize()[source]
Minimize the window.
-
restore()[source]
Restore the window after a minimize or maximize.
-
send_to_front()[source]
Move the window to the front of all other windows.
-
send_to_back()[source]
Move the window to the back of all other windows.
-
set_icon_source(icon_source)[source]
Set the window icon source.
-
set_title(title)[source]
Set the title of the window.
-
set_initial_size(size)[source]
Set the initial size of the window.
-
set_modality(modality)[source]
Set the modality of the window.
-
set_always_on_top(always_on_top)[source]
Set the ‘always_on_top’ flag on the window
-
set_visible(visible)[source]
Set the visibility on the window.
This is an overridden parent class method to set the visibility
at a later time, so that layout can be initialized before the
window is displayed.
Wx
digraph inheritance5f481f269c {
rankdir=LR;
width=8.0;
ratio=compress;
fontsize=14;
size="8.0, 12.0";
"WxWindow" [style="setlinewidth(0.5)",URL="#enaml.wx.wx_window.WxWindow",fontname=Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans,height=0.25,shape=box,fontsize=10];
"WxWidget" -> "WxWindow" [arrowsize=0.5,style="setlinewidth(0.5)"];
"WxWidget" [style="setlinewidth(0.5)",URL="enaml.widgets.widget.Widget.html#enaml.wx.wx_widget.WxWidget",fontname=Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans,height=0.25,shape=box,fontsize=10];
"WxObject" -> "WxWidget" [arrowsize=0.5,style="setlinewidth(0.5)"];
"WxObject" [shape=box,style="setlinewidth(0.5)",fontsize=10,fontname=Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans,height=0.25];
}
-
class enaml.wx.wx_window.WxWindow(object_id, parent, session)[source]
Bases: enaml.wx.wx_widget.WxWidget
A Wx implementation of an Enaml Window.
-
create_widget(parent, tree)[source]
Create the underlying wx.Frame widget.
-
create(tree)[source]
Create and initialize the window control.
-
init_layout()[source]
Perform layout initialization for the control.
-
central_widget()[source]
Find and return the central widget child for this widget.
Returns: | result (wxWindos or None) – The central widget defined for this widget, or None if one is not defined. |
-
child_removed(child)[source]
Handle the child removed event for a QtWindow.
-
child_added(child)[source]
Handle the child added event for a QtWindow.
-
on_close(event)[source]
The event handler for the EVT_CLOSE event.
-
on_layout_requested(event)[source]
Handle the layout request event from the central widget.
-
on_action_close(content)[source]
Handle the ‘close’ action from the Enaml widget.
-
on_action_maximize(content)[source]
Handle the ‘maximize’ action from the Enaml widget.
-
on_action_minimize(content)[source]
Handle the ‘minimize’ action from the Enaml widget.
-
on_action_restore(content)[source]
Handle the ‘restore’ action from the Enaml widget.
-
on_action_send_to_front(content)[source]
Handle the ‘send_to_front’ action from the Enaml widget.
-
on_action_send_to_back(content)[source]
Handle the ‘send_to_back’ action from the Enaml widget.
-
on_action_set_icon_source(content)[source]
Handle the ‘set_icon_source’ action from the Enaml widget.
-
on_action_set_title(content)[source]
Handle the ‘set_title’ action from the Enaml widget.
-
on_action_set_modality(content)[source]
Handle the ‘set_modality’ action from the Enaml widget.
-
on_action_set_always_on_top(content)[source]
Handle the ‘set_always_on_top’ action from the Enaml widget.
-
close()[source]
Close the window
-
maximize()[source]
Maximize the window.
-
minimize()[source]
Minimize the window.
-
restore()[source]
Restore the window after a minimize or maximize.
-
send_to_front()[source]
Move the window to the front of all other windows.
-
send_to_back()[source]
Move the window to the back of all other windows.
-
set_title(title)[source]
Set the title of the window.
-
set_initial_size(size)[source]
Set the initial size of the window.
-
set_modality(modality)[source]
Set the modality of the window.
-
set_always_on_top(always_on_top)[source]
Set the stickyness of the window.
-
set_visible(visible)[source]
Set the visibility on the window.
This is an overridden parent class method to set the visibility
at a later time, so that layout can be initialized before the
window is displayed.