PanelFrameExt

Trait PanelFrameExt 

Source
pub trait PanelFrameExt: IsA<Frame> + 'static {
Show 24 methods // Provided methods fn add(&self, panel: &impl IsA<Widget>) { ... } fn add_before(&self, panel: &impl IsA<Widget>, sibling: &impl IsA<Widget>) { ... } fn is_closeable(&self) -> bool { ... } fn is_empty(&self) -> bool { ... } fn header(&self) -> Option<FrameHeader> { ... } fn n_pages(&self) -> u32 { ... } fn page(&self, n: u32) -> Option<Widget> { ... } fn pages(&self) -> SelectionModel { ... } fn placeholder(&self) -> Option<Widget> { ... } fn position(&self) -> Position { ... } fn requested_size(&self) -> i32 { ... } fn visible_child(&self) -> Option<Widget> { ... } fn remove(&self, panel: &impl IsA<Widget>) { ... } fn set_child_pinned(&self, child: &impl IsA<Widget>, pinned: bool) { ... } fn set_header(&self, header: Option<&impl IsA<FrameHeader>>) { ... } fn set_placeholder(&self, placeholder: Option<&impl IsA<Widget>>) { ... } fn set_requested_size(&self, requested_size: i32) { ... } fn set_visible_child(&self, widget: &impl IsA<Widget>) { ... } fn connect_adopt_widget<F: Fn(&Self, &Widget) -> bool + 'static>( &self, f: F, ) -> SignalHandlerId { ... } fn connect_page_closed<F: Fn(&Self, &Widget) + 'static>( &self, f: F, ) -> SignalHandlerId { ... } fn connect_closeable_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId { ... } fn connect_empty_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId { ... } fn connect_placeholder_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId { ... } fn connect_visible_child_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId { ... }
}

Provided Methods§

Source

fn add(&self, panel: &impl IsA<Widget>)

Source

fn add_before(&self, panel: &impl IsA<Widget>, sibling: &impl IsA<Widget>)

Source

fn is_closeable(&self) -> bool

Source

fn is_empty(&self) -> bool

Source

fn header(&self) -> Option<FrameHeader>

Source

fn n_pages(&self) -> u32

Source

fn page(&self, n: u32) -> Option<Widget>

Source

fn pages(&self) -> SelectionModel

Source

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

Source

fn position(&self) -> Position

Source

fn requested_size(&self) -> i32

Source

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

Source

fn remove(&self, panel: &impl IsA<Widget>)

Source

fn set_child_pinned(&self, child: &impl IsA<Widget>, pinned: bool)

Source

fn set_header(&self, header: Option<&impl IsA<FrameHeader>>)

Source

fn set_placeholder(&self, placeholder: Option<&impl IsA<Widget>>)

Source

fn set_requested_size(&self, requested_size: i32)

Source

fn set_visible_child(&self, widget: &impl IsA<Widget>)

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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