NetSurf
|
free text page search for gtk interface More...
Go to the source code of this file.
Functions | |
nserror | nsgtk_search_create (GtkBuilder *builder, struct browser_window *bw, struct gtk_search **search) |
create text search context More... | |
nserror | nsgtk_search_restyle (struct gtk_search *search) |
update search toolbar size and style More... | |
nserror | nsgtk_search_toggle_visibility (struct gtk_search *search) |
toggle search bar visibility More... | |
Variables | |
struct gui_search_table * | nsgtk_search_table |
free text page search for gtk interface
Definition in file search.h.
nserror nsgtk_search_create | ( | GtkBuilder * | builder, |
struct browser_window * | bw, | ||
struct gtk_search ** | search | ||
) |
create text search context
builder | the gtk builder containing the search toolbar |
bw | The browsing context to run the find operations against |
search | search context result |
Definition at line 284 of file search.c.
References gtk_search::back, gtk_search::bar, gtk_search::bw, gtk_search::caseSens, gtk_search::checkAll, gtk_search::close, gtk_search::entry, gtk_search::forward, NSERROR_NOMEM, NSERROR_OK, nsgtk_search_back_button_clicked(), nsgtk_search_close_button_clicked(), nsgtk_search_entry_activate(), nsgtk_search_entry_changed(), nsgtk_search_entry_key(), nsgtk_search_forward_button_clicked(), and nsgtk_search_restyle().
Referenced by gui_window_create().
nserror nsgtk_search_restyle | ( | struct gtk_search * | search | ) |
update search toolbar size and style
Definition at line 245 of file search.c.
References gtk_search::bar, NSERROR_OK, and nsoption_int.
Referenced by nsgtk_search_create(), and nsgtk_window_update_all().
nserror nsgtk_search_toggle_visibility | ( | struct gtk_search * | search | ) |
toggle search bar visibility
Definition at line 225 of file search.c.
References gtk_search::bar, browser_window_search_clear(), gtk_search::bw, gtk_search::entry, NSERROR_OK, and nsgtk_search_entry_changed().
Referenced by gui_window_create(), nsgtk_search_close_button_clicked(), nsgtk_search_entry_key(), and nsgtk_window_search_toggle().
|
extern |