pub trait WidgetImplExt: ObjectSubclass {
Show 40 methods
fn parent_adjust_baseline_allocation(
&self,
widget: &Self::Type,
baseline: &mut i32
);
fn parent_adjust_baseline_request(
&self,
widget: &Self::Type,
minimum_baseline: &mut i32,
natural_baseline: &mut i32
);
fn parent_adjust_size_allocation(
&self,
widget: &Self::Type,
orientation: Orientation,
minimum_size: &mut i32,
natural_size: &mut i32,
allocated_pos: &mut i32,
allocated_size: &mut i32
);
fn parent_adjust_size_request(
&self,
widget: &Self::Type,
orientation: Orientation,
minimum_size: &mut i32,
natural_size: &mut i32
);
fn parent_button_press_event(
&self,
widget: &Self::Type,
event: &EventButton
) -> Inhibit;
fn parent_button_release_event(
&self,
widget: &Self::Type,
event: &EventButton
) -> Inhibit;
fn parent_child_notify(
&self,
widget: &Self::Type,
child_property: &ParamSpec
);
fn parent_composited_changed(&self, widget: &Self::Type);
fn parent_compute_expand(
&self,
widget: &Self::Type,
hexpand: &mut bool,
vexpand: &mut bool
);
fn parent_configure_event(
&self,
widget: &Self::Type,
event: &EventConfigure
) -> Inhibit;
fn parent_damage_event(
&self,
widget: &Self::Type,
event: &EventExpose
) -> Inhibit;
fn parent_delete_event(&self, widget: &Self::Type, event: &Event) -> Inhibit;
fn parent_destroy(&self, widget: &Self::Type);
fn parent_destroy_event(
&self,
widget: &Self::Type,
event: &Event
) -> Inhibit;
fn parent_direction_changed(
&self,
widget: &Self::Type,
previous_direction: TextDirection
);
fn parent_dispatch_child_properties_changed(
&self,
widget: &Self::Type,
pspecs: &[ParamSpec]
);
fn parent_drag_begin(&self, widget: &Self::Type, context: &DragContext);
fn parent_drag_data_delete(
&self,
widget: &Self::Type,
context: &DragContext
);
fn parent_drag_data_get(
&self,
widget: &Self::Type,
context: &DragContext,
selection_data: &SelectionData,
info: u32,
time: u32
);
fn parent_drag_data_received(
&self,
widget: &Self::Type,
context: &DragContext,
x: i32,
y: i32,
selection_data: &SelectionData,
info: u32,
time: u32
);
fn parent_drag_drop(
&self,
widget: &Self::Type,
context: &DragContext,
x: i32,
y: i32,
time: u32
) -> Inhibit;
fn parent_drag_end(&self, widget: &Self::Type, context: &DragContext);
fn parent_drag_failed(
&self,
widget: &Self::Type,
context: &DragContext,
result: DragResult
) -> Inhibit;
fn parent_drag_leave(
&self,
widget: &Self::Type,
context: &DragContext,
time: u32
);
fn parent_drag_motion(
&self,
widget: &Self::Type,
context: &DragContext,
x: i32,
y: i32,
time: u32
) -> Inhibit;
fn parent_draw(&self, widget: &Self::Type, cr: &Context) -> Inhibit;
fn parent_request_mode(&self, widget: &Self::Type) -> SizeRequestMode;
fn parent_preferred_width(&self, widget: &Self::Type) -> (i32, i32);
fn parent_preferred_width_for_height(
&self,
widget: &Self::Type,
height: i32
) -> (i32, i32);
fn parent_preferred_height(&self, widget: &Self::Type) -> (i32, i32);
fn parent_preferred_height_for_width(
&self,
widget: &Self::Type,
width: i32
) -> (i32, i32);
fn parent_size_allocate(&self, widget: &Self::Type, allocation: &Allocation);
fn parent_realize(&self, widget: &Self::Type);
fn parent_unrealize(&self, widget: &Self::Type);
fn parent_map(&self, widget: &Self::Type);
fn parent_unmap(&self, widget: &Self::Type);
fn parent_motion_notify_event(
&self,
widget: &Self::Type,
event: &EventMotion
) -> Inhibit;
fn parent_scroll_event(
&self,
widget: &Self::Type,
event: &EventScroll
) -> Inhibit;
fn parent_enter_notify_event(
&self,
widget: &Self::Type,
event: &EventCrossing
) -> Inhibit;
fn parent_leave_notify_event(
&self,
widget: &Self::Type,
event: &EventCrossing
) -> Inhibit;
}