![]() |
![]() |
![]() |
Epiphany Reference Manual | ![]() |
---|---|---|---|---|
Top | Description | Object Hierarchy | Implemented Interfaces |
struct EphyWindow; EphyWindow * ephy_window_new (void
); EphyWindow * ephy_window_new_with_chrome (EphyWebViewChrome chrome
,gboolean is_popup
); GtkUIManager * ephy_window_get_ui_manager (EphyWindow *window
); GtkWidget * ephy_window_get_notebook (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 +----GtkWidget +----GtkContainer +----GtkBin +----GtkWindow +----GtkApplicationWindow +----EphyWindow
EphyWindow implements AtkImplementorIface, GtkBuildable, GActionGroup, GActionMap, 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 |
GtkUIManager * ephy_window_get_ui_manager (EphyWindow *window
);
Returns this window's UI manager.
|
an EphyWindow |
Returns : |
an GtkUIManager. [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]
|
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]
|