DockExt

Trait DockExt 

Source
pub trait DockExt: IsA<Dock> + 'static {
Show 41 methods // Provided methods fn foreach_frame<P: FnMut(&Frame)>(&self, callback: P) { ... } fn can_reveal_area(&self, area: Area) -> bool { ... } fn can_reveal_bottom(&self) -> bool { ... } fn can_reveal_end(&self) -> bool { ... } fn can_reveal_start(&self) -> bool { ... } fn can_reveal_top(&self) -> bool { ... } fn reveals_area(&self, area: Area) -> bool { ... } fn reveals_bottom(&self) -> bool { ... } fn reveals_end(&self) -> bool { ... } fn reveals_start(&self) -> bool { ... } fn reveals_top(&self) -> bool { ... } fn remove(&self, widget: &impl IsA<Widget>) { ... } fn set_bottom_height(&self, height: i32) { ... } fn set_end_width(&self, width: i32) { ... } fn set_reveal_area(&self, area: Area, reveal: bool) { ... } fn set_reveal_bottom(&self, reveal_bottom: 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_adopt_widget<F: Fn(&Self, &Widget) -> bool + 'static>( &self, f: F, ) -> SignalHandlerId { ... } fn connect_create_frame<F: Fn(&Self, &Position) -> Frame + 'static>( &self, f: F, ) -> SignalHandlerId { ... } 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 { ... }
}

Provided Methods§

Source

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

Source

fn can_reveal_area(&self, area: Area) -> bool

Source

fn can_reveal_bottom(&self) -> 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_area(&self, area: Area) -> bool

Source

fn reveals_bottom(&self) -> bool

Source

fn reveals_end(&self) -> bool

Source

fn reveals_start(&self) -> bool

Source

fn reveals_top(&self) -> bool

Source

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

Source

fn set_bottom_height(&self, height: i32)

Source

fn set_end_width(&self, width: i32)

Source

fn set_reveal_area(&self, area: Area, reveal: bool)

Source

fn set_reveal_bottom(&self, reveal_bottom: 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_adopt_widget<F: Fn(&Self, &Widget) -> bool + 'static>( &self, f: F, ) -> SignalHandlerId

Source

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

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

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§

Source§

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