Backends
Qt
digraph inheritance774c8dd20a {
rankdir=LR;
width=8.0;
ratio=compress;
fontsize=14;
size="8.0, 12.0";
"QtActionGroup" [style="setlinewidth(0.5)",URL="#enaml.qt.qt_action_group.QtActionGroup",fontname=Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans,height=0.25,shape=box,fontsize=10];
"QtObject" -> "QtActionGroup" [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];
}
-
class enaml.qt.qt_action_group.QtActionGroup(object_id, parent, session)[source]
Bases: enaml.qt.qt_object.QtObject
A Qt implementation of an Enaml ActionGroup.
-
create_widget(parent, tree)[source]
Create the underlying action group widget.
-
create(tree)[source]
Create and initialize the underlying control.
-
init_layout()[source]
Initialize the layout for the underlying control.
-
child_removed(child)[source]
Handle the child removed event for a QtActionGroup.
-
child_added(child)[source]
Handle the child added event for a QtActionGroup.
-
actions()[source]
Get the QAction children for this action group.
Returns: | result (list) – The list of QAction instances which are children of this action group. Unlike the list returned by the actions method of the QActionGroup, the children in this list will have the correct order. |
-
on_action_set_exclusive(content)[source]
Handle the ‘set_exclusive’ action from the Enaml widget.
-
on_action_set_enabled(content)[source]
Handle the ‘set_enabled’ action from the Enaml widget.
-
on_action_set_visible(content)[source]
Handle the ‘set_visible’ action from the Enaml widget.
-
set_exclusive(exclusive)[source]
Set the exclusive state of the underlying control.
-
set_enabled(enabled)[source]
Set the enabled state of the underlying control.
-
set_visible(visible)[source]
Set the visible state of the underlying control.
Wx
digraph inheritancea9757b4379 {
rankdir=LR;
width=8.0;
ratio=compress;
fontsize=14;
size="8.0, 12.0";
"WxActionGroup" [style="setlinewidth(0.5)",URL="#enaml.wx.wx_action_group.WxActionGroup",fontname=Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans,height=0.25,shape=box,fontsize=10];
"WxObject" -> "WxActionGroup" [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_action_group.WxActionGroup(object_id, parent, session)[source]
Bases: enaml.wx.wx_object.WxObject
A Wx implementation of an Enaml ActionGroup.
-
create_widget(parent, tree)[source]
Create the underlying action group widget.
-
create(tree)[source]
Create and initialize the underlying control.
-
init_layout()[source]
Initialize the layout for the underlying control.
-
child_removed(child)[source]
Handle the child removed event for a WxActionGroup.
-
child_added(child)[source]
Handle the child added event for a WxActionGroup.
-
actions()[source]
Get the WxAction children for this action group.
Returns: | result (list) – The list of wxAction instances which are children of this action group. Unlike the list returned by the GetActions method of the wxActionGroup, the children in this list will have the correct order. |
-
on_action_set_exclusive(content)[source]
Handle the ‘set_exclusive’ action from the Enaml widget.
-
on_action_set_enabled(content)[source]
Handle the ‘set_enabled’ action from the Enaml widget.
-
on_action_set_visible(content)[source]
Handle the ‘set_visible’ action from the Enaml widget.
-
set_exclusive(exclusive)[source]
Set the exclusive state of the underlying control.
-
set_enabled(enabled)[source]
Set the enabled state of the underlying control.
-
set_visible(visible)[source]
Set the visible state of the underlying control.