libadwaita::subclass::prelude

Trait 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§

Source

fn compute_expand(&self, hexpand: &mut bool, vexpand: &mut bool)

Source

fn contains(&self, x: f64, y: f64) -> bool

Source

fn direction_changed(&self, previous_direction: TextDirection)

Source

fn focus(&self, direction_type: DirectionType) -> bool

Source

fn request_mode(&self) -> SizeRequestMode

Source

fn grab_focus(&self) -> bool

Source

fn hide(&self)

Source

fn keynav_failed(&self, direction_type: DirectionType) -> bool

Source

fn map(&self)

Source

fn measure( &self, orientation: Orientation, for_size: i32, ) -> (i32, i32, i32, i32)

Source

fn mnemonic_activate(&self, group_cycling: bool) -> bool

Source

fn move_focus(&self, direction_type: DirectionType)

Source

fn query_tooltip( &self, x: i32, y: i32, keyboard_tooltip: bool, tooltip: &Tooltip, ) -> bool

Source

fn realize(&self)

Source

fn root(&self)

Source

fn set_focus_child(&self, child: Option<&Widget>)

Source

fn show(&self)

Source

fn size_allocate(&self, width: i32, height: i32, baseline: i32)

Source

fn snapshot(&self, snapshot: &Snapshot)

Source

fn state_flags_changed(&self, state_flags: &StateFlags)

Source

fn system_setting_changed(&self, settings: &SystemSetting)

Source

fn unmap(&self)

Source

fn unrealize(&self)

Source

fn 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.

Implementors§