Struct gtk_sys::GtkWidgetClass [] [src]

#[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