pub trait WidgetImplExt: WidgetImpl {
Show 24 methods
// Provided methods
fn parent_compute_expand(&self, hexpand: &mut bool, vexpand: &mut bool) { ... }
fn parent_contains(&self, x: f64, y: f64) -> bool { ... }
fn parent_direction_changed(&self, previous_direction: TextDirection) { ... }
fn parent_focus(&self, direction_type: DirectionType) -> bool { ... }
fn parent_request_mode(&self) -> SizeRequestMode { ... }
fn parent_grab_focus(&self) -> bool { ... }
fn parent_hide(&self) { ... }
fn parent_keynav_failed(&self, direction_type: DirectionType) -> bool { ... }
fn parent_map(&self) { ... }
fn parent_measure(
&self,
orientation: Orientation,
for_size: i32,
) -> (i32, i32, i32, i32) { ... }
fn parent_mnemonic_activate(&self, group_cycling: bool) -> bool { ... }
fn parent_move_focus(&self, direction_type: DirectionType) { ... }
fn parent_query_tooltip(
&self,
x: i32,
y: i32,
keyboard_tooltip: bool,
tooltip: &Tooltip,
) -> bool { ... }
fn parent_realize(&self) { ... }
fn parent_root(&self) { ... }
fn parent_set_focus_child(&self, child: Option<&Widget>) { ... }
fn parent_show(&self) { ... }
fn parent_size_allocate(&self, width: i32, height: i32, baseline: i32) { ... }
fn parent_snapshot(&self, snapshot: &Snapshot) { ... }
fn parent_state_flags_changed(&self, state_flags: &StateFlags) { ... }
fn parent_system_setting_changed(&self, settings: &SystemSetting) { ... }
fn parent_unmap(&self) { ... }
fn parent_unrealize(&self) { ... }
fn parent_unroot(&self) { ... }
}
Provided Methods§
fn parent_compute_expand(&self, hexpand: &mut bool, vexpand: &mut bool)
fn parent_contains(&self, x: f64, y: f64) -> bool
fn parent_direction_changed(&self, previous_direction: TextDirection)
fn parent_focus(&self, direction_type: DirectionType) -> bool
fn parent_request_mode(&self) -> SizeRequestMode
fn parent_grab_focus(&self) -> bool
fn parent_hide(&self)
👎Deprecated: Since 4.10
fn parent_map(&self)
fn parent_measure( &self, orientation: Orientation, for_size: i32, ) -> (i32, i32, i32, i32)
fn parent_mnemonic_activate(&self, group_cycling: bool) -> bool
fn parent_move_focus(&self, direction_type: DirectionType)
fn parent_query_tooltip( &self, x: i32, y: i32, keyboard_tooltip: bool, tooltip: &Tooltip, ) -> bool
fn parent_realize(&self)
fn parent_root(&self)
fn parent_set_focus_child(&self, child: Option<&Widget>)
fn parent_show(&self)
👎Deprecated: Since 4.10
fn parent_size_allocate(&self, width: i32, height: i32, baseline: i32)
fn parent_snapshot(&self, snapshot: &Snapshot)
fn parent_state_flags_changed(&self, state_flags: &StateFlags)
fn parent_system_setting_changed(&self, settings: &SystemSetting)
fn parent_unmap(&self)
fn parent_unrealize(&self)
fn parent_unroot(&self)
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.