pub trait WidgetImpl: WidgetImplExt + ObjectImpl {
Show 40 methods
fn adjust_baseline_allocation(
&self,
widget: &Self::Type,
baseline: &mut i32
) { ... }
fn adjust_baseline_request(
&self,
widget: &Self::Type,
minimum_baseline: &mut i32,
natural_baseline: &mut i32
) { ... }
fn 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 adjust_size_request(
&self,
widget: &Self::Type,
orientation: Orientation,
minimum_size: &mut i32,
natural_size: &mut i32
) { ... }
fn button_press_event(
&self,
widget: &Self::Type,
event: &EventButton
) -> Inhibit { ... }
fn button_release_event(
&self,
widget: &Self::Type,
event: &EventButton
) -> Inhibit { ... }
fn child_notify(&self, widget: &Self::Type, child_property: &ParamSpec) { ... }
fn composited_changed(&self, widget: &Self::Type) { ... }
fn compute_expand(
&self,
widget: &Self::Type,
hexpand: &mut bool,
vexpand: &mut bool
) { ... }
fn configure_event(
&self,
widget: &Self::Type,
event: &EventConfigure
) -> Inhibit { ... }
fn damage_event(&self, widget: &Self::Type, event: &EventExpose) -> Inhibit { ... }
fn delete_event(&self, widget: &Self::Type, event: &Event) -> Inhibit { ... }
fn destroy(&self, widget: &Self::Type) { ... }
fn destroy_event(&self, widget: &Self::Type, event: &Event) -> Inhibit { ... }
fn direction_changed(
&self,
widget: &Self::Type,
previous_direction: TextDirection
) { ... }
fn dispatch_child_properties_changed(
&self,
widget: &Self::Type,
pspecs: &[ParamSpec]
) { ... }
fn drag_begin(&self, widget: &Self::Type, context: &DragContext) { ... }
fn drag_data_delete(&self, widget: &Self::Type, context: &DragContext) { ... }
fn drag_data_get(
&self,
widget: &Self::Type,
context: &DragContext,
selection_data: &SelectionData,
info: u32,
time: u32
) { ... }
fn drag_data_received(
&self,
widget: &Self::Type,
context: &DragContext,
x: i32,
y: i32,
selection_data: &SelectionData,
info: u32,
time: u32
) { ... }
fn drag_drop(
&self,
widget: &Self::Type,
context: &DragContext,
x: i32,
y: i32,
time: u32
) -> Inhibit { ... }
fn drag_end(&self, widget: &Self::Type, context: &DragContext) { ... }
fn drag_failed(
&self,
widget: &Self::Type,
context: &DragContext,
result: DragResult
) -> Inhibit { ... }
fn drag_leave(&self, widget: &Self::Type, context: &DragContext, time: u32) { ... }
fn drag_motion(
&self,
widget: &Self::Type,
context: &DragContext,
x: i32,
y: i32,
time: u32
) -> Inhibit { ... }
fn draw(&self, widget: &Self::Type, cr: &Context) -> Inhibit { ... }
fn request_mode(&self, widget: &Self::Type) -> SizeRequestMode { ... }
fn preferred_width(&self, widget: &Self::Type) -> (i32, i32) { ... }
fn preferred_width_for_height(
&self,
widget: &Self::Type,
height: i32
) -> (i32, i32) { ... }
fn preferred_height(&self, widget: &Self::Type) -> (i32, i32) { ... }
fn preferred_height_for_width(
&self,
widget: &Self::Type,
width: i32
) -> (i32, i32) { ... }
fn size_allocate(&self, widget: &Self::Type, allocation: &Allocation) { ... }
fn realize(&self, widget: &Self::Type) { ... }
fn unrealize(&self, widget: &Self::Type) { ... }
fn map(&self, widget: &Self::Type) { ... }
fn unmap(&self, widget: &Self::Type) { ... }
fn motion_notify_event(
&self,
widget: &Self::Type,
event: &EventMotion
) -> Inhibit { ... }
fn scroll_event(&self, widget: &Self::Type, event: &EventScroll) -> Inhibit { ... }
fn enter_notify_event(
&self,
widget: &Self::Type,
event: &EventCrossing
) -> Inhibit { ... }
fn leave_notify_event(
&self,
widget: &Self::Type,
event: &EventCrossing
) -> Inhibit { ... }
}