RB.DisplayPageTree

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 Gtk.Buildable->Gtk.Widget Gtk.Container Gtk.Container Gtk.Grid Gtk.Grid Gtk.Container->Gtk.Grid RB.DisplayPageTree RB.DisplayPageTree Gtk.Grid->RB.DisplayPageTree Gtk.Orientable->Gtk.Grid Gtk.Widget->Gtk.Container

Subclasses:None

Properties

Inherited:Gtk.Grid (5), Gtk.Container (3), Gtk.Widget (39), Gtk.Orientable (1)
Name Type Flags Short Description
model Gtk.TreeModel r Gtk.TreeModel object
shell RB.Shell r/w/co RB.Shell object

Child Properties

Inherited:Gtk.Grid (4)

Style Properties

Inherited:Gtk.Widget (17)

Signals

Inherited:Gtk.Container (4), Gtk.Widget (69), GObject.Object (1)
Name Short Description
drop-received Emitted when a drag and drop to the tree completes.
selected Emitted when a page is selected from the tree

Fields

Inherited:Gtk.Container (4), Gtk.Widget (69), GObject.Object (1)
Name Type Access Description
parent Gtk.Grid r  

Class Details

class RB.DisplayPageTree(**kwargs)
Bases:Gtk.Grid
Abstract:No
Structure:RB.DisplayPageTreeClass
classmethod new(shell)
Parameters:shell (RB.Shell) – the RB.Shell instance
Returns:the display page tree widget.
Return type:RB.DisplayPageTree

Creates the display page tree widget.

edit_source_name(source)
Parameters:source (RB.Source) – the RB.Source to edit

Initiates editing of the name of the specified source. The row for the source is selected and given input focus, allowing the user to edit the name. source_name_edited_cb is called when the user finishes editing.

select(page)
Parameters:page (RB.DisplayPage) – the RB.DisplayPage to select

Selects the specified page in the tree. This will result in the ‘selected’ signal being emitted.

toggle_expanded(page)
Parameters:page (RB.DisplayPage) – the RB.DisplayPage to toggle

If page is expanded (children visible), collapses it, otherwise expands it.

do_drop_received(page, data) virtual
Parameters:
do_selected(page) virtual
Parameters:page (RB.DisplayPage) –

Signal Details

RB.DisplayPageTree.signals.drop_received(display_page_tree, page, data)
Signal Name:

drop-received

Flags:

RUN_LAST

Parameters:

Emitted when a drag and drop to the tree completes.

RB.DisplayPageTree.signals.selected(display_page_tree, page)
Signal Name:

selected

Flags:

RUN_LAST

Parameters:

Emitted when a page is selected from the tree

Property Details

RB.DisplayPageTree.props.model
Name:model
Type:Gtk.TreeModel
Default Value:None
Flags:READABLE

The Gtk.TreeModel for the display page tree

RB.DisplayPageTree.props.shell
Name:shell
Type:RB.Shell
Default Value:None
Flags:READABLE, WRITABLE, CONSTRUCT_ONLY

The RB.Shell instance