Trait SearchBarExt

Source
pub trait SearchBarExt: 'static {
    // Required methods
    fn connect_entry<P: IsA<Entry>>(&self, entry: &P);
    fn get_search_mode(&self) -> bool;
    fn get_show_close_button(&self) -> bool;
    fn handle_event(&self, event: &Event) -> bool;
    fn set_search_mode(&self, search_mode: bool);
    fn set_show_close_button(&self, visible: bool);
    fn get_property_search_mode_enabled(&self) -> bool;
    fn set_property_search_mode_enabled(&self, search_mode_enabled: bool);
    fn connect_property_search_mode_enabled_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F,
    ) -> SignalHandlerId;
    fn connect_property_show_close_button_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F,
    ) -> SignalHandlerId;
}

Required Methods§

Source

fn connect_entry<P: IsA<Entry>>(&self, entry: &P)

Source

fn get_search_mode(&self) -> bool

Source

fn get_show_close_button(&self) -> bool

Source

fn handle_event(&self, event: &Event) -> bool

Source

fn set_search_mode(&self, search_mode: bool)

Source

fn set_show_close_button(&self, visible: bool)

Source

fn get_property_search_mode_enabled(&self) -> bool

Source

fn set_property_search_mode_enabled(&self, search_mode_enabled: bool)

Source

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

Source

fn connect_property_show_close_button_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§