pub trait PanedExt: 'static {
Show 36 methods
// Required methods
fn add1<P: IsA<Widget>>(&self, child: &P);
fn add2<P: IsA<Widget>>(&self, child: &P);
fn get_child1(&self) -> Option<Widget>;
fn get_child2(&self) -> Option<Widget>;
fn get_handle_window(&self) -> Option<Window>;
fn get_position(&self) -> i32;
fn get_wide_handle(&self) -> bool;
fn pack1<P: IsA<Widget>>(&self, child: &P, resize: bool, shrink: bool);
fn pack2<P: IsA<Widget>>(&self, child: &P, resize: bool, shrink: bool);
fn set_position(&self, position: i32);
fn set_wide_handle(&self, wide: bool);
fn get_property_max_position(&self) -> i32;
fn get_property_min_position(&self) -> i32;
fn get_property_position_set(&self) -> bool;
fn set_property_position_set(&self, position_set: bool);
fn get_child_resize<T: IsA<Widget>>(&self, item: &T) -> bool;
fn set_child_resize<T: IsA<Widget>>(&self, item: &T, resize: bool);
fn get_child_shrink<T: IsA<Widget>>(&self, item: &T) -> bool;
fn set_child_shrink<T: IsA<Widget>>(&self, item: &T, shrink: bool);
fn connect_accept_position<F: Fn(&Self) -> bool + 'static>(
&self,
f: F,
) -> SignalHandlerId;
fn emit_accept_position(&self) -> bool;
fn connect_cancel_position<F: Fn(&Self) -> bool + 'static>(
&self,
f: F,
) -> SignalHandlerId;
fn emit_cancel_position(&self) -> bool;
fn connect_cycle_child_focus<F: Fn(&Self, bool) -> bool + 'static>(
&self,
f: F,
) -> SignalHandlerId;
fn emit_cycle_child_focus(&self, reversed: bool) -> bool;
fn connect_cycle_handle_focus<F: Fn(&Self, bool) -> bool + 'static>(
&self,
f: F,
) -> SignalHandlerId;
fn emit_cycle_handle_focus(&self, reversed: bool) -> bool;
fn connect_move_handle<F: Fn(&Self, ScrollType) -> bool + 'static>(
&self,
f: F,
) -> SignalHandlerId;
fn emit_move_handle(&self, scroll_type: ScrollType) -> bool;
fn connect_toggle_handle_focus<F: Fn(&Self) -> bool + 'static>(
&self,
f: F,
) -> SignalHandlerId;
fn emit_toggle_handle_focus(&self) -> bool;
fn connect_property_max_position_notify<F: Fn(&Self) + 'static>(
&self,
f: F,
) -> SignalHandlerId;
fn connect_property_min_position_notify<F: Fn(&Self) + 'static>(
&self,
f: F,
) -> SignalHandlerId;
fn connect_property_position_notify<F: Fn(&Self) + 'static>(
&self,
f: F,
) -> SignalHandlerId;
fn connect_property_position_set_notify<F: Fn(&Self) + 'static>(
&self,
f: F,
) -> SignalHandlerId;
fn connect_property_wide_handle_notify<F: Fn(&Self) + 'static>(
&self,
f: F,
) -> SignalHandlerId;
}
Required Methods§
fn add1<P: IsA<Widget>>(&self, child: &P)
fn add2<P: IsA<Widget>>(&self, child: &P)
fn get_child1(&self) -> Option<Widget>
fn get_child2(&self) -> Option<Widget>
fn get_handle_window(&self) -> Option<Window>
fn get_position(&self) -> i32
fn get_wide_handle(&self) -> bool
fn pack1<P: IsA<Widget>>(&self, child: &P, resize: bool, shrink: bool)
fn pack2<P: IsA<Widget>>(&self, child: &P, resize: bool, shrink: bool)
fn set_position(&self, position: i32)
fn set_wide_handle(&self, wide: bool)
fn get_property_max_position(&self) -> i32
fn get_property_min_position(&self) -> i32
fn get_property_position_set(&self) -> bool
fn set_property_position_set(&self, position_set: bool)
fn get_child_resize<T: IsA<Widget>>(&self, item: &T) -> bool
fn set_child_resize<T: IsA<Widget>>(&self, item: &T, resize: bool)
fn get_child_shrink<T: IsA<Widget>>(&self, item: &T) -> bool
fn set_child_shrink<T: IsA<Widget>>(&self, item: &T, shrink: bool)
fn connect_accept_position<F: Fn(&Self) -> bool + 'static>( &self, f: F, ) -> SignalHandlerId
fn emit_accept_position(&self) -> bool
fn connect_cancel_position<F: Fn(&Self) -> bool + 'static>( &self, f: F, ) -> SignalHandlerId
fn emit_cancel_position(&self) -> bool
fn connect_cycle_child_focus<F: Fn(&Self, bool) -> bool + 'static>( &self, f: F, ) -> SignalHandlerId
fn emit_cycle_child_focus(&self, reversed: bool) -> bool
fn connect_cycle_handle_focus<F: Fn(&Self, bool) -> bool + 'static>( &self, f: F, ) -> SignalHandlerId
fn emit_cycle_handle_focus(&self, reversed: bool) -> bool
fn connect_move_handle<F: Fn(&Self, ScrollType) -> bool + 'static>( &self, f: F, ) -> SignalHandlerId
fn emit_move_handle(&self, scroll_type: ScrollType) -> bool
fn connect_toggle_handle_focus<F: Fn(&Self) -> bool + 'static>( &self, f: F, ) -> SignalHandlerId
fn emit_toggle_handle_focus(&self) -> bool
fn connect_property_max_position_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId
fn connect_property_min_position_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId
fn connect_property_position_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId
fn connect_property_position_set_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId
fn connect_property_wide_handle_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.