Trait libpanel::prelude::DockExt

source ·
pub trait DockExt: 'static {
Show 39 methods // Required methods fn foreach_frame<P: FnMut(&Frame)>(&self, callback: P); fn can_reveal_bottom(&self) -> bool; fn can_reveal_edge(&self, edge: DockPosition) -> bool; fn can_reveal_end(&self) -> bool; fn can_reveal_start(&self) -> bool; fn can_reveal_top(&self) -> bool; fn reveals_bottom(&self) -> bool; fn reveals_edge(&self, edge: DockPosition) -> bool; fn reveals_end(&self) -> bool; fn reveals_start(&self) -> bool; fn reveals_top(&self) -> bool; fn remove(&self, child: &impl IsA<Widget>); fn set_bottom_height(&self, height: i32); fn set_end_width(&self, width: i32); fn set_reveal_bottom(&self, reveal_bottom: bool); fn set_reveal_edge(&self, position: DockPosition, reveal: bool); fn set_reveal_end(&self, reveal_end: bool); fn set_reveal_start(&self, reveal_start: bool); fn set_reveal_top(&self, reveal_top: bool); fn set_start_width(&self, width: i32); fn set_top_height(&self, height: i32); fn bottom_height(&self) -> i32; fn end_width(&self) -> i32; fn start_width(&self) -> i32; fn top_height(&self) -> i32; fn connect_panel_drag_begin<F: Fn(&Self, &Widget) + 'static>( &self, f: F ) -> SignalHandlerId; fn connect_panel_drag_end<F: Fn(&Self, &Widget) + 'static>( &self, f: F ) -> SignalHandlerId; fn connect_bottom_height_notify<F: Fn(&Self) + 'static>( &self, f: F ) -> SignalHandlerId; fn connect_can_reveal_bottom_notify<F: Fn(&Self) + 'static>( &self, f: F ) -> SignalHandlerId; fn connect_can_reveal_end_notify<F: Fn(&Self) + 'static>( &self, f: F ) -> SignalHandlerId; fn connect_can_reveal_start_notify<F: Fn(&Self) + 'static>( &self, f: F ) -> SignalHandlerId; fn connect_can_reveal_top_notify<F: Fn(&Self) + 'static>( &self, f: F ) -> SignalHandlerId; fn connect_end_width_notify<F: Fn(&Self) + 'static>( &self, f: F ) -> SignalHandlerId; fn connect_reveal_bottom_notify<F: Fn(&Self) + 'static>( &self, f: F ) -> SignalHandlerId; fn connect_reveal_end_notify<F: Fn(&Self) + 'static>( &self, f: F ) -> SignalHandlerId; fn connect_reveal_start_notify<F: Fn(&Self) + 'static>( &self, f: F ) -> SignalHandlerId; fn connect_reveal_top_notify<F: Fn(&Self) + 'static>( &self, f: F ) -> SignalHandlerId; fn connect_start_width_notify<F: Fn(&Self) + 'static>( &self, f: F ) -> SignalHandlerId; fn connect_top_height_notify<F: Fn(&Self) + 'static>( &self, f: F ) -> SignalHandlerId;
}

Required Methods§

source

fn foreach_frame<P: FnMut(&Frame)>(&self, callback: P)

source

fn can_reveal_bottom(&self) -> bool

source

fn can_reveal_edge(&self, edge: DockPosition) -> bool

source

fn can_reveal_end(&self) -> bool

source

fn can_reveal_start(&self) -> bool

source

fn can_reveal_top(&self) -> bool

source

fn reveals_bottom(&self) -> bool

source

fn reveals_edge(&self, edge: DockPosition) -> bool

source

fn reveals_end(&self) -> bool

source

fn reveals_start(&self) -> bool

source

fn reveals_top(&self) -> bool

source

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

source

fn set_bottom_height(&self, height: i32)

source

fn set_end_width(&self, width: i32)

source

fn set_reveal_bottom(&self, reveal_bottom: bool)

source

fn set_reveal_edge(&self, position: DockPosition, reveal: bool)

source

fn set_reveal_end(&self, reveal_end: bool)

source

fn set_reveal_start(&self, reveal_start: bool)

source

fn set_reveal_top(&self, reveal_top: bool)

source

fn set_start_width(&self, width: i32)

source

fn set_top_height(&self, height: i32)

source

fn bottom_height(&self) -> i32

source

fn end_width(&self) -> i32

source

fn start_width(&self) -> i32

source

fn top_height(&self) -> i32

source

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

source

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

source

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

source

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

source

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

source

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

source

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

source

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

source

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

source

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

source

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

source

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

source

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

source

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

Implementors§

source§

impl<O: IsA<Dock>> DockExt for O