Trait libpanel::prelude::DocumentWorkspaceExt
source · pub trait DocumentWorkspaceExt: IsA<DocumentWorkspace> + Sealed + 'static {
// Provided methods
fn add_widget(
&self,
widget: &impl IsA<Widget>,
position: Option<&Position>,
) -> bool { ... }
fn dock(&self) -> Dock { ... }
fn grid(&self) -> Grid { ... }
fn statusbar(&self) -> Option<Statusbar> { ... }
fn titlebar(&self) -> Option<Widget> { ... }
fn set_titlebar(&self, titlebar: &impl IsA<Widget>) { ... }
fn connect_add_widget<F: Fn(&Self, &Widget, &Position) -> bool + 'static>(
&self,
f: F,
) -> SignalHandlerId { ... }
fn connect_create_frame<F: Fn(&Self, &Position) -> Frame + 'static>(
&self,
f: F,
) -> SignalHandlerId { ... }
fn connect_dock_notify<F: Fn(&Self) + 'static>(
&self,
f: F,
) -> SignalHandlerId { ... }
fn connect_grid_notify<F: Fn(&Self) + 'static>(
&self,
f: F,
) -> SignalHandlerId { ... }
fn connect_statusbar_notify<F: Fn(&Self) + 'static>(
&self,
f: F,
) -> SignalHandlerId { ... }
}
Expand description
Provided Methods§
fn set_titlebar(&self, titlebar: &impl IsA<Widget>)
sourcefn connect_add_widget<F: Fn(&Self, &Widget, &Position) -> bool + 'static>(
&self,
f: F,
) -> SignalHandlerId
fn connect_add_widget<F: Fn(&Self, &Widget, &Position) -> bool + 'static>( &self, f: F, ) -> SignalHandlerId
sourcefn connect_create_frame<F: Fn(&Self, &Position) -> Frame + 'static>(
&self,
f: F,
) -> SignalHandlerId
fn connect_create_frame<F: Fn(&Self, &Position) -> Frame + 'static>( &self, f: F, ) -> SignalHandlerId
fn connect_dock_notify<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId
fn connect_grid_notify<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId
fn connect_statusbar_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId
Object Safety§
This trait is not object safe.