[][src]Struct gtk_sys::GtkWidgetClass

#[repr(C)]pub struct GtkWidgetClass {
    pub parent_class: GInitiallyUnownedClass,
    pub activate_signal: c_uint,
    pub dispatch_child_properties_changed: Option<unsafe extern "C" fn(_: *mut GtkWidget, _: c_uint, _: *mut *mut GParamSpec)>,
    pub destroy: Option<unsafe extern "C" fn(_: *mut GtkWidget)>,
    pub show: Option<unsafe extern "C" fn(_: *mut GtkWidget)>,
    pub show_all: Option<unsafe extern "C" fn(_: *mut GtkWidget)>,
    pub hide: Option<unsafe extern "C" fn(_: *mut GtkWidget)>,
    pub map: Option<unsafe extern "C" fn(_: *mut GtkWidget)>,
    pub unmap: Option<unsafe extern "C" fn(_: *mut GtkWidget)>,
    pub realize: Option<unsafe extern "C" fn(_: *mut GtkWidget)>,
    pub unrealize: Option<unsafe extern "C" fn(_: *mut GtkWidget)>,
    pub size_allocate: Option<unsafe extern "C" fn(_: *mut GtkWidget, _: *mut GtkAllocation)>,
    pub state_changed: Option<unsafe extern "C" fn(_: *mut GtkWidget, _: GtkStateType)>,
    pub state_flags_changed: Option<unsafe extern "C" fn(_: *mut GtkWidget, _: GtkStateFlags)>,
    pub parent_set: Option<unsafe extern "C" fn(_: *mut GtkWidget, _: *mut GtkWidget)>,
    pub hierarchy_changed: Option<unsafe extern "C" fn(_: *mut GtkWidget, _: *mut GtkWidget)>,
    pub style_set: Option<unsafe extern "C" fn(_: *mut GtkWidget, _: *mut GtkStyle)>,
    pub direction_changed: Option<unsafe extern "C" fn(_: *mut GtkWidget, _: GtkTextDirection)>,
    pub grab_notify: Option<unsafe extern "C" fn(_: *mut GtkWidget, _: gboolean)>,
    pub child_notify: Option<unsafe extern "C" fn(_: *mut GtkWidget, _: *mut GParamSpec)>,
    pub draw: Option<unsafe extern "C" fn(_: *mut GtkWidget, _: *mut cairo_t) -> gboolean>,
    pub get_request_mode: Option<unsafe extern "C" fn(_: *mut GtkWidget) -> GtkSizeRequestMode>,
    pub get_preferred_height: Option<unsafe extern "C" fn(_: *mut GtkWidget, _: *mut c_int, _: *mut c_int)>,
    pub get_preferred_width_for_height: Option<unsafe extern "C" fn(_: *mut GtkWidget, _: c_int, _: *mut c_int, _: *mut c_int)>,
    pub get_preferred_width: Option<unsafe extern "C" fn(_: *mut GtkWidget, _: *mut c_int, _: *mut c_int)>,
    pub get_preferred_height_for_width: Option<unsafe extern "C" fn(_: *mut GtkWidget, _: c_int, _: *mut c_int, _: *mut c_int)>,
    pub mnemonic_activate: Option<unsafe extern "C" fn(_: *mut GtkWidget, _: gboolean) -> gboolean>,
    pub grab_focus: Option<unsafe extern "C" fn(_: *mut GtkWidget)>,
    pub focus: Option<unsafe extern "C" fn(_: *mut GtkWidget, _: GtkDirectionType) -> gboolean>,
    pub move_focus: Option<unsafe extern "C" fn(_: *mut GtkWidget, _: GtkDirectionType)>,
    pub keynav_failed: Option<unsafe extern "C" fn(_: *mut GtkWidget, _: GtkDirectionType) -> gboolean>,
    pub event: Option<unsafe extern "C" fn(_: *mut GtkWidget, _: *mut GdkEvent) -> gboolean>,
    pub button_press_event: Option<unsafe extern "C" fn(_: *mut GtkWidget, _: *mut GdkEventButton) -> gboolean>,
    pub button_release_event: Option<unsafe extern "C" fn(_: *mut GtkWidget, _: *mut GdkEventButton) -> gboolean>,
    pub scroll_event: Option<unsafe extern "C" fn(_: *mut GtkWidget, _: *mut GdkEventScroll) -> gboolean>,
    pub motion_notify_event: Option<unsafe extern "C" fn(_: *mut GtkWidget, _: *mut GdkEventMotion) -> gboolean>,
    pub delete_event: Option<unsafe extern "C" fn(_: *mut GtkWidget, _: *mut GdkEventAny) -> gboolean>,
    pub destroy_event: Option<unsafe extern "C" fn(_: *mut GtkWidget, _: *mut GdkEventAny) -> gboolean>,
    pub key_press_event: Option<unsafe extern "C" fn(_: *mut GtkWidget, _: *mut GdkEventKey) -> gboolean>,
    pub key_release_event: Option<unsafe extern "C" fn(_: *mut GtkWidget, _: *mut GdkEventKey) -> gboolean>,
    pub enter_notify_event: Option<unsafe extern "C" fn(_: *mut GtkWidget, _: *mut GdkEventCrossing) -> gboolean>,
    pub leave_notify_event: Option<unsafe extern "C" fn(_: *mut GtkWidget, _: *mut GdkEventCrossing) -> gboolean>,
    pub configure_event: Option<unsafe extern "C" fn(_: *mut GtkWidget, _: *mut GdkEventConfigure) -> gboolean>,
    pub focus_in_event: Option<unsafe extern "C" fn(_: *mut GtkWidget, _: *mut GdkEventFocus) -> gboolean>,
    pub focus_out_event: Option<unsafe extern "C" fn(_: *mut GtkWidget, _: *mut GdkEventFocus) -> gboolean>,
    pub map_event: Option<unsafe extern "C" fn(_: *mut GtkWidget, _: *mut GdkEventAny) -> gboolean>,
    pub unmap_event: Option<unsafe extern "C" fn(_: *mut GtkWidget, _: *mut GdkEventAny) -> gboolean>,
    pub property_notify_event: Option<unsafe extern "C" fn(_: *mut GtkWidget, _: *mut GdkEventProperty) -> gboolean>,
    pub selection_clear_event: Option<unsafe extern "C" fn(_: *mut GtkWidget, _: *mut GdkEventSelection) -> gboolean>,
    pub selection_request_event: Option<unsafe extern "C" fn(_: *mut GtkWidget, _: *mut GdkEventSelection) -> gboolean>,
    pub selection_notify_event: Option<unsafe extern "C" fn(_: *mut GtkWidget, _: *mut GdkEventSelection) -> gboolean>,
    pub proximity_in_event: Option<unsafe extern "C" fn(_: *mut GtkWidget, _: *mut GdkEventProximity) -> gboolean>,
    pub proximity_out_event: Option<unsafe extern "C" fn(_: *mut GtkWidget, _: *mut GdkEventProximity) -> gboolean>,
    pub visibility_notify_event: Option<unsafe extern "C" fn(_: *mut GtkWidget, _: *mut GdkEventVisibility) -> gboolean>,
    pub window_state_event: Option<unsafe extern "C" fn(_: *mut GtkWidget, _: *mut GdkEventWindowState) -> gboolean>,
    pub damage_event: Option<unsafe extern "C" fn(_: *mut GtkWidget, _: *mut GdkEventExpose) -> gboolean>,
    pub grab_broken_event: Option<unsafe extern "C" fn(_: *mut GtkWidget, _: *mut GdkEventGrabBroken) -> gboolean>,
    pub selection_get: Option<unsafe extern "C" fn(_: *mut GtkWidget, _: *mut GtkSelectionData, _: c_uint, _: c_uint)>,
    pub selection_received: Option<unsafe extern "C" fn(_: *mut GtkWidget, _: *mut GtkSelectionData, _: c_uint)>,
    pub drag_begin: Option<unsafe extern "C" fn(_: *mut GtkWidget, _: *mut GdkDragContext)>,
    pub drag_end: Option<unsafe extern "C" fn(_: *mut GtkWidget, _: *mut GdkDragContext)>,
    pub drag_data_get: Option<unsafe extern "C" fn(_: *mut GtkWidget, _: *mut GdkDragContext, _: *mut GtkSelectionData, _: c_uint, _: c_uint)>,
    pub drag_data_delete: Option<unsafe extern "C" fn(_: *mut GtkWidget, _: *mut GdkDragContext)>,
    pub drag_leave: Option<unsafe extern "C" fn(_: *mut GtkWidget, _: *mut GdkDragContext, _: c_uint)>,
    pub drag_motion: Option<unsafe extern "C" fn(_: *mut GtkWidget, _: *mut GdkDragContext, _: c_int, _: c_int, _: c_uint) -> gboolean>,
    pub drag_drop: Option<unsafe extern "C" fn(_: *mut GtkWidget, _: *mut GdkDragContext, _: c_int, _: c_int, _: c_uint) -> gboolean>,
    pub drag_data_received: Option<unsafe extern "C" fn(_: *mut GtkWidget, _: *mut GdkDragContext, _: c_int, _: c_int, _: *mut GtkSelectionData, _: c_uint, _: c_uint)>,
    pub drag_failed: Option<unsafe extern "C" fn(_: *mut GtkWidget, _: *mut GdkDragContext, _: GtkDragResult) -> gboolean>,
    pub popup_menu: Option<unsafe extern "C" fn(_: *mut GtkWidget) -> gboolean>,
    pub show_help: Option<unsafe extern "C" fn(_: *mut GtkWidget, _: GtkWidgetHelpType) -> gboolean>,
    pub get_accessible: Option<unsafe extern "C" fn(_: *mut GtkWidget) -> *mut AtkObject>,
    pub screen_changed: Option<unsafe extern "C" fn(_: *mut GtkWidget, _: *mut GdkScreen)>,
    pub can_activate_accel: Option<unsafe extern "C" fn(_: *mut GtkWidget, _: c_uint) -> gboolean>,
    pub composited_changed: Option<unsafe extern "C" fn(_: *mut GtkWidget)>,
    pub query_tooltip: Option<unsafe extern "C" fn(_: *mut GtkWidget, _: c_int, _: c_int, _: gboolean, _: *mut GtkTooltip) -> gboolean>,
    pub compute_expand: Option<unsafe extern "C" fn(_: *mut GtkWidget, _: *mut gboolean, _: *mut gboolean)>,
    pub adjust_size_request: Option<unsafe extern "C" fn(_: *mut GtkWidget, _: GtkOrientation, _: *mut c_int, _: *mut c_int)>,
    pub adjust_size_allocation: Option<unsafe extern "C" fn(_: *mut GtkWidget, _: GtkOrientation, _: *mut c_int, _: *mut c_int, _: *mut c_int, _: *mut c_int)>,
    pub style_updated: Option<unsafe extern "C" fn(_: *mut GtkWidget)>,
    pub touch_event: Option<unsafe extern "C" fn(_: *mut GtkWidget, _: *mut GdkEventTouch) -> gboolean>,
    pub get_preferred_height_and_baseline_for_width: Option<unsafe extern "C" fn(_: *mut GtkWidget, _: c_int, _: *mut c_int, _: *mut c_int, _: *mut c_int, _: *mut c_int)>,
    pub adjust_baseline_request: Option<unsafe extern "C" fn(_: *mut GtkWidget, _: *mut c_int, _: *mut c_int)>,
    pub adjust_baseline_allocation: Option<unsafe extern "C" fn(_: *mut GtkWidget, _: *mut c_int)>,
    pub queue_draw_region: Option<unsafe extern "C" fn(_: *mut GtkWidget, _: *const cairo_region_t)>,
    pub priv_: *mut GtkWidgetClassPrivate,
    pub _gtk_reserved6: Option<unsafe extern "C" fn()>,
    pub _gtk_reserved7: Option<unsafe extern "C" fn()>,
}

Fields

parent_class: GInitiallyUnownedClassactivate_signal: c_uintdispatch_child_properties_changed: Option<unsafe extern "C" fn(_: *mut GtkWidget, _: c_uint, _: *mut *mut GParamSpec)>destroy: Option<unsafe extern "C" fn(_: *mut GtkWidget)>show: Option<unsafe extern "C" fn(_: *mut GtkWidget)>show_all: Option<unsafe extern "C" fn(_: *mut GtkWidget)>hide: Option<unsafe extern "C" fn(_: *mut GtkWidget)>map: Option<unsafe extern "C" fn(_: *mut GtkWidget)>unmap: Option<unsafe extern "C" fn(_: *mut GtkWidget)>realize: Option<unsafe extern "C" fn(_: *mut GtkWidget)>unrealize: Option<unsafe extern "C" fn(_: *mut GtkWidget)>size_allocate: Option<unsafe extern "C" fn(_: *mut GtkWidget, _: *mut GtkAllocation)>state_changed: Option<unsafe extern "C" fn(_: *mut GtkWidget, _: GtkStateType)>state_flags_changed: Option<unsafe extern "C" fn(_: *mut GtkWidget, _: GtkStateFlags)>parent_set: Option<unsafe extern "C" fn(_: *mut GtkWidget, _: *mut GtkWidget)>hierarchy_changed: Option<unsafe extern "C" fn(_: *mut GtkWidget, _: *mut GtkWidget)>style_set: Option<unsafe extern "C" fn(_: *mut GtkWidget, _: *mut GtkStyle)>direction_changed: Option<unsafe extern "C" fn(_: *mut GtkWidget, _: GtkTextDirection)>grab_notify: Option<unsafe extern "C" fn(_: *mut GtkWidget, _: gboolean)>child_notify: Option<unsafe extern "C" fn(_: *mut GtkWidget, _: *mut GParamSpec)>draw: Option<unsafe extern "C" fn(_: *mut GtkWidget, _: *mut cairo_t) -> gboolean>get_request_mode: Option<unsafe extern "C" fn(_: *mut GtkWidget) -> GtkSizeRequestMode>get_preferred_height: Option<unsafe extern "C" fn(_: *mut GtkWidget, _: *mut c_int, _: *mut c_int)>get_preferred_width_for_height: Option<unsafe extern "C" fn(_: *mut GtkWidget, _: c_int, _: *mut c_int, _: *mut c_int)>get_preferred_width: Option<unsafe extern "C" fn(_: *mut GtkWidget, _: *mut c_int, _: *mut c_int)>get_preferred_height_for_width: Option<unsafe extern "C" fn(_: *mut GtkWidget, _: c_int, _: *mut c_int, _: *mut c_int)>mnemonic_activate: Option<unsafe extern "C" fn(_: *mut GtkWidget, _: gboolean) -> gboolean>grab_focus: Option<unsafe extern "C" fn(_: *mut GtkWidget)>focus: Option<unsafe extern "C" fn(_: *mut GtkWidget, _: GtkDirectionType) -> gboolean>move_focus: Option<unsafe extern "C" fn(_: *mut GtkWidget, _: GtkDirectionType)>keynav_failed: Option<unsafe extern "C" fn(_: *mut GtkWidget, _: GtkDirectionType) -> gboolean>event: Option<unsafe extern "C" fn(_: *mut GtkWidget, _: *mut GdkEvent) -> gboolean>button_press_event: Option<unsafe extern "C" fn(_: *mut GtkWidget, _: *mut GdkEventButton) -> gboolean>button_release_event: Option<unsafe extern "C" fn(_: *mut GtkWidget, _: *mut GdkEventButton) -> gboolean>scroll_event: Option<unsafe extern "C" fn(_: *mut GtkWidget, _: *mut GdkEventScroll) -> gboolean>motion_notify_event: Option<unsafe extern "C" fn(_: *mut GtkWidget, _: *mut GdkEventMotion) -> gboolean>delete_event: Option<unsafe extern "C" fn(_: *mut GtkWidget, _: *mut GdkEventAny) -> gboolean>destroy_event: Option<unsafe extern "C" fn(_: *mut GtkWidget, _: *mut GdkEventAny) -> gboolean>key_press_event: Option<unsafe extern "C" fn(_: *mut GtkWidget, _: *mut GdkEventKey) -> gboolean>key_release_event: Option<unsafe extern "C" fn(_: *mut GtkWidget, _: *mut GdkEventKey) -> gboolean>enter_notify_event: Option<unsafe extern "C" fn(_: *mut GtkWidget, _: *mut GdkEventCrossing) -> gboolean>leave_notify_event: Option<unsafe extern "C" fn(_: *mut GtkWidget, _: *mut GdkEventCrossing) -> gboolean>configure_event: Option<unsafe extern "C" fn(_: *mut GtkWidget, _: *mut GdkEventConfigure) -> gboolean>focus_in_event: Option<unsafe extern "C" fn(_: *mut GtkWidget, _: *mut GdkEventFocus) -> gboolean>focus_out_event: Option<unsafe extern "C" fn(_: *mut GtkWidget, _: *mut GdkEventFocus) -> gboolean>map_event: Option<unsafe extern "C" fn(_: *mut GtkWidget, _: *mut GdkEventAny) -> gboolean>unmap_event: Option<unsafe extern "C" fn(_: *mut GtkWidget, _: *mut GdkEventAny) -> gboolean>property_notify_event: Option<unsafe extern "C" fn(_: *mut GtkWidget, _: *mut GdkEventProperty) -> gboolean>selection_clear_event: Option<unsafe extern "C" fn(_: *mut GtkWidget, _: *mut GdkEventSelection) -> gboolean>selection_request_event: Option<unsafe extern "C" fn(_: *mut GtkWidget, _: *mut GdkEventSelection) -> gboolean>selection_notify_event: Option<unsafe extern "C" fn(_: *mut GtkWidget, _: *mut GdkEventSelection) -> gboolean>proximity_in_event: Option<unsafe extern "C" fn(_: *mut GtkWidget, _: *mut GdkEventProximity) -> gboolean>proximity_out_event: Option<unsafe extern "C" fn(_: *mut GtkWidget, _: *mut GdkEventProximity) -> gboolean>visibility_notify_event: Option<unsafe extern "C" fn(_: *mut GtkWidget, _: *mut GdkEventVisibility) -> gboolean>window_state_event: Option<unsafe extern "C" fn(_: *mut GtkWidget, _: *mut GdkEventWindowState) -> gboolean>damage_event: Option<unsafe extern "C" fn(_: *mut GtkWidget, _: *mut GdkEventExpose) -> gboolean>grab_broken_event: Option<unsafe extern "C" fn(_: *mut GtkWidget, _: *mut GdkEventGrabBroken) -> gboolean>selection_get: Option<unsafe extern "C" fn(_: *mut GtkWidget, _: *mut GtkSelectionData, _: c_uint, _: c_uint)>selection_received: Option<unsafe extern "C" fn(_: *mut GtkWidget, _: *mut GtkSelectionData, _: c_uint)>drag_begin: Option<unsafe extern "C" fn(_: *mut GtkWidget, _: *mut GdkDragContext)>drag_end: Option<unsafe extern "C" fn(_: *mut GtkWidget, _: *mut GdkDragContext)>drag_data_get: Option<unsafe extern "C" fn(_: *mut GtkWidget, _: *mut GdkDragContext, _: *mut GtkSelectionData, _: c_uint, _: c_uint)>drag_data_delete: Option<unsafe extern "C" fn(_: *mut GtkWidget, _: *mut GdkDragContext)>drag_leave: Option<unsafe extern "C" fn(_: *mut GtkWidget, _: *mut GdkDragContext, _: c_uint)>drag_motion: Option<unsafe extern "C" fn(_: *mut GtkWidget, _: *mut GdkDragContext, _: c_int, _: c_int, _: c_uint) -> gboolean>drag_drop: Option<unsafe extern "C" fn(_: *mut GtkWidget, _: *mut GdkDragContext, _: c_int, _: c_int, _: c_uint) -> gboolean>drag_data_received: Option<unsafe extern "C" fn(_: *mut GtkWidget, _: *mut GdkDragContext, _: c_int, _: c_int, _: *mut GtkSelectionData, _: c_uint, _: c_uint)>drag_failed: Option<unsafe extern "C" fn(_: *mut GtkWidget, _: *mut GdkDragContext, _: GtkDragResult) -> gboolean>popup_menu: Option<unsafe extern "C" fn(_: *mut GtkWidget) -> gboolean>show_help: Option<unsafe extern "C" fn(_: *mut GtkWidget, _: GtkWidgetHelpType) -> gboolean>get_accessible: Option<unsafe extern "C" fn(_: *mut GtkWidget) -> *mut AtkObject>screen_changed: Option<unsafe extern "C" fn(_: *mut GtkWidget, _: *mut GdkScreen)>can_activate_accel: Option<unsafe extern "C" fn(_: *mut GtkWidget, _: c_uint) -> gboolean>composited_changed: Option<unsafe extern "C" fn(_: *mut GtkWidget)>query_tooltip: Option<unsafe extern "C" fn(_: *mut GtkWidget, _: c_int, _: c_int, _: gboolean, _: *mut GtkTooltip) -> gboolean>compute_expand: Option<unsafe extern "C" fn(_: *mut GtkWidget, _: *mut gboolean, _: *mut gboolean)>adjust_size_request: Option<unsafe extern "C" fn(_: *mut GtkWidget, _: GtkOrientation, _: *mut c_int, _: *mut c_int)>adjust_size_allocation: Option<unsafe extern "C" fn(_: *mut GtkWidget, _: GtkOrientation, _: *mut c_int, _: *mut c_int, _: *mut c_int, _: *mut c_int)>style_updated: Option<unsafe extern "C" fn(_: *mut GtkWidget)>touch_event: Option<unsafe extern "C" fn(_: *mut GtkWidget, _: *mut GdkEventTouch) -> gboolean>get_preferred_height_and_baseline_for_width: Option<unsafe extern "C" fn(_: *mut GtkWidget, _: c_int, _: *mut c_int, _: *mut c_int, _: *mut c_int, _: *mut c_int)>adjust_baseline_request: Option<unsafe extern "C" fn(_: *mut GtkWidget, _: *mut c_int, _: *mut c_int)>adjust_baseline_allocation: Option<unsafe extern "C" fn(_: *mut GtkWidget, _: *mut c_int)>queue_draw_region: Option<unsafe extern "C" fn(_: *mut GtkWidget, _: *const cairo_region_t)>priv_: *mut GtkWidgetClassPrivate_gtk_reserved6: Option<unsafe extern "C" fn()>_gtk_reserved7: Option<unsafe extern "C" fn()>

Trait Implementations

impl Clone for GtkWidgetClass[src]

impl Copy for GtkWidgetClass[src]

impl Debug for GtkWidgetClass[src]

Auto Trait Implementations

impl RefUnwindSafe for GtkWidgetClass

impl !Send for GtkWidgetClass

impl !Sync for GtkWidgetClass

impl Unpin for GtkWidgetClass

impl UnwindSafe for GtkWidgetClass

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.