[][src]Trait gtk::subclass::widget::WidgetImpl

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

Provided methods

fn adjust_baseline_allocation(&self, widget: &Widget, baseline: &mut i32)

fn adjust_baseline_request(
    &self,
    widget: &Widget,
    minimum_baseline: &mut i32,
    natural_baseline: &mut i32
)

fn adjust_size_allocation(
    &self,
    widget: &Widget,
    orientation: Orientation,
    minimum_size: &mut i32,
    natural_size: &mut i32,
    allocated_pos: &mut i32,
    allocated_size: &mut i32
)

fn adjust_size_request(
    &self,
    widget: &Widget,
    orientation: Orientation,
    minimum_size: &mut i32,
    natural_size: &mut i32
)

fn button_press_event(&self, widget: &Widget, event: &EventButton) -> Inhibit

fn button_release_event(&self, widget: &Widget, event: &EventButton) -> Inhibit

fn child_notify(&self, widget: &Widget, child_property: &ParamSpec)

fn composited_changed(&self, widget: &Widget)

fn compute_expand(
    &self,
    widget: &Widget,
    hexpand_p: &mut bool,
    vexpand_p: &mut bool
)

fn configure_event(&self, widget: &Widget, event: &EventConfigure) -> Inhibit

fn damage_event(&self, widget: &Widget, event: &EventExpose) -> Inhibit

fn delete_event(&self, widget: &Widget, event: &Event) -> Inhibit

fn destroy(&self, widget: &Widget)

fn destroy_event(&self, widget: &Widget, event: &Event) -> Inhibit

fn direction_changed(&self, widget: &Widget, previous_direction: TextDirection)

fn dispatch_child_properties_changed(
    &self,
    widget: &Widget,
    pspecs: &[ParamSpec]
)

fn drag_begin(&self, widget: &Widget, context: &DragContext)

fn drag_data_delete(&self, widget: &Widget, context: &DragContext)

fn drag_data_get(
    &self,
    widget: &Widget,
    context: &DragContext,
    selection_data: &SelectionData,
    info: u32,
    time: u32
)

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

fn drag_drop(
    &self,
    widget: &Widget,
    context: &DragContext,
    x: i32,
    y: i32,
    time: u32
) -> Inhibit

fn drag_end(&self, widget: &Widget, context: &DragContext)

fn drag_failed(
    &self,
    widget: &Widget,
    context: &DragContext,
    result: DragResult
) -> Inhibit

fn drag_leave(&self, widget: &Widget, context: &DragContext, time: u32)

fn drag_motion(
    &self,
    widget: &Widget,
    context: &DragContext,
    x: i32,
    y: i32,
    time: u32
) -> Inhibit

fn draw(&self, widget: &Widget, cr: &Context) -> Inhibit

fn get_request_mode(&self, widget: &Widget) -> SizeRequestMode

fn get_preferred_width(&self, widget: &Widget) -> (i32, i32)

fn get_preferred_width_for_height(
    &self,
    widget: &Widget,
    height: i32
) -> (i32, i32)

fn get_preferred_height(&self, widget: &Widget) -> (i32, i32)

fn get_preferred_height_for_width(
    &self,
    widget: &Widget,
    width: i32
) -> (i32, i32)

fn size_allocate(&self, widget: &Widget, allocation: &Allocation)

fn realize(&self, widget: &Widget)

fn unrealize(&self, widget: &Widget)

fn map(&self, widget: &Widget)

fn unmap(&self, widget: &Widget)

fn motion_notify_event(&self, widget: &Widget, event: &EventMotion) -> Inhibit

fn scroll_event(&self, widget: &Widget, event: &EventScroll) -> Inhibit

Loading content...

Implementors

Loading content...