NetSurf
Functions
local_history.h File Reference

Interface to GTK local history manager. More...

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

nserror nsgtk_local_history_present (GtkWindow *parent, struct browser_window *bw)
 make the local history window visible. More...
 
void nsgtk_local_history_set_position (int x, int y)
 set the local history window position. More...
 
nserror nsgtk_local_history_hide (void)
 hide the local history window from being visible. More...
 
nserror nsgtk_local_history_destroy (void)
 Destroys the local history window and performs any other necessary cleanup actions. More...
 

Detailed Description

Interface to GTK local history manager.

Definition in file local_history.h.

Function Documentation

◆ nsgtk_local_history_destroy()

nserror nsgtk_local_history_destroy ( void  )

Destroys the local history window and performs any other necessary cleanup actions.

Definition at line 277 of file local_history.c.

References nsgtk_local_history_window::builder, nsgtk_local_history_window::core, local_history_fini(), local_history_window, NSERROR_OK, nsgtk_corewindow_fini(), nsgtk_local_history_window::session, and nsgtk_local_history_window::wnd.

Referenced by nsgtk_finalise().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ nsgtk_local_history_hide()

nserror nsgtk_local_history_hide ( void  )

hide the local history window from being visible.

Returns
NSERROR_OK on success else appropriate error code on faliure.

Definition at line 262 of file local_history.c.

References local_history_set(), local_history_window, NSERROR_OK, nsgtk_local_history_window::session, and nsgtk_local_history_window::wnd.

Referenced by back_button_clicked_cb(), forward_button_clicked_cb(), nsgtk_toolbar_throbber(), nsgtk_window_button_press_event(), scaffolding_update_context(), and scaffolding_window_destroy().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ nsgtk_local_history_present()

nserror nsgtk_local_history_present ( GtkWindow *  parent,
struct browser_window bw 
)

make the local history window visible.

Returns
NSERROR_OK on success else appropriate error code on faliure.

Definition at line 218 of file local_history.c.

References height, local_history_get_size(), local_history_scroll_to_cursor(), local_history_window, NSERROR_OK, nsgtk_current_scaffolding(), nsgtk_local_history_init(), nsgtk_scaffolding_position_local_history(), parent, nsgtk_local_history_window::session, width, and nsgtk_local_history_window::wnd.

Referenced by localhistory_button_clicked_cb().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ nsgtk_local_history_set_position()

void nsgtk_local_history_set_position ( int  x,
int  y 
)

set the local history window position.

Definition at line 299 of file local_history.c.

References local_history_window, NSLOG, and nsgtk_local_history_window::wnd.

Referenced by nsgtk_toolbar_position_local_history().

Here is the caller graph for this function: