EphyWindow 3 EPIPHANY Library
EphyWindow Epiphany's main GtkWindow widget

## Synopsis

                        EphyWindow;
    EphyWindow *        ephy_window_new                     (void);
    EphyWindow *        ephy_window_new_with_chrome         (EphyWebViewChrome chrome,
                                                             gboolean is_popup);
    GObject *           ephy_window_get_ui_manager          (EphyWindow *window);
    GtkWidget *         ephy_window_get_toolbar             (EphyWindow *window);
    GtkWidget *         ephy_window_get_notebook            (EphyWindow *window);
    GtkWidget *         ephy_window_get_find_toolbar        (EphyWindow *window);
    GtkWidget *         ephy_window_get_statusbar           (EphyWindow *window);
    void                ephy_window_load_url                (EphyWindow *window,
                                                             const char *url);
    void                ephy_window_set_zoom                (EphyWindow *window,
                                                             float zoom);
    void                ephy_window_activate_location       (EphyWindow *window);
    EphyEmbedEvent *    ephy_window_get_context_event       (EphyWindow *window);

## Object Hierarchy

      GObject
       +----GInitiallyUnowned
             +----GtkObject
                   +----GtkWidget
                         +----GtkContainer
                               +----GtkBin
                                     +----GtkWindow
                                           +----EphyWindow

## Implemented Interfaces

EphyWindow implements AtkImplementorIface, GtkBuildable, EphyLink and EphyEmbedContainer.

## Description

EphyWindow is Epiphany's main widget.

## Details

### EphyWindow

    typedef struct _EphyWindow EphyWindow;

EphyWindow

### ephy_window_new ()

    EphyWindow *        ephy_window_new                     (void);

Equivalent to `g_object_new()` but returns an EphyWindow so you don't have to cast it.

Returns :

  a new EphyWindow

ephy_window_new

### ephy_window_new_with_chrome ()

    EphyWindow *        ephy_window_new_with_chrome         (EphyWebViewChrome chrome,
                                                             gboolean is_popup);

Identical to `ephy_window_new()`, but allows you to specify a chrome.

chrome :

  an EphyWebViewChrome

is_popup :

  whether the new window is a popup window

Returns :

  a new EphyWindow

ephy_window_new_with_chrome

### ephy_window_get_ui_manager ()

    GObject *           ephy_window_get_ui_manager          (EphyWindow *window);

Returns this window's UI manager.

window :

  an EphyWindow

Returns :

  an GtkUIManager. [transfer none]

ephy_window_get_ui_manager

### ephy_window_get_toolbar ()

    GtkWidget *         ephy_window_get_toolbar             (EphyWindow *window);

Returns this window's toolbar as an EggEditableToolbar.

window :

  an EphyWindow

Returns :

  an EggEditableToolbar. [transfer none]

ephy_window_get_toolbar

### ephy_window_get_notebook ()

    GtkWidget *         ephy_window_get_notebook            (EphyWindow *window);

Returns the GtkNotebook used by this window.

window :

  an EphyWindow

Returns :

  the window's GtkNotebook. [transfer none]

ephy_window_get_notebook

### ephy_window_get_find_toolbar ()

    GtkWidget *         ephy_window_get_find_toolbar        (EphyWindow *window);

Returns the EphyFindToolbar used by this window.

window :

  an EphyWindow

Returns :

  the window's EphyFindToolbar. [transfer none]

ephy_window_get_find_toolbar

### ephy_window_get_statusbar ()

    GtkWidget *         ephy_window_get_statusbar           (EphyWindow *window);

Returns this window's statusbar as an EphyStatusbar.

window :

  an EphyWindow

Returns :

  This window's statusbar. [transfer none]

ephy_window_get_statusbar

### ephy_window_load_url ()

    void                ephy_window_load_url                (EphyWindow *window,
                                                             const char *url);

Loads a new url in the active tab of window. Unlike `ephy_web_view_load_url()`, this function activates the embed.

window :

  a EphyWindow

url :

  the url to load

ephy_window_load_url

### ephy_window_set_zoom ()

    void                ephy_window_set_zoom                (EphyWindow *window,
                                                             float zoom);

Sets the zoom on window's active EphyEmbed. A zoom of 1.0 corresponds to 100% zoom (normal size).

window :

  an EphyWindow

zoom :

  the desired zoom level

ephy_window_set_zoom

### ephy_window_activate_location ()

    void                ephy_window_activate_location       (EphyWindow *window);

Activates the location entry on window's toolbar.

window :

  an EphyWindow

ephy_window_activate_location

### ephy_window_get_context_event ()

    EphyEmbedEvent *    ephy_window_get_context_event       (EphyWindow *window);

Returns the EphyEmbedEvent for the current context menu. Use this to get the event from the action callback.

window :

  an EphyWindow

Returns :

  an EphyEmbedEvent, or `NULL`. [transfer none]

ephy_window_get_context_event