DhAssistantView: Devhelp Reference Manual

## DhAssistantView DhAssistantView |

## Functions

GtkWidget * | dh_assistant_view_new ()
gboolean | dh_assistant_view_search ()
void | dh_assistant_view_set_book_manager ()
gboolean | dh_assistant_view_set_link ()

## Signals

void | open-uri |

## Types and Values

struct | DhAssistantView
struct | DhAssistantViewClass

## Object Hierarchy

        GObject
        ╰── GInitiallyUnowned
            ╰── GtkWidget
                ╰── GtkContainer
                    ╰── WebKitWebViewBase
                        ╰── WebKitWebView
                            ╰── DhAssistantView

## Implemented Interfaces

DhAssistantView implements AtkImplementorIface and GtkBuildable.

## Description

## Functions

### dh_assistant_view_new ()

    GtkWidget *
    dh_assistant_view_new (void);

Create a new DhAssistantView object.

#### Returns

a new DhAssistantView object

### dh_assistant_view_search ()

    gboolean
    dh_assistant_view_search (DhAssistantView *view,
                              const gchar *str);

Search for `str` in the current assistant view.

#### Parameters

view | a DhAssistantView object |
str | the search query |

#### Returns

`TRUE` if `str` was found, `FALSE` otherwise

### dh_assistant_view_set_book_manager ()

    void
    dh_assistant_view_set_book_manager (DhAssistantView *view,
                                        DhBookManager *book_manager);

Set a new book manager to search in.

#### Parameters

view | a DhAssistantView object |
book_manager | the new book manager |

### dh_assistant_view_set_link ()

    gboolean
    dh_assistant_view_set_link (DhAssistantView *view,
                                DhLink *link);

Open `link` in the assistant view, if `NULL` the view will be blanked.

#### Parameters

view | a DhAssistantView object |
link | a DhLink to set or `NULL`. | [nullable]

#### Returns

`TRUE` if the requested link is open, `FALSE` otherwise

## Types and Values

### struct DhAssistantView

    struct DhAssistantView;

### struct DhAssistantViewClass

    struct DhAssistantViewClass {
            WebKitWebViewClass parent_class;
    };

## Signal Details

### The `“open-uri”` signal

    void
    user_function (DhAssistantView *view,
                   gchar           *uri,
                   gpointer         user_data)

#### Parameters

view | the view on which the signal is emitted |
uri | the uri to open |
user_data | user data set when the signal handler was connected. |