webkit2gtk

Trait FindControllerExt

Source
pub trait FindControllerExt:
    IsA<FindController>
    + Sealed
    + 'static {
Show 16 methods // Provided methods fn count_matches( &self, search_text: &str, find_options: u32, max_match_count: u32, ) { ... } fn max_match_count(&self) -> u32 { ... } fn options(&self) -> u32 { ... } fn search_text(&self) -> Option<GString> { ... } fn web_view(&self) -> Option<WebView> { ... } fn search(&self, search_text: &str, find_options: u32, max_match_count: u32) { ... } fn search_finish(&self) { ... } fn search_next(&self) { ... } fn search_previous(&self) { ... } fn text(&self) -> Option<GString> { ... } fn connect_counted_matches<F: Fn(&Self, u32) + 'static>( &self, f: F, ) -> SignalHandlerId { ... } fn connect_failed_to_find_text<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId { ... } fn connect_found_text<F: Fn(&Self, u32) + 'static>( &self, f: F, ) -> SignalHandlerId { ... } fn connect_max_match_count_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId { ... } fn connect_options_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId { ... } fn connect_text_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId { ... }
}

Provided Methods§

Source

fn count_matches( &self, search_text: &str, find_options: u32, max_match_count: u32, )

Source

fn max_match_count(&self) -> u32

Source

fn options(&self) -> u32

Source

fn search_text(&self) -> Option<GString>

Source

fn web_view(&self) -> Option<WebView>

Source

fn search(&self, search_text: &str, find_options: u32, max_match_count: u32)

Source

fn search_finish(&self)

Source

fn search_next(&self)

Source

fn search_previous(&self)

Source

fn text(&self) -> Option<GString>

Source

fn connect_counted_matches<F: Fn(&Self, u32) + 'static>( &self, f: F, ) -> SignalHandlerId

Source

fn connect_failed_to_find_text<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId

Source

fn connect_found_text<F: Fn(&Self, u32) + 'static>( &self, f: F, ) -> SignalHandlerId

Source

fn connect_max_match_count_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId

Source

fn connect_options_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId

Source

fn connect_text_notify<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§