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 | new() | 
| enable_dnd(enabled) | |
| get_widget() | |
| load_widget(widget) | 
Virtual Methods¶
| Inherited: | Gtk.Container (10), Gtk.Widget (82), GObject.Object (7), Gtk.Buildable (10) | 
|---|
Properties¶
| Inherited: | Gtk.Box (3), Gtk.Container (3), Gtk.Widget (39), Gtk.Orientable (1) | 
|---|
| Name | Type | Flags | Short Description | 
|---|---|---|---|
| glade-widget | Gtk.TreeModel | r/w | The glade widget to edit signals | 
Child Properties¶
| Inherited: | Gtk.Box (5) | 
|---|
Style Properties¶
| Inherited: | Gtk.Widget (17) | 
|---|
Signals¶
| Inherited: | Gtk.Container (4), Gtk.Widget (69), GObject.Object (1) | 
|---|
| Name | Short Description | 
|---|---|
| callback-suggestions | Emitted when the editor needs to show a list of callbacks suggestions to the user. | 
| detail-suggestions | Emitted when the editor needs to show a list of detail suggestions to the user. | 
| signal-activated | Emitted when a item is activated in the Gladeui.Inspector. | 
Fields¶
| Inherited: | Gtk.Container (4), Gtk.Widget (69), GObject.Object (1) | 
|---|
| Name | Type | Access | Description | 
|---|---|---|---|
| parent_instance | Gtk.Box | r | 
Class Details¶
- 
class Gladeui.SignalEditor(*args, **kwargs)¶
- Bases: - Gtk.Box- Abstract: - No - Structure: - Gladeui.SignalEditorClass- 
classmethod new()¶
- Returns: - a new - Gladeui.SignalEditor- Return type: - Gladeui.SignalEditor
 - 
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: - a - Gladeui.Widget- Return type: - Gladeui.Widget
 - 
load_widget(widget)¶
- Parameters: - widget ( - Gladeui.Widget) – a- Gladeui.Widgetor- None- 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. 
 
- 
classmethod 
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 signal
- signal (Gladeui.Signal) – theGladeui.Signalthat 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. 
- signal_editor (
- 
Gladeui.SignalEditor.signals.detail_suggestions(signal_editor, signal)¶
- Signal Name: - detail-suggestions- Flags: - Parameters: - signal_editor (Gladeui.SignalEditor) – The object which received the signal
- signal (Gladeui.Signal) – theGladeui.Signalthat 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. 
- signal_editor (
- 
Gladeui.SignalEditor.signals.signal_activated(signal_editor, signal)¶
- Signal Name: - signal-activated- Flags: - Parameters: - signal_editor (Gladeui.SignalEditor) – The object which received the signal
- signal (Gladeui.Signal) – theGladeui.Signalthat is activated
 - Emitted when a item is activated in the - Gladeui.Inspector.
- signal_editor (