pub trait FrameExt: 'static {
Show 21 methods // Required 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_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_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;
}

Required 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_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_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

Implementors§

source§

impl<O: IsA<Frame>> FrameExt for O