DhBookTree

DhBookTree

Functions

Properties

DhBookManager * book-manager Read / Write / Construct Only

Signals

Types and Values

struct DhBookTree
struct DhBookTreeClass

Object Hierarchy

    GObject
    ╰── GInitiallyUnowned
        ╰── GtkWidget
            ╰── GtkContainer
                ╰── GtkTreeView
                    ╰── DhBookTree

Implemented Interfaces

DhBookTree implements AtkImplementorIface, GtkBuildable and GtkScrollable.

Description

Functions

dh_book_tree_new ()

GtkWidget *
dh_book_tree_new (DhBookManager *book_manager);

Create a new DhBookManager object.

Parameters

book_manager

the parent DhBookManager

 

Returns

a new DhBookManager object


dh_book_tree_select_uri ()

void
dh_book_tree_select_uri (DhBookTree *tree,
                         const gchar *uri);

Select the given uri .

Parameters

tree

a DhBookTree object

 

uri

the uri to select

 

dh_book_tree_get_selected_book ()

DhLink *
dh_book_tree_get_selected_book (DhBookTree *tree);

Get the link pointing to the selected book.

Parameters

tree

a DhBookTree object

 

Returns

the selected book link.

[nullable][transfer full]

Types and Values

struct DhBookTree

struct DhBookTree;

struct DhBookTreeClass

struct DhBookTreeClass {
        GtkTreeViewClass parent_class;
};

Property Details

The “book-manager” property

  “book-manager”             DhBookManager *

The book manager.

Flags: Read / Write / Construct Only

Signal Details

The “link-selected” signal

void
user_function (DhBookTree *tree,
               gpointer    link,
               gpointer    user_data)

Parameters

tree

a DhBookTree object

 

link

the selected DhLink.

[type DhLink]

user_data

user data set when the signal handler was connected.

 

Flags: Run Last