![]() |
![]() |
![]() |
Epiphany Reference Manual | ![]() |
---|---|---|---|---|
Top | Description | Object Hierarchy | Implemented Interfaces |
EphyWindowEphyWindow — Epiphany's main GtkWindow widget |
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
);
GObject +----GInitiallyUnowned +----GtkObject +----GtkWidget +----GtkContainer +----GtkBin +----GtkWindow +----EphyWindow
EphyWindow implements AtkImplementorIface, GtkBuildable, EphyLink and EphyEmbedContainer.
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 |
EphyWindow * ephy_window_new_with_chrome (EphyWebViewChrome chrome
,gboolean is_popup
);
Identical to ephy_window_new()
, but allows you to specify a chrome.
|
an EphyWebViewChrome |
|
whether the new window is a popup window |
Returns : |
a new EphyWindow |
GObject * ephy_window_get_ui_manager (EphyWindow *window
);
Returns this window's UI manager.
|
an EphyWindow |
Returns : |
an GtkUIManager. transfer none. |
GtkWidget * ephy_window_get_toolbar (EphyWindow *window
);
Returns this window's toolbar as an EggEditableToolbar.
|
an EphyWindow |
Returns : |
an EggEditableToolbar. transfer none. |
GtkWidget * ephy_window_get_notebook (EphyWindow *window
);
Returns the GtkNotebook used by this window.
|
an EphyWindow |
Returns : |
the window 's GtkNotebook. transfer none. |
GtkWidget * ephy_window_get_find_toolbar (EphyWindow *window
);
Returns the EphyFindToolbar used by this window.
|
an EphyWindow |
Returns : |
the window 's EphyFindToolbar. transfer none. |
GtkWidget * ephy_window_get_statusbar (EphyWindow *window
);
Returns this window's statusbar as an EphyStatusbar.
|
an EphyWindow |
Returns : |
This window's statusbar. transfer none. |
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.
|
a EphyWindow |
|
the url to load |
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).
|
an EphyWindow |
|
the desired zoom level |
void ephy_window_activate_location (EphyWindow *window
);
Activates the location entry on window
's toolbar.
|
an EphyWindow |
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.
|
an EphyWindow |
Returns : |
an EphyEmbedEvent, or NULL . transfer none. |