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; }
Expand description

Trait containing all ShortcutsWindow methods.

Implementors

ShortcutsWindow

Required methods

The name of the section to show.

This should be the section-name of one of the ShortcutsSection objects that are in this shortcuts window.

The name of the section to show.

This should be the section-name of one of the ShortcutsSection objects that are in this shortcuts window.

The view name by which to filter the contents.

This should correspond to the property::ShortcutsGroup::view property of some of the ShortcutsGroup objects that are inside this shortcuts window.

Set this to None to show all groups.

The view name by which to filter the contents.

This should correspond to the property::ShortcutsGroup::view property of some of the ShortcutsGroup objects that are inside this shortcuts window.

Set this to None to show all groups.

The ::close signal is a [keybinding signal][GtkBindingSignal] which gets emitted when the user uses a keybinding to close the window.

The default binding for this signal is the Escape key.

The ::search signal is a [keybinding signal][GtkBindingSignal] which gets emitted when the user uses a keybinding to start a search.

The default binding for this signal is Control-F.

Implementors