Gladeui.Editor

g Atk.ImplementorIface Atk.ImplementorIface Gtk.Widget Gtk.Widget Atk.ImplementorIface->Gtk.Widget GObject.GInterface GObject.GInterface GObject.GInterface->Atk.ImplementorIface Gtk.Buildable Gtk.Buildable GObject.GInterface->Gtk.Buildable Gtk.Orientable Gtk.Orientable GObject.GInterface->Gtk.Orientable GObject.InitiallyUnowned GObject.InitiallyUnowned GObject.InitiallyUnowned->Gtk.Widget GObject.Object GObject.Object GObject.Object->GObject.InitiallyUnowned Gladeui.Editor Gladeui.Editor Gtk.Box Gtk.Box Gtk.Box->Gladeui.Editor Gtk.Buildable->Gtk.Widget Gtk.Container Gtk.Container Gtk.Container->Gtk.Box Gtk.Orientable->Gtk.Box Gtk.Widget->Gtk.Container

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

dialog_for_widget (widget)

class

new ()

class

query_dialog (widget)

class

reset_dialog_run (parent, gwidget)

hide_class_field ()

hide_info ()

load_widget (widget)

show_class_field ()

show_info ()

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

class-field

str

r

The class field string

show-boder

bool

r/w

Whether the border should be shown

show-class-field

bool

r/w

Whether to show the class field at the top

show-info

bool

d/r

Whether to show an informational button for the loaded widget deprecated

signal-editor

Gladeui.SignalEditor

r

The signal editor used to edit signals

widget

Gladeui.Widget

r/w

The currently loaded widget in this editor

Child Properties

Inherited:

Gtk.Box (5)

Style Properties

Inherited:

Gtk.Widget (17)

Signals

Inherited:

Gtk.Container (4), Gtk.Widget (69), GObject.Object (1)

Fields

Inherited:

Gtk.Container (4), Gtk.Widget (69), GObject.Object (1)

Name

Type

Access

Description

parent_instance

Gtk.Box

r

Class Details

class Gladeui.Editor(*args, **kwargs)
Bases:

Gtk.Box

Abstract:

No

Structure:

Gladeui.EditorClass

classmethod dialog_for_widget(widget)
Parameters:

widget (Gladeui.Widget) – a Gladeui.Widget

Returns:

the newly created dialog window

Return type:

Gtk.Widget

This convenience function creates a new dialog window to edit widget specifically.

classmethod new()
Returns:

a new Gladeui.Editor

Return type:

Gladeui.Editor

classmethod query_dialog(widget)
Parameters:

widget (Gladeui.Widget) –

Return type:

bool

classmethod reset_dialog_run(parent, gwidget)
Parameters:
hide_class_field()
hide_info()
load_widget(widget)
Parameters:

widget (Gladeui.Widget) – a Gladeui.Widget

Load widget into self. If widget is None, clear the editor.

show_class_field()
show_info()

Property Details

Gladeui.Editor.props.class_field
Name:

class-field

Type:

str

Default Value:

None

Flags:

READABLE

The class field string

Gladeui.Editor.props.show_boder
Name:

show-boder

Type:

bool

Default Value:

True

Flags:

READABLE, WRITABLE

Whether the border should be shown

Gladeui.Editor.props.show_class_field
Name:

show-class-field

Type:

bool

Default Value:

True

Flags:

READABLE, WRITABLE

Whether to show the class field at the top

Gladeui.Editor.props.show_info
Name:

show-info

Type:

bool

Default Value:

False

Flags:

DEPRECATED, READABLE

Whether to show an informational button for the loaded widget

Deprecated since version ???.

Gladeui.Editor.props.signal_editor
Name:

signal-editor

Type:

Gladeui.SignalEditor

Default Value:

None

Flags:

READABLE

The signal editor used to edit signals

Gladeui.Editor.props.widget
Name:

widget

Type:

Gladeui.Widget

Default Value:

None

Flags:

READABLE, WRITABLE

The currently loaded widget in this editor