[][src]Trait gtk::prelude::WidgetExtManual

pub trait WidgetExtManual: 'static {
    fn drag_dest_set(
        &self,
        flags: DestDefaults,
        targets: &[TargetEntry],
        actions: DragAction
    );
fn drag_source_set(
        &self,
        start_button_mask: ModifierType,
        targets: &[TargetEntry],
        actions: DragAction
    );
fn intersect(
        &self,
        area: &Rectangle,
        intersection: Option<&mut Rectangle>
    ) -> bool;
fn connect_map_event<F: Fn(&Self, &Event) -> Inhibit + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_unmap_event<F: Fn(&Self, &Event) -> Inhibit + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn add_tick_callback<P: Fn(&Self, &FrameClock) -> Continue + 'static>(
        &self,
        callback: P
    ) -> TickCallbackId;
fn add_events(&self, events: EventMask);
fn get_events(&self) -> EventMask;
fn set_events(&self, events: EventMask);
unsafe fn destroy(&self);
fn hide_on_delete(&self) -> Inhibit; }

Required methods

fn drag_dest_set(
    &self,
    flags: DestDefaults,
    targets: &[TargetEntry],
    actions: DragAction
)

fn drag_source_set(
    &self,
    start_button_mask: ModifierType,
    targets: &[TargetEntry],
    actions: DragAction
)

fn intersect(
    &self,
    area: &Rectangle,
    intersection: Option<&mut Rectangle>
) -> bool

fn connect_map_event<F: Fn(&Self, &Event) -> Inhibit + 'static>(
    &self,
    f: F
) -> SignalHandlerId

fn connect_unmap_event<F: Fn(&Self, &Event) -> Inhibit + 'static>(
    &self,
    f: F
) -> SignalHandlerId

fn add_tick_callback<P: Fn(&Self, &FrameClock) -> Continue + 'static>(
    &self,
    callback: P
) -> TickCallbackId

fn add_events(&self, events: EventMask)

fn get_events(&self) -> EventMask

fn set_events(&self, events: EventMask)

unsafe fn destroy(&self)

Calls gtk_widget_destroy() on this widget.

Safety

This will not necessarily entirely remove the widget from existence but you must NOT query the widget's state subsequently. Do not call this yourself unless you really mean to.

fn hide_on_delete(&self) -> Inhibit

Loading content...

Implementors

impl<O: IsA<Widget>> WidgetExtManual for O[src]

Loading content...