Qt
digraph inheritanceb5746a392f {
rankdir=LR;
width=8.0;
ratio=compress;
fontsize=14;
size="8.0, 12.0";
"QtObject" [shape=box,style="setlinewidth(0.5)",fontsize=10,fontname=Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans,height=0.25];
"QtAction" [style="setlinewidth(0.5)",URL="#enaml.qt.qt_action.QtAction",fontname=Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans,height=0.25,shape=box,fontsize=10];
"QtObject" -> "QtAction" [arrowsize=0.5,style="setlinewidth(0.5)"];
}
-
class enaml.qt.qt_action.QtAction(object_id, parent, session)[source]
Bases: enaml.qt.qt_object.QtObject
A Qt implementation of an Enaml Action.
-
create_widget(parent, tree)[source]
Create the underlying QAction object.
-
create(tree)[source]
Create and initialize the underlying control.
-
activate()[source]
Activate the action.
-
on_triggered()[source]
The signal handler for the ‘triggered’ signal.
-
on_toggled()[source]
The signal handler for the ‘toggled’ signal.
-
on_action_set_text(content)[source]
Handle the ‘set_text’ action from the Enaml widget.
-
on_action_set_tool_tip(content)[source]
Handle the ‘set_tool_tip’ action from the Enaml widget.
-
on_action_set_status_tip(content)[source]
Handle the ‘set_status_tip’ 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_checkable(content)[source]
Handle the ‘set_checkable’ action from the Enaml widget.
-
on_action_set_checked(content)[source]
Handle the ‘set_checked’ 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.
-
on_action_set_separator(content)[source]
Handle the ‘set_separator’ action from the Enaml widget.
-
set_text(text)[source]
Set the text on the underlying control.
-
set_tool_tip(tool_tip)[source]
Set the tool tip on the underlying control.
-
set_status_tip(status_tip)[source]
Set the status tip on the underyling control.
-
set_icon_source(icon_source)[source]
Set the icon source for the action.
-
set_checkable(checkable)[source]
Set the checkable state on the underlying control.
-
set_checked(checked)[source]
Set the checked state on the underlying control.
-
set_enabled(enabled)[source]
Set the enabled state on the underlying control.
-
set_visible(visible)[source]
Set the visible state on the underlying control.
-
set_separator(separator)[source]
Set the separator state on the underlying control.
Wx
digraph inheritancefa5c5615f3 {
rankdir=LR;
width=8.0;
ratio=compress;
fontsize=14;
size="8.0, 12.0";
"WxObject" [shape=box,style="setlinewidth(0.5)",fontsize=10,fontname=Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans,height=0.25];
"WxAction" [style="setlinewidth(0.5)",URL="#enaml.wx.wx_action.WxAction",fontname=Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans,height=0.25,shape=box,fontsize=10];
"WxObject" -> "WxAction" [arrowsize=0.5,style="setlinewidth(0.5)"];
}
-
class enaml.wx.wx_action.WxAction(object_id, parent, session)[source]
Bases: enaml.wx.wx_object.WxObject
A Wx implementation of an Enaml Action.
-
create_widget(parent, tree)[source]
Create the underlying wxAction object.
-
create(tree)[source]
Create and initialize the underlying control.
-
on_triggered(event)[source]
The event handler for the EVT_ACTION_TRIGGERED event.
-
on_toggled(event)[source]
The event handler for the EVT_ACTION_TOGGLED event.
-
on_action_set_text(content)[source]
Handle the ‘set_text’ action from the Enaml widget.
-
on_action_set_tool_tip(content)[source]
Handle the ‘set_tool_tip’ action from the Enaml widget.
-
on_action_set_status_tip(content)[source]
Handle the ‘set_status_tip’ action from the Enaml widget.
-
on_action_set_checkable(content)[source]
Handle the ‘set_checkable’ action from the Enaml widget.
-
on_action_set_checked(content)[source]
Handle the ‘set_checked’ 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.
-
on_action_set_separator(content)[source]
Handle the ‘set_separator’ action from the Enaml widget.
-
set_text(text)[source]
Set the text on the underlying control.
-
set_tool_tip(tool_tip)[source]
Set the tool tip on the underlying control.
-
set_status_tip(status_tip)[source]
Set the status tip on the underyling control.
-
set_checkable(checkable)[source]
Set the checkable state on the underlying control.
-
set_checked(checked)[source]
Set the checked state on the underlying control.
-
set_enabled(enabled)[source]
Set the enabled state on the underlying control.
-
set_visible(visible)[source]
Set the visible state on the underlying control.
-
set_separator(separator)[source]
Set the separator state on the underlying control.