pub trait ShortcutsWindowExt: 'static {
// Required methods
fn get_property_section_name(&self) -> Option<GString>;
fn set_property_section_name(&self, section_name: Option<&str>);
fn get_property_view_name(&self) -> Option<GString>;
fn set_property_view_name(&self, view_name: Option<&str>);
fn connect_close<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId;
fn emit_close(&self);
fn connect_search<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId;
fn emit_search(&self);
fn connect_property_section_name_notify<F: Fn(&Self) + 'static>(
&self,
f: F,
) -> SignalHandlerId;
fn connect_property_view_name_notify<F: Fn(&Self) + 'static>(
&self,
f: F,
) -> SignalHandlerId;
}
Required Methods§
fn get_property_section_name(&self) -> Option<GString>
fn set_property_section_name(&self, section_name: Option<&str>)
fn get_property_view_name(&self) -> Option<GString>
fn set_property_view_name(&self, view_name: Option<&str>)
fn connect_close<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId
fn emit_close(&self)
fn connect_search<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId
fn emit_search(&self)
fn connect_property_section_name_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId
fn connect_property_view_name_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.