PanelWidgetExt

Trait PanelWidgetExt 

Source
pub trait PanelWidgetExt: IsA<Widget> + 'static {
Show 55 methods // Provided methods fn action_set_enabled(&self, action_name: &str, enabled: bool) { ... } fn close(&self) { ... } fn focus_default(&self) -> bool { ... } fn force_close(&self) { ... } fn is_busy(&self) -> bool { ... } fn can_maximize(&self) -> bool { ... } fn child(&self) -> Option<Widget> { ... } fn default_focus(&self) -> Option<Widget> { ... } fn icon(&self) -> Option<Icon> { ... } fn icon_name(&self) -> Option<GString> { ... } fn id(&self) -> GString { ... } fn kind(&self) -> GString { ... } fn menu_model(&self) -> Option<MenuModel> { ... } fn is_modified(&self) -> bool { ... } fn needs_attention(&self) -> bool { ... } fn position(&self) -> Option<Position> { ... } fn is_reorderable(&self) -> bool { ... } fn save_delegate(&self) -> Option<SaveDelegate> { ... } fn title(&self) -> Option<GString> { ... } fn tooltip(&self) -> Option<GString> { ... } fn insert_action_group(&self, prefix: &str, group: &impl IsA<ActionGroup>) { ... } fn mark_busy(&self) { ... } fn maximize(&self) { ... } fn raise(&self) { ... } fn set_can_maximize(&self, can_maximize: bool) { ... } fn set_child(&self, child: Option<&impl IsA<Widget>>) { ... } fn set_icon(&self, icon: Option<&impl IsA<Icon>>) { ... } fn set_icon_name(&self, icon_name: Option<&str>) { ... } fn set_id(&self, id: &str) { ... } fn set_kind(&self, kind: Option<&str>) { ... } fn set_menu_model(&self, menu_model: Option<&impl IsA<MenuModel>>) { ... } fn set_modified(&self, modified: bool) { ... } fn set_needs_attention(&self, needs_attention: bool) { ... } fn set_reorderable(&self, reorderable: bool) { ... } fn set_save_delegate(&self, save_delegate: Option<&impl IsA<SaveDelegate>>) { ... } fn set_title(&self, title: Option<&str>) { ... } fn set_tooltip(&self, tooltip: Option<&str>) { ... } fn unmark_busy(&self) { ... } fn unmaximize(&self) { ... } fn connect_get_default_focus<F: Fn(&Self) -> Option<Widget> + 'static>( &self, f: F, ) -> SignalHandlerId { ... } fn connect_presented<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId { ... } fn connect_busy_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId { ... } fn connect_can_maximize_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId { ... } fn connect_child_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId { ... } fn connect_icon_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId { ... } fn connect_icon_name_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId { ... } fn connect_id_notify<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId { ... } fn connect_kind_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId { ... } fn connect_menu_model_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId { ... } fn connect_modified_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId { ... } fn connect_needs_attention_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId { ... } fn connect_reorderable_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId { ... } fn connect_save_delegate_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId { ... } fn connect_title_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId { ... } fn connect_tooltip_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId { ... }
}

Provided Methods§

Source

fn action_set_enabled(&self, action_name: &str, enabled: bool)

Source

fn close(&self)

Source

fn focus_default(&self) -> bool

Source

fn force_close(&self)

Source

fn is_busy(&self) -> bool

Source

fn can_maximize(&self) -> bool

Source

fn child(&self) -> Option<Widget>

Source

fn default_focus(&self) -> Option<Widget>

Source

fn icon(&self) -> Option<Icon>

Source

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

Source

fn id(&self) -> GString

Source

fn kind(&self) -> GString

Source

fn menu_model(&self) -> Option<MenuModel>

Source

fn is_modified(&self) -> bool

Source

fn needs_attention(&self) -> bool

Source

fn position(&self) -> Option<Position>

Source

fn is_reorderable(&self) -> bool

Source

fn save_delegate(&self) -> Option<SaveDelegate>

Source

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

Source

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

Source

fn insert_action_group(&self, prefix: &str, group: &impl IsA<ActionGroup>)

Source

fn mark_busy(&self)

Source

fn maximize(&self)

Source

fn raise(&self)

Source

fn set_can_maximize(&self, can_maximize: bool)

Source

fn set_child(&self, child: Option<&impl IsA<Widget>>)

Source

fn set_icon(&self, icon: Option<&impl IsA<Icon>>)

Source

fn set_icon_name(&self, icon_name: Option<&str>)

Source

fn set_id(&self, id: &str)

Source

fn set_kind(&self, kind: Option<&str>)

Source

fn set_menu_model(&self, menu_model: Option<&impl IsA<MenuModel>>)

Source

fn set_modified(&self, modified: bool)

Source

fn set_needs_attention(&self, needs_attention: bool)

Source

fn set_reorderable(&self, reorderable: bool)

Source

fn set_save_delegate(&self, save_delegate: Option<&impl IsA<SaveDelegate>>)

Source

fn set_title(&self, title: Option<&str>)

Source

fn set_tooltip(&self, tooltip: Option<&str>)

Source

fn unmark_busy(&self)

Source

fn unmaximize(&self)

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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