Devhelp.BookTree¶
- Subclasses:
None
Methods¶
- Inherited:
Gtk.TreeView (98), Gtk.Container (35), Gtk.Widget (278), GObject.Object (37), Gtk.Buildable (10), Gtk.Scrollable (9)
- Structs:
Gtk.ContainerClass (5), Gtk.WidgetClass (12), GObject.ObjectClass (5)
class |
|
|
|
|
Virtual Methods¶
Properties¶
- Inherited:
Gtk.TreeView (18), Gtk.Container (3), Gtk.Widget (39), Gtk.Scrollable (4)
Name |
Type |
Flags |
Short Description |
---|---|---|---|
r/w/co |
Style Properties¶
- Inherited:
Signals¶
- Inherited:
Gtk.TreeView (15), Gtk.Container (4), Gtk.Widget (69), GObject.Object (1)
Name |
Short Description |
---|---|
Fields¶
- Inherited:
Gtk.TreeView (15), Gtk.Container (4), Gtk.Widget (69), GObject.Object (1)
Name |
Type |
Access |
Description |
---|---|---|---|
parent_instance |
r |
Class Details¶
- class Devhelp.BookTree(*args, **kwargs)¶
- Bases:
- Abstract:
No
- Structure:
- classmethod new(profile)¶
- Parameters:
profile (
Devhelp.Profile
orNone
) – aDevhelp.Profile
, orNone
for the default profile.- Returns:
a new
Devhelp.BookTree
widget.- Return type:
- get_profile()¶
- Returns:
the
Devhelp.Profile
of self.- Return type:
New in version 3.30.
- get_selected_link()¶
- Returns:
the currently selected
Devhelp.Link
in self, orNone
if the selection is empty or if a language group row is selected. Unref withDevhelp.Link.unref
() when no longer needed.- Return type:
Devhelp.Link
orNone
New in version 3.30.
- select_uri(uri)¶
- Parameters:
uri (
str
) – the URI to select.
Selects the row corresponding to uri. It searches in the tree a
Devhelp.Link
being at uri (if it’s an exact match), or containing uri (if uri contains an anchor).
Signal Details¶
- Devhelp.BookTree.signals.link_selected(book_tree, link)¶
- Signal Name:
link-selected
- Flags:
- Parameters:
book_tree (
Devhelp.BookTree
) – The object which received the signallink (
Devhelp.Link
) – the selectedDevhelp.Link
.
Property Details¶
- Devhelp.BookTree.props.profile¶
- Name:
profile
- Type:
- Default Value:
- Flags:
The
Devhelp.Profile
. If set toNone
, the default profile as returned byDevhelp.Profile.get_default
() is used.New in version 3.30.