pub trait WidgetImpl: WidgetImplExt + ObjectImpl {
Show 24 methods
// Provided 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) { ... }
}