|  |  |  | Epiphany Reference Manual |  | 
|---|
ephy-session —
EphyWindow * ephy_session_get_active_window (EphySession *session);gboolean ephy_session_save (EphySession *session, constchar *filename);gboolean ephy_session_load (EphySession *session, constchar *filename);gboolean ephy_session_autoresume (EphySession *session);void ephy_session_close (EphySession *session);GList * ephy_session_get_windows (EphySession *session);void ephy_session_add_window (EphySession *session,GtkWindow *window);void ephy_session_remove_window (EphySession *session,GtkWindow *window);
EphyWindow * ephy_session_get_active_window (EphySession *session);
Get the current active browser window. Use it when you need to take an action (like opening an url) on a window but you dont have a target window.
| session : | a | 
| Returns : | the current active browser window, or NULL of there is none. | 
gboolean ephy_session_save (EphySession *session, constchar *filename);
| session : | |
| filename : | |
| Returns : | 
gboolean ephy_session_load (EphySession *session, constchar *filename);
| session : | |
| filename : | |
| Returns : | 
gboolean ephy_session_autoresume (EphySession *session);
Resume a crashed session when necessary (interactive)
| session : | a | 
| Returns : | TRUE if handled; windows have actually been opened or the dialog from a previous instance has been re-presented to the user. | 
GList * ephy_session_get_windows (EphySession *session);
| session : | |
| Returns : | 
void ephy_session_add_window (EphySession *session,GtkWindow *window);
Add a tool window to the session. 
| session : | |
| window : | a | 
| << ephy-permission-manager | ephy-shell >> |