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