[][src]Trait gtk::RecentChooserMenuExt

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

Trait containing all RecentChooserMenu methods.

Implementors

RecentChooserMenu

Required methods

fn get_show_numbers(&self) -> bool

Returns the value set by RecentChooserMenuExt::set_show_numbers.

Returns

true if numbers should be shown.

fn set_show_numbers(&self, show_numbers: bool)

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

fn connect_property_show_numbers_notify<F: Fn(&Self) + 'static>(
    &self,
    f: F
) -> SignalHandlerId

Loading content...

Implementors

impl<O: IsA<RecentChooserMenu>> RecentChooserMenuExt for O[src]

Loading content...