Trait libpanel::subclass::prelude::WidgetImpl
source · pub trait WidgetImpl: WidgetImplExt + ObjectImpl {
Show 24 methods
// Provided methods
fn compute_expand(&self, hexpand: &mut bool, vexpand: &mut bool) { ... }
fn contains(&self, x: f64, y: f64) -> bool { ... }
fn direction_changed(&self, previous_direction: TextDirection) { ... }
fn focus(&self, direction_type: DirectionType) -> bool { ... }
fn request_mode(&self) -> SizeRequestMode { ... }
fn grab_focus(&self) -> bool { ... }
fn hide(&self) { ... }
fn keynav_failed(&self, direction_type: DirectionType) -> bool { ... }
fn map(&self) { ... }
fn measure(
&self,
orientation: Orientation,
for_size: i32,
) -> (i32, i32, i32, i32) { ... }
fn mnemonic_activate(&self, group_cycling: bool) -> bool { ... }
fn move_focus(&self, direction_type: DirectionType) { ... }
fn query_tooltip(
&self,
x: i32,
y: i32,
keyboard_tooltip: bool,
tooltip: &Tooltip,
) -> bool { ... }
fn realize(&self) { ... }
fn root(&self) { ... }
fn set_focus_child(&self, child: Option<&Widget>) { ... }
fn show(&self) { ... }
fn size_allocate(&self, width: i32, height: i32, baseline: i32) { ... }
fn snapshot(&self, snapshot: &Snapshot) { ... }
fn state_flags_changed(&self, state_flags: &StateFlags) { ... }
fn system_setting_changed(&self, settings: &SystemSetting) { ... }
fn unmap(&self) { ... }
fn unrealize(&self) { ... }
fn unroot(&self) { ... }
}
Provided Methods§
fn compute_expand(&self, hexpand: &mut bool, vexpand: &mut bool)
fn contains(&self, x: f64, y: f64) -> bool
fn direction_changed(&self, previous_direction: TextDirection)
fn focus(&self, direction_type: DirectionType) -> bool
fn request_mode(&self) -> SizeRequestMode
fn grab_focus(&self) -> bool
fn hide(&self)
fn map(&self)
fn measure( &self, orientation: Orientation, for_size: i32, ) -> (i32, i32, i32, i32)
fn mnemonic_activate(&self, group_cycling: bool) -> bool
fn move_focus(&self, direction_type: DirectionType)
fn query_tooltip( &self, x: i32, y: i32, keyboard_tooltip: bool, tooltip: &Tooltip, ) -> bool
fn realize(&self)
fn root(&self)
fn set_focus_child(&self, child: Option<&Widget>)
fn show(&self)
fn size_allocate(&self, width: i32, height: i32, baseline: i32)
fn snapshot(&self, snapshot: &Snapshot)
fn state_flags_changed(&self, state_flags: &StateFlags)
fn system_setting_changed(&self, settings: &SystemSetting)
fn unmap(&self)
fn unrealize(&self)
fn unroot(&self)
Object Safety§
This trait is not object safe.