pub trait FrameExt: 'static {
Show 18 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 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_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;
}