DhWindow

DhWindow

Functions

Signals

Types and Values

Object Hierarchy

    GObject
    ╰── GInitiallyUnowned
        ╰── GtkWidget
            ╰── GtkContainer
                ╰── GtkBin
                    ╰── GtkWindow
                        ╰── GtkApplicationWindow
                            ╰── DhWindow

Implemented Interfaces

DhWindow implements AtkImplementorIface, GtkBuildable, GActionGroup and GActionMap.

Description

Functions

dh_window_new ()

GtkWidget *
dh_window_new (DhApp *application);

Create a new DhWindow object.

Parameters

application

the DhApp owning this window

 

Returns

a new DhWindow object


dh_window_search ()

void
dh_window_search (DhWindow *window,
                  const gchar *str);

Search for str in the current window.

Parameters

window

a DhWindow object

 

str

the string to search

 

Types and Values

struct DhWindow

struct DhWindow;

struct DhWindowClass

struct DhWindowClass {
        GtkApplicationWindowClass parent_class;

        /* Signals */
        void (*open_link) (DhWindow        *window,
                           const char      *location,
                           DhOpenLinkFlags  flags);
};

Members

open_link ()

Class handler for the “open-link” signal

 

enum DhOpenLinkFlags

Members

DH_OPEN_LINK_NEW_WINDOW

Open the link in a new window

 

DH_OPEN_LINK_NEW_TAB

Open the link in a new tab

 

Signal Details

The “open-link” signal

void
user_function (DhWindow       *window,
               gchar          *location,
               DhOpenLinkFlags flags,
               gpointer        user_data)

Parameters

window

a DhWindow object

 

location

the location of the link

 

flags

a DhOpenLinkFlags

 

user_data

user data set when the signal handler was connected.

 

Flags: Run Last