Trait ApplicationWindowExt

Source
pub trait ApplicationWindowExt: 'static {
    // Required methods
    fn get_help_overlay(&self) -> Option<ShortcutsWindow>;
    fn get_id(&self) -> u32;
    fn get_show_menubar(&self) -> bool;
    fn set_help_overlay<P: IsA<ShortcutsWindow>>(
        &self,
        help_overlay: Option<&P>,
    );
    fn set_show_menubar(&self, show_menubar: bool);
    fn connect_property_show_menubar_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F,
    ) -> SignalHandlerId;
}

Required Methods§

Source

fn get_help_overlay(&self) -> Option<ShortcutsWindow>

Source

fn get_id(&self) -> u32

Source

fn get_show_menubar(&self) -> bool

Source

fn set_help_overlay<P: IsA<ShortcutsWindow>>(&self, help_overlay: Option<&P>)

Source

fn set_show_menubar(&self, show_menubar: bool)

Source

fn connect_property_show_menubar_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§