Skip to main content

WidgetImplExt

Trait WidgetImplExt 

Source
pub trait WidgetImplExt: WidgetImpl {
Show 79 methods // Provided methods fn parent_adjust_baseline_allocation(&self, baseline: &mut i32) { ... } fn parent_adjust_baseline_request( &self, minimum_baseline: &mut i32, natural_baseline: &mut i32, ) { ... } fn parent_preferred_height_and_baseline_for_width( &self, width: i32, ) -> (i32, i32, i32, i32) { ... } fn parent_adjust_size_allocation( &self, orientation: Orientation, minimum_size: &mut i32, natural_size: &mut i32, allocated_pos: &mut i32, allocated_size: &mut i32, ) { ... } fn parent_adjust_size_request( &self, orientation: Orientation, minimum_size: &mut i32, natural_size: &mut i32, ) { ... } fn parent_button_press_event(&self, event: &EventButton) -> Propagation { ... } fn parent_button_release_event(&self, event: &EventButton) -> Propagation { ... } fn parent_can_activate_accel(&self, signal_id: SignalId) -> bool { ... } fn parent_child_notify(&self, child_property: &ParamSpec) { ... } fn parent_composited_changed(&self) { ... } fn parent_compute_expand(&self, hexpand: &mut bool, vexpand: &mut bool) { ... } fn parent_configure_event(&self, event: &EventConfigure) -> Propagation { ... } fn parent_window_state_event(&self, event: &EventWindowState) -> Propagation { ... } fn parent_damage_event(&self, event: &EventExpose) -> Propagation { ... } fn parent_delete_event(&self, event: &Event) -> Propagation { ... } fn parent_destroy(&self) { ... } fn parent_destroy_event(&self, event: &Event) -> Propagation { ... } fn parent_direction_changed(&self, previous_direction: TextDirection) { ... } fn parent_dispatch_child_properties_changed(&self, pspecs: &[ParamSpec]) { ... } fn parent_drag_begin(&self, context: &DragContext) { ... } fn parent_drag_data_delete(&self, context: &DragContext) { ... } fn parent_drag_data_get( &self, context: &DragContext, selection_data: &SelectionData, info: u32, time: u32, ) { ... } fn parent_drag_data_received( &self, context: &DragContext, x: i32, y: i32, selection_data: &SelectionData, info: u32, time: u32, ) { ... } fn parent_drag_drop( &self, context: &DragContext, x: i32, y: i32, time: u32, ) -> Propagation { ... } fn parent_drag_end(&self, context: &DragContext) { ... } fn parent_drag_failed( &self, context: &DragContext, result: DragResult, ) -> Propagation { ... } fn parent_drag_leave(&self, context: &DragContext, time: u32) { ... } fn parent_drag_motion( &self, context: &DragContext, x: i32, y: i32, time: u32, ) -> Propagation { ... } fn parent_draw(&self, cr: &Context) -> Propagation { ... } fn parent_request_mode(&self) -> SizeRequestMode { ... } fn parent_preferred_width(&self) -> (i32, i32) { ... } fn parent_preferred_width_for_height(&self, height: i32) -> (i32, i32) { ... } fn parent_preferred_height(&self) -> (i32, i32) { ... } fn parent_preferred_height_for_width(&self, width: i32) -> (i32, i32) { ... } fn parent_size_allocate(&self, allocation: &Allocation) { ... } fn parent_realize(&self) { ... } fn parent_unrealize(&self) { ... } fn parent_map(&self) { ... } fn parent_unmap(&self) { ... } fn parent_show(&self) { ... } fn parent_hide(&self) { ... } fn parent_grab_focus(&self) { ... } fn parent_focus(&self, direction: DirectionType) -> bool { ... } fn parent_motion_notify_event(&self, event: &EventMotion) -> Propagation { ... } fn parent_scroll_event(&self, event: &EventScroll) -> Propagation { ... } fn parent_enter_notify_event(&self, event: &EventCrossing) -> Propagation { ... } fn parent_leave_notify_event(&self, event: &EventCrossing) -> Propagation { ... } fn parent_focus_in_event(&self, event: &EventFocus) -> Propagation { ... } fn parent_focus_out_event(&self, event: &EventFocus) -> Propagation { ... } fn parent_key_press_event(&self, event: &EventKey) -> Propagation { ... } fn parent_key_release_event(&self, event: &EventKey) -> Propagation { ... } fn parent_map_event(&self, event: &Event) -> Propagation { ... } fn parent_unmap_event(&self, event: &Event) -> Propagation { ... } fn parent_show_all(&self) { ... } fn parent_state_flags_changed(&self, previous_state_flags: StateFlags) { ... } fn parent_parent_set(&self, previous_parent: Option<&Widget>) { ... } fn parent_hierarchy_changed(&self, previous_toplevel: Option<&Widget>) { ... } fn parent_grab_notify(&self, was_grabbed: bool) { ... } fn parent_mnemonic_activate(&self, group_cycling: bool) -> bool { ... } fn parent_move_focus(&self, direction: DirectionType) { ... } fn parent_keynav_failed(&self, direction: DirectionType) -> bool { ... } fn parent_event(&self, event: &Event) -> Propagation { ... } fn parent_property_notify_event(&self, event: &EventProperty) -> Propagation { ... } fn parent_selection_clear_event( &self, event: &EventSelection, ) -> Propagation { ... } fn parent_selection_request_event( &self, event: &EventSelection, ) -> Propagation { ... } fn parent_selection_notify_event( &self, event: &EventSelection, ) -> Propagation { ... } fn parent_proximity_in_event(&self, event: &EventProximity) -> Propagation { ... } fn parent_proximity_out_event(&self, event: &EventProximity) -> Propagation { ... } fn parent_visibility_notify_event( &self, event: &EventVisibility, ) -> Propagation { ... } fn parent_grab_broken_event(&self, event: &EventGrabBroken) -> Propagation { ... } fn parent_touch_event(&self, event: &EventTouch) -> Propagation { ... } fn parent_selection_get( &self, selection_data: &SelectionData, info: u32, time: u32, ) { ... } fn parent_selection_received( &self, selection_data: &SelectionData, time: u32, ) { ... } fn parent_popup_menu(&self) -> bool { ... } fn parent_show_help(&self, help_type: WidgetHelpType) -> bool { ... } fn parent_screen_changed(&self, previous_screen: Option<&Screen>) { ... } fn parent_query_tooltip( &self, x: i32, y: i32, keyboard_tooltip: bool, tooltip: &Tooltip, ) -> bool { ... } fn parent_style_updated(&self) { ... } fn parent_queue_draw_region(&self, region: &Region) { ... }
}

Provided Methods§

Source

fn parent_adjust_baseline_allocation(&self, baseline: &mut i32)

Source

fn parent_adjust_baseline_request( &self, minimum_baseline: &mut i32, natural_baseline: &mut i32, )

Source

fn parent_preferred_height_and_baseline_for_width( &self, width: i32, ) -> (i32, i32, i32, i32)

Source

fn parent_adjust_size_allocation( &self, orientation: Orientation, minimum_size: &mut i32, natural_size: &mut i32, allocated_pos: &mut i32, allocated_size: &mut i32, )

Source

fn parent_adjust_size_request( &self, orientation: Orientation, minimum_size: &mut i32, natural_size: &mut i32, )

Source

fn parent_button_press_event(&self, event: &EventButton) -> Propagation

Source

fn parent_button_release_event(&self, event: &EventButton) -> Propagation

Source

fn parent_can_activate_accel(&self, signal_id: SignalId) -> bool

Source

fn parent_child_notify(&self, child_property: &ParamSpec)

Source

fn parent_composited_changed(&self)

Source

fn parent_compute_expand(&self, hexpand: &mut bool, vexpand: &mut bool)

Source

fn parent_configure_event(&self, event: &EventConfigure) -> Propagation

Source

fn parent_window_state_event(&self, event: &EventWindowState) -> Propagation

Source

fn parent_damage_event(&self, event: &EventExpose) -> Propagation

Source

fn parent_delete_event(&self, event: &Event) -> Propagation

Source

fn parent_destroy(&self)

Source

fn parent_destroy_event(&self, event: &Event) -> Propagation

Source

fn parent_direction_changed(&self, previous_direction: TextDirection)

Source

fn parent_dispatch_child_properties_changed(&self, pspecs: &[ParamSpec])

Source

fn parent_drag_begin(&self, context: &DragContext)

Source

fn parent_drag_data_delete(&self, context: &DragContext)

Source

fn parent_drag_data_get( &self, context: &DragContext, selection_data: &SelectionData, info: u32, time: u32, )

Source

fn parent_drag_data_received( &self, context: &DragContext, x: i32, y: i32, selection_data: &SelectionData, info: u32, time: u32, )

Source

fn parent_drag_drop( &self, context: &DragContext, x: i32, y: i32, time: u32, ) -> Propagation

Source

fn parent_drag_end(&self, context: &DragContext)

Source

fn parent_drag_failed( &self, context: &DragContext, result: DragResult, ) -> Propagation

Source

fn parent_drag_leave(&self, context: &DragContext, time: u32)

Source

fn parent_drag_motion( &self, context: &DragContext, x: i32, y: i32, time: u32, ) -> Propagation

Source

fn parent_draw(&self, cr: &Context) -> Propagation

Source

fn parent_request_mode(&self) -> SizeRequestMode

Source

fn parent_preferred_width(&self) -> (i32, i32)

Source

fn parent_preferred_width_for_height(&self, height: i32) -> (i32, i32)

Source

fn parent_preferred_height(&self) -> (i32, i32)

Source

fn parent_preferred_height_for_width(&self, width: i32) -> (i32, i32)

Source

fn parent_size_allocate(&self, allocation: &Allocation)

Source

fn parent_realize(&self)

Source

fn parent_unrealize(&self)

Source

fn parent_map(&self)

Source

fn parent_unmap(&self)

Source

fn parent_show(&self)

Source

fn parent_hide(&self)

Source

fn parent_grab_focus(&self)

Source

fn parent_focus(&self, direction: DirectionType) -> bool

Source

fn parent_motion_notify_event(&self, event: &EventMotion) -> Propagation

Source

fn parent_scroll_event(&self, event: &EventScroll) -> Propagation

Source

fn parent_enter_notify_event(&self, event: &EventCrossing) -> Propagation

Source

fn parent_leave_notify_event(&self, event: &EventCrossing) -> Propagation

Source

fn parent_focus_in_event(&self, event: &EventFocus) -> Propagation

Source

fn parent_focus_out_event(&self, event: &EventFocus) -> Propagation

Source

fn parent_key_press_event(&self, event: &EventKey) -> Propagation

Source

fn parent_key_release_event(&self, event: &EventKey) -> Propagation

Source

fn parent_map_event(&self, event: &Event) -> Propagation

Source

fn parent_unmap_event(&self, event: &Event) -> Propagation

Source

fn parent_show_all(&self)

Source

fn parent_state_flags_changed(&self, previous_state_flags: StateFlags)

Source

fn parent_parent_set(&self, previous_parent: Option<&Widget>)

Source

fn parent_hierarchy_changed(&self, previous_toplevel: Option<&Widget>)

Source

fn parent_grab_notify(&self, was_grabbed: bool)

Source

fn parent_mnemonic_activate(&self, group_cycling: bool) -> bool

Source

fn parent_move_focus(&self, direction: DirectionType)

Source

fn parent_keynav_failed(&self, direction: DirectionType) -> bool

Source

fn parent_event(&self, event: &Event) -> Propagation

Source

fn parent_property_notify_event(&self, event: &EventProperty) -> Propagation

Source

fn parent_selection_clear_event(&self, event: &EventSelection) -> Propagation

Source

fn parent_selection_request_event(&self, event: &EventSelection) -> Propagation

Source

fn parent_selection_notify_event(&self, event: &EventSelection) -> Propagation

Source

fn parent_proximity_in_event(&self, event: &EventProximity) -> Propagation

Source

fn parent_proximity_out_event(&self, event: &EventProximity) -> Propagation

Source

fn parent_visibility_notify_event(&self, event: &EventVisibility) -> Propagation

Source

fn parent_grab_broken_event(&self, event: &EventGrabBroken) -> Propagation

Source

fn parent_touch_event(&self, event: &EventTouch) -> Propagation

Source

fn parent_selection_get( &self, selection_data: &SelectionData, info: u32, time: u32, )

Source

fn parent_selection_received(&self, selection_data: &SelectionData, time: u32)

Source

fn parent_popup_menu(&self) -> bool

Source

fn parent_show_help(&self, help_type: WidgetHelpType) -> bool

Source

fn parent_screen_changed(&self, previous_screen: Option<&Screen>)

Source

fn parent_query_tooltip( &self, x: i32, y: i32, keyboard_tooltip: bool, tooltip: &Tooltip, ) -> bool

Source

fn parent_style_updated(&self)

Source

fn parent_queue_draw_region(&self, region: &Region)

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§