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