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§
fn connect_entry<P: IsA<Entry>>(&self, entry: &P)
fn get_search_mode(&self) -> bool
fn handle_event(&self, event: &Event) -> bool
fn set_search_mode(&self, search_mode: 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
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.