Class
WebKit2FindController
Description [src]
class WebKit2.FindController : GObject.Object
{
priv: WebKitFindControllerPrivate*
}
Controls text search in a WebKitWebView
.
A WebKitFindController
is used to search text in a WebKitWebView
. You
can get a WebKitWebView
‘s WebKitFindController
with
webkit_web_view_get_find_controller(), and later use it to search
for text using webkit_find_controller_search(), or get the
number of matches using webkit_find_controller_count_matches(). The
operations are asynchronous and trigger signals when ready, such as
WebKitFindController::found-text
,
WebKitFindController::failed-to-find-text
or
WebKitFindController::counted-matches
.
Signals
WebKit2.FindController::counted-matches
This signal is emitted when the WebKitFindController
has
counted the number of matches for a given text after a call
to webkit_find_controller_count_matches().
WebKit2.FindController::failed-to-find-text
This signal is emitted when a search operation does not find
any result for the given text. It will be issued if the text
is not found asynchronously after a call to
webkit_find_controller_search(), webkit_find_controller_search_next()
or webkit_find_controller_search_previous().
WebKit2.FindController::found-text
This signal is emitted when a given text is found in the web
page text. It will be issued if the text is found
asynchronously after a call to webkit_find_controller_search(),
webkit_find_controller_search_next()
or webkit_find_controller_search_previous().