Gladeui.Inspector

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.Inspector Gladeui.Inspector Gtk.Box Gtk.Box Gtk.Box->Gladeui.Inspector Gtk.Buildable->Gtk.Widget Gtk.Container Gtk.Container Gtk.Container->Gtk.Box Gtk.Orientable->Gtk.Box Gtk.Widget->Gtk.Container

Subclasses:None

Properties

Inherited:Gtk.Box (3), Gtk.Container (3), Gtk.Widget (39), Gtk.Orientable (1)
Name Type Flags Short Description
project Gladeui.Project r/w The project being inspected

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
item-activated Emitted when a item is activated in the Gladeui.Inspector.
selection-changed Emitted when the selection changes 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.Inspector(*args, **kwargs)
Bases:Gtk.Box
Abstract:No
Structure:Gladeui.InspectorClass

The Gladeui.Inspector struct contains private data only, and should be manipulated using the functions below.

classmethod new()
Returns:a new Gladeui.Inspector
Return type:Gtk.Widget

Creates a new Gladeui.Inspector

classmethod new_with_project(project)
Parameters:project (Gladeui.Project) – a Gladeui.Project
Returns:a new Gladeui.Inspector
Return type:Gtk.Widget

Creates a new Gladeui.Inspector with project

get_project()
Returns:A Gladeui.Project
Return type:Gladeui.Project

Note that the method does not ref the returned Gladeui.Project.

get_selected_items()
Returns:A GLib.List of Gladeui.Widget
Return type:[Gladeui.Widget]

Returns the selected items in the inspector.

set_project(project)
Parameters:project (Gladeui.Project) – a Gladeui.Project

Sets the current project of self to project. To unset the current project, pass None for project.

do_item_activated() virtual
do_selection_changed() virtual

Signal Details

Gladeui.Inspector.signals.item_activated(inspector)
Signal Name:item-activated
Flags:RUN_LAST
Parameters:inspector (Gladeui.Inspector) – The object which received the signal

Emitted when a item is activated in the Gladeui.Inspector.

Gladeui.Inspector.signals.selection_changed(inspector)
Signal Name:selection-changed
Flags:RUN_LAST
Parameters:inspector (Gladeui.Inspector) – The object which received the signal

Emitted when the selection changes in the Gladeui.Inspector.

Property Details

Gladeui.Inspector.props.project
Name:project
Type:Gladeui.Project
Default Value:None
Flags:READABLE, WRITABLE

The project being inspected