NetSurf
Functions | Variables
search.h File Reference

free text page search for gtk interface More...

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

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_tablensgtk_search_table
 

Detailed Description

free text page search for gtk interface

Definition in file search.h.

Function Documentation

◆ nsgtk_search_create()

nserror nsgtk_search_create ( GtkBuilder *  builder,
struct browser_window bw,
struct gtk_search **  search 
)

create text search context

Parameters
builderthe gtk builder containing the search toolbar
bwThe browsing context to run the find operations against
searchsearch context result
Returns
NSERROR_OK and search_out updated

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().

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

◆ nsgtk_search_restyle()

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().

Here is the caller graph for this function:

◆ nsgtk_search_toggle_visibility()

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().

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

Variable Documentation

◆ nsgtk_search_table

struct gui_search_table* nsgtk_search_table
extern

Definition at line 221 of file search.c.

Referenced by main().