Trait FileChooserButtonExt

Source
pub trait FileChooserButtonExt: 'static {
    // Required methods
    fn get_title(&self) -> Option<GString>;
    fn get_width_chars(&self) -> i32;
    fn set_title(&self, title: &str);
    fn set_width_chars(&self, n_chars: i32);
    fn connect_file_set<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId;
    fn connect_property_title_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F,
    ) -> SignalHandlerId;
    fn connect_property_width_chars_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F,
    ) -> SignalHandlerId;
}

Required Methods§

Source

fn get_title(&self) -> Option<GString>

Source

fn get_width_chars(&self) -> i32

Source

fn set_title(&self, title: &str)

Source

fn set_width_chars(&self, n_chars: i32)

Source

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

Source

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

Source

fn connect_property_width_chars_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.

Implementors§