pub trait RecentChooserMenuExt: 'static {
    fn shows_numbers(&self) -> bool;
    fn set_show_numbers(&self, show_numbers: bool);
    fn connect_show_numbers_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId; }
Expand description

Trait containing all RecentChooserMenu methods.

Implementors

RecentChooserMenu

Required Methods

Returns the value set by set_show_numbers().

Returns

true if numbers should be shown.

Sets whether a number should be added to the items of self. The numbers are shown to provide a unique character for a mnemonic to be used inside ten menu item’s label. Only the first the items get a number to avoid clashes.

show_numbers

whether to show numbers

Implementors