Gladeui.SignalEditor¶
- Subclasses:
None
Methods¶
- Inherited:
Gtk.Box (14), Gtk.Container (35), Gtk.Widget (278), GObject.Object (37), Gtk.Buildable (10), Gtk.Orientable (2)
- Structs:
Gtk.ContainerClass (5), Gtk.WidgetClass (12), GObject.ObjectClass (5)
class |
|
|
|
|
|
|
Virtual Methods¶
Properties¶
- Inherited:
Gtk.Box (3), Gtk.Container (3), Gtk.Widget (39), Gtk.Orientable (1)
Name |
Type |
Flags |
Short Description |
---|---|---|---|
r/w |
The glade widget to edit signals |
Child Properties¶
- Inherited:
Style Properties¶
- Inherited:
Signals¶
- Inherited:
Name |
Short Description |
---|---|
Emitted when the editor needs to show a list of callbacks suggestions to the user. |
|
Emitted when the editor needs to show a list of detail suggestions to the user. |
|
Emitted when a item is activated in the |
Fields¶
- Inherited:
Name |
Type |
Access |
Description |
---|---|---|---|
parent_instance |
r |
Class Details¶
- class Gladeui.SignalEditor(*args, **kwargs)¶
- Bases:
- Abstract:
No
- Structure:
- classmethod new()¶
- Returns:
a new
Gladeui.SignalEditor
- Return type:
- enable_dnd(enabled)¶
- Parameters:
enabled (
bool
) – whether the drag and drop support should be enabled
If drag and drop support is enabled, the user will be able to drag signal handler from the tree to some editor. The type of the dnd data will be “application/x-glade-signal” and it will be in the form of “widget:signal:py:data::handler<Gladeui.SignalEditor.props.handler>" so for example “
Gtk.ToggleButton
:toggled
:on_toggle_button_toggled”.
- get_widget()¶
- Returns:
- Return type:
- load_widget(widget)¶
- Parameters:
widget (
Gladeui.Widget
) – aGladeui.Widget
orNone
Load a widget in the signal editor. This will show all signals of the widget an it’s accessors in the signal editor where the user can edit them.
Signal Details¶
- Gladeui.SignalEditor.signals.callback_suggestions(signal_editor, signal)¶
- Signal Name:
callback-suggestions
- Flags:
- Parameters:
signal_editor (
Gladeui.SignalEditor
) – The object which received the signalsignal (
Gladeui.Signal
) – theGladeui.Signal
that needs callbacks suggestions
- Returns:
an array of string suggestions
- Return type:
[
str
]
Emitted when the editor needs to show a list of callbacks suggestions to the user.
- Gladeui.SignalEditor.signals.detail_suggestions(signal_editor, signal)¶
- Signal Name:
detail-suggestions
- Flags:
- Parameters:
signal_editor (
Gladeui.SignalEditor
) – The object which received the signalsignal (
Gladeui.Signal
) – theGladeui.Signal
that needs callbacks suggestions
- Returns:
an array of string suggestions
- Return type:
[
str
]
Emitted when the editor needs to show a list of detail suggestions to the user.
- Gladeui.SignalEditor.signals.signal_activated(signal_editor, signal)¶
- Signal Name:
signal-activated
- Flags:
- Parameters:
signal_editor (
Gladeui.SignalEditor
) – The object which received the signalsignal (
Gladeui.Signal
) – theGladeui.Signal
that is activated
Emitted when a item is activated in the
Gladeui.Inspector
.
Property Details¶
- Gladeui.SignalEditor.props.glade_widget¶
- Name:
glade-widget
- Type:
- Default Value:
- Flags:
The glade widget to edit signals