pub trait WidgetImplExt: ObjectSubclass {
Show 24 methods
fn parent_compute_expand(
&self,
widget: &Self::Type,
hexpand: &mut bool,
vexpand: &mut bool
);
fn parent_contains(&self, widget: &Self::Type, x: f64, y: f64) -> bool;
fn parent_direction_changed(
&self,
widget: &Self::Type,
previous_direction: TextDirection
);
fn parent_focus(
&self,
widget: &Self::Type,
direction_type: DirectionType
) -> bool;
fn parent_request_mode(&self, widget: &Self::Type) -> SizeRequestMode;
fn parent_grab_focus(&self, widget: &Self::Type) -> bool;
fn parent_hide(&self, widget: &Self::Type);
fn parent_keynav_failed(
&self,
widget: &Self::Type,
direction_type: DirectionType
) -> bool;
fn parent_map(&self, widget: &Self::Type);
fn parent_measure(
&self,
widget: &Self::Type,
orientation: Orientation,
for_size: i32
) -> (i32, i32, i32, i32);
fn parent_mnemonic_activate(
&self,
widget: &Self::Type,
group_cycling: bool
) -> bool;
fn parent_move_focus(
&self,
widget: &Self::Type,
direction_type: DirectionType
);
fn parent_query_tooltip(
&self,
widget: &Self::Type,
x: i32,
y: i32,
keyboard_tooltip: bool,
tooltip: &Tooltip
) -> bool;
fn parent_realize(&self, widget: &Self::Type);
fn parent_root(&self, widget: &Self::Type);
fn parent_set_focus_child(&self, widget: &Self::Type, child: Option<&Widget>);
fn parent_show(&self, widget: &Self::Type);
fn parent_size_allocate(
&self,
widget: &Self::Type,
width: i32,
height: i32,
baseline: i32
);
fn parent_snapshot(&self, widget: &Self::Type, snapshot: &Snapshot);
fn parent_state_flags_changed(
&self,
widget: &Self::Type,
state_flags: &StateFlags
);
fn parent_system_setting_changed(
&self,
widget: &Self::Type,
settings: &SystemSetting
);
fn parent_unmap(&self, widget: &Self::Type);
fn parent_unrealize(&self, widget: &Self::Type);
fn parent_unroot(&self, widget: &Self::Type);
}
Required Methods
sourcefn parent_compute_expand(
fn parent_compute_expand(
&self,
widget: &Self::Type,
hexpand: &mut bool,
vexpand: &mut bool
)
sourcefn parent_direction_changed(
fn parent_direction_changed(
&self,
widget: &Self::Type,
previous_direction: TextDirection
)
source
fn parent_focus(&self, widget: &Self::Type, direction_type: DirectionType) -> bool
source
fn parent_request_mode(&self, widget: &Self::Type) -> SizeRequestMode
source
fn parent_grab_focus(&self, widget: &Self::Type) -> bool
source
fn parent_hide(&self, widget: &Self::Type)
source
fn parent_map(&self, widget: &Self::Type)
sourcefn parent_measure(
fn parent_measure(
&self,
widget: &Self::Type,
orientation: Orientation,
for_size: i32
) -> (i32, i32, i32, i32)
sourcefn parent_mnemonic_activate(
fn parent_mnemonic_activate(
&self,
widget: &Self::Type,
group_cycling: bool
) -> bool
source
fn parent_move_focus(&self, widget: &Self::Type, direction_type: DirectionType)
sourcefn parent_query_tooltip(
fn parent_query_tooltip(
&self,
widget: &Self::Type,
x: i32,
y: i32,
keyboard_tooltip: bool,
tooltip: &Tooltip
) -> bool
source
fn parent_realize(&self, widget: &Self::Type)
source
fn parent_root(&self, widget: &Self::Type)
source
fn parent_set_focus_child(&self, widget: &Self::Type, child: Option<&Widget>)
source
fn parent_show(&self, widget: &Self::Type)
source
fn parent_snapshot(&self, widget: &Self::Type, snapshot: &Snapshot)
sourcefn parent_state_flags_changed(
fn parent_state_flags_changed(
&self,
widget: &Self::Type,
state_flags: &StateFlags
)
sourcefn parent_system_setting_changed(
fn parent_system_setting_changed(
&self,
widget: &Self::Type,
settings: &SystemSetting
)
source
fn parent_unmap(&self, widget: &Self::Type)
source
fn parent_unrealize(&self, widget: &Self::Type)
source