WebKitFindController

WebKitFindController

Functions

Properties

guint max-match-count Read
WebKitFindOptions options Read
gchar * text Read
WebKitWebView * web-view Read / Write / Construct Only

Signals

Types and Values

Object Hierarchy

    GObject
    ╰── WebKitFindController

Description

Functions

webkit_find_controller_search ()

void
webkit_find_controller_search (WebKitFindController *find_controller,
                               const gchar *search_text,
                               guint32 find_options,
                               guint max_match_count);

webkit_find_controller_search_finish ()

void
webkit_find_controller_search_finish (WebKitFindController *find_controller);

webkit_find_controller_search_next ()

void
webkit_find_controller_search_next (WebKitFindController *find_controller);

webkit_find_controller_search_previous ()

void
webkit_find_controller_search_previous
                               (WebKitFindController *find_controller);

webkit_find_controller_get_search_text ()

const gchar *
webkit_find_controller_get_search_text
                               (WebKitFindController *find_controller);

webkit_find_controller_count_matches ()

void
webkit_find_controller_count_matches (WebKitFindController *find_controller,
                                      const gchar *search_text,
                                      guint32 find_options,
                                      guint max_match_count);

webkit_find_controller_get_options ()

guint32
webkit_find_controller_get_options (WebKitFindController *find_controller);

webkit_find_controller_get_max_match_count ()

guint
webkit_find_controller_get_max_match_count
                               (WebKitFindController *find_controller);

webkit_find_controller_get_web_view ()

WebKitWebView *
webkit_find_controller_get_web_view (WebKitFindController *find_controller);

Types and Values

WebKitFindController

typedef struct _WebKitFindController WebKitFindController;

enum WebKitFindOptions

Enum values used to specify search options.

Members

WEBKIT_FIND_OPTIONS_NONE

no search flags, this means a case sensitive, no wrap, forward only search.

 

WEBKIT_FIND_OPTIONS_CASE_INSENSITIVE

case insensitive search.

 

WEBKIT_FIND_OPTIONS_AT_WORD_STARTS

search text only at the begining of the words.

 

WEBKIT_FIND_OPTIONS_TREAT_MEDIAL_CAPITAL_AS_WORD_START

treat capital letters in the middle of words as word start.

 

WEBKIT_FIND_OPTIONS_BACKWARDS

search backwards.

 

WEBKIT_FIND_OPTIONS_WRAP_AROUND

if not present search will stop at the end of the document.

 

Property Details

The “max-match-count” property

  “max-match-count”          guint

The maximum number of matches in a given text to report.

Flags: Read

Default value: 0


The “options” property

  “options”                  WebKitFindOptions

Search options to be used in the search operation.

Flags: Read


The “text” property

  “text”                     gchar *

Text to search for in the view.

Flags: Read

Default value: NULL


The “web-view” property

  “web-view”                 WebKitWebView *

The WebView associated with this find controller.

Flags: Read / Write / Construct Only

Signal Details

The “counted-matches” signal

void
user_function (WebKitFindController *webkitfindcontroller,
               guint                 arg1,
               gpointer              user_data)

Flags: Run Last


The “failed-to-find-text” signal

void
user_function (WebKitFindController *webkitfindcontroller,
               gpointer              user_data)

Flags: Run Last


The “found-text” signal

void
user_function (WebKitFindController *webkitfindcontroller,
               guint                 arg1,
               gpointer              user_data)

Flags: Run Last