NetSurf
Data Fields
gui_search_table Struct Reference

function table for page text search. More...

#include <search.h>

Data Fields

void(* status )(bool found, void *p)
 Change the displayed search status. More...
 
void(* hourglass )(bool active, void *p)
 display hourglass while searching. More...
 
void(* add_recent )(const char *string, void *p)
 add search string to recent searches list front has full liberty how to implement the bare notification; core gives no guarantee of the integrity of the string More...
 
void(* forward_state )(bool active, void *p)
 activate search forwards button in gui More...
 
void(* back_state )(bool active, void *p)
 activate search back button in gui More...
 

Detailed Description

function table for page text search.

Definition at line 31 of file search.h.

Field Documentation

◆ add_recent

void(* gui_search_table::add_recent) (const char *string, void *p)

add search string to recent searches list front has full liberty how to implement the bare notification; core gives no guarantee of the integrity of the string

Parameters
stringsearch pattern
pgui private data pointer provided with search callbacks

Definition at line 56 of file search.h.

Referenced by browser_window_callback(), and verify_search_register().

◆ back_state

void(* gui_search_table::back_state) (bool active, void *p)

activate search back button in gui

Parameters
activeactivate/inactivate
pgui private data pointer provided with search callbacks

Definition at line 72 of file search.h.

Referenced by browser_window_callback(), and verify_search_register().

◆ forward_state

void(* gui_search_table::forward_state) (bool active, void *p)

activate search forwards button in gui

Parameters
activeactivate/inactivate
pgui private data pointer provided with search callbacks

Definition at line 64 of file search.h.

Referenced by browser_window_callback(), and verify_search_register().

◆ hourglass

void(* gui_search_table::hourglass) (bool active, void *p)

display hourglass while searching.

Parameters
activestart/stop indicator
pgui private data pointer provided with search callbacks

Definition at line 46 of file search.h.

Referenced by browser_window_callback(), and verify_search_register().

◆ status

void(* gui_search_table::status) (bool found, void *p)

Change the displayed search status.

Parameters
foundsearch pattern matched in text
pgui private data pointer provided with search callbacks

Definition at line 38 of file search.h.

Referenced by browser_window_callback(), and verify_search_register().


The documentation for this struct was generated from the following file: