Trait gtk::prelude::ShortcutsWindowExt [−][src]
pub trait ShortcutsWindowExt: 'static {
fn section_name(&self) -> Option<GString>;
fn set_section_name(&self, section_name: Option<&str>);
fn view_name(&self) -> Option<GString>;
fn set_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_section_name_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId;
fn connect_view_name_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId;
}
Required methods
fn section_name(&self) -> Option<GString>
fn set_section_name(&self, section_name: Option<&str>)
fn set_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_section_name_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
fn connect_view_name_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
Implementors
impl<O: IsA<ShortcutsWindow>> ShortcutsWindowExt for O
This is supported on crate feature
v3_20
only.