DhApp: Devhelp Reference Manual

## DhApp DhApp |

## Functions

DhApp * | dh_app_new ()
DhBookManager * | dh_app_peek_book_manager ()
GtkWindow * | dh_app_peek_first_window ()
GtkWindow * | dh_app_peek_assistant ()
void | dh_app_new_window ()
void | dh_app_quit ()
void | dh_app_search ()
void | dh_app_search_assistant ()
void | dh_app_raise ()

## Types and Values

struct | DhApp
struct | DhAppClass

## Object Hierarchy

        GObject
        ╰── GApplication
            ╰── GtkApplication
                ╰── DhApp

## Implemented Interfaces

DhApp implements GActionGroup and GActionMap.

## Description

## Functions

### dh_app_new ()

    DhApp *
    dh_app_new (void);

Create a new DhApp object.

#### Returns

a new DhApp object

### dh_app_peek_book_manager ()

    DhBookManager *
    dh_app_peek_book_manager (DhApp *app);

Get the associated DhBookManager.

#### Parameters

app | a DhApp object |

#### Returns

the book manager associated with this.

[transfer none]

### dh_app_peek_first_window ()

    GtkWindow *
    dh_app_peek_first_window (DhApp *app);

Get the first DhWindow.

#### Parameters

app | a DhApp object |

#### Returns

the first window.

[transfer none]

### dh_app_peek_assistant ()

    GtkWindow *
    dh_app_peek_assistant (DhApp *app);

Get the associated DhAssistant.

#### Parameters

app | a DhApp object |

#### Returns

the assistant.

[transfer none]

### dh_app_new_window ()

    void
    dh_app_new_window (DhApp *app);

Create a new DhWindow.

#### Parameters

app | a DhApp object |

### dh_app_quit ()

    void
    dh_app_quit (DhApp *app);

Quit the application.

#### Parameters

app | a DhApp object |

### dh_app_search ()

    void
    dh_app_search (DhApp *app,
                   const gchar *keyword);

Search for `keyword` in the entire application.

#### Parameters

app | a DhApp object |
keyword | the search request |

### dh_app_search_assistant ()

    void
    dh_app_search_assistant (DhApp *app,
                             const gchar *keyword);

Search for `keyword` in the entire application with a DhAssistant.

#### Parameters

app | a DhApp object |
keyword | the search request |

### dh_app_raise ()

    void
    dh_app_raise (DhApp *app);

Present the main window of the application.

#### Parameters

app | a DhApp object |

## Types and Values

### struct DhApp

    struct DhApp;

### struct DhAppClass

    struct DhAppClass {
            GtkApplicationClass parent_class;
    };