diff options
author | Matthias Clasen <mclasen@redhat.com> | 2013-03-20 18:17:32 -0400 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2013-05-05 15:38:47 -0400 |
commit | 20c8c8b91cf2719249a729492ec84b7282dc03fb (patch) | |
tree | d53cf50689bceedbea093895d0e51a7c204cef76 /gtk/gtkwidget.h | |
parent | 8470eb84c080718120b5daf130db744bf6ec220b (diff) | |
download | gtk+-20c8c8b91cf2719249a729492ec84b7282dc03fb.tar.gz |
Add annotations to gtk headers
Add annotations to all exported functions in GTK+ headers.
Diffstat (limited to 'gtk/gtkwidget.h')
-rw-r--r-- | gtk/gtkwidget.h | 189 |
1 files changed, 189 insertions, 0 deletions
diff --git a/gtk/gtkwidget.h b/gtk/gtkwidget.h index 58bcea6355..0365e06960 100644 --- a/gtk/gtkwidget.h +++ b/gtk/gtkwidget.h @@ -466,38 +466,59 @@ struct _GtkWidgetAuxInfo GtkBorder margin; }; +GDK_AVAILABLE_IN_ALL GType gtk_widget_get_type (void) G_GNUC_CONST; +GDK_AVAILABLE_IN_ALL GtkWidget* gtk_widget_new (GType type, const gchar *first_property_name, ...); +GDK_AVAILABLE_IN_ALL void gtk_widget_destroy (GtkWidget *widget); +GDK_AVAILABLE_IN_ALL void gtk_widget_destroyed (GtkWidget *widget, GtkWidget **widget_pointer); +GDK_AVAILABLE_IN_ALL void gtk_widget_unparent (GtkWidget *widget); +GDK_AVAILABLE_IN_ALL void gtk_widget_show (GtkWidget *widget); +GDK_AVAILABLE_IN_ALL void gtk_widget_hide (GtkWidget *widget); +GDK_AVAILABLE_IN_ALL void gtk_widget_show_now (GtkWidget *widget); +GDK_AVAILABLE_IN_ALL void gtk_widget_show_all (GtkWidget *widget); +GDK_AVAILABLE_IN_ALL void gtk_widget_set_no_show_all (GtkWidget *widget, gboolean no_show_all); +GDK_AVAILABLE_IN_ALL gboolean gtk_widget_get_no_show_all (GtkWidget *widget); +GDK_AVAILABLE_IN_ALL void gtk_widget_map (GtkWidget *widget); +GDK_AVAILABLE_IN_ALL void gtk_widget_unmap (GtkWidget *widget); +GDK_AVAILABLE_IN_ALL void gtk_widget_realize (GtkWidget *widget); +GDK_AVAILABLE_IN_ALL void gtk_widget_unrealize (GtkWidget *widget); +GDK_AVAILABLE_IN_ALL void gtk_widget_draw (GtkWidget *widget, cairo_t *cr); /* Queuing draws */ +GDK_AVAILABLE_IN_ALL void gtk_widget_queue_draw (GtkWidget *widget); +GDK_AVAILABLE_IN_ALL void gtk_widget_queue_draw_area (GtkWidget *widget, gint x, gint y, gint width, gint height); +GDK_AVAILABLE_IN_ALL void gtk_widget_queue_draw_region (GtkWidget *widget, const cairo_region_t*region); +GDK_AVAILABLE_IN_ALL void gtk_widget_queue_resize (GtkWidget *widget); +GDK_AVAILABLE_IN_ALL void gtk_widget_queue_resize_no_redraw (GtkWidget *widget); GDK_AVAILABLE_IN_3_8 GdkFrameClock* gtk_widget_get_frame_clock (GtkWidget *widget); @@ -505,6 +526,7 @@ GdkFrameClock* gtk_widget_get_frame_clock (GtkWidget *widget); GDK_DEPRECATED_IN_3_0_FOR(gtk_widget_get_preferred_size) void gtk_widget_size_request (GtkWidget *widget, GtkRequisition *requisition); +GDK_AVAILABLE_IN_ALL void gtk_widget_size_allocate (GtkWidget *widget, GtkAllocation *allocation); GDK_AVAILABLE_IN_3_10 @@ -512,17 +534,22 @@ void gtk_widget_size_allocate_with_baseline (GtkWidget *widget, GtkAllocation *allocation, gint baseline); +GDK_AVAILABLE_IN_ALL GtkSizeRequestMode gtk_widget_get_request_mode (GtkWidget *widget); +GDK_AVAILABLE_IN_ALL void gtk_widget_get_preferred_width (GtkWidget *widget, gint *minimum_width, gint *natural_width); +GDK_AVAILABLE_IN_ALL void gtk_widget_get_preferred_height_for_width (GtkWidget *widget, gint width, gint *minimum_height, gint *natural_height); +GDK_AVAILABLE_IN_ALL void gtk_widget_get_preferred_height (GtkWidget *widget, gint *minimum_height, gint *natural_height); +GDK_AVAILABLE_IN_ALL void gtk_widget_get_preferred_width_for_height (GtkWidget *widget, gint height, gint *minimum_width, @@ -534,6 +561,7 @@ void gtk_widget_get_preferred_height_and_baseline_for_width (GtkWidget *wi gint *natural_height, gint *minimum_baseline, gint *natural_baseline); +GDK_AVAILABLE_IN_ALL void gtk_widget_get_preferred_size (GtkWidget *widget, GtkRequisition *minimum_size, GtkRequisition *natural_size); @@ -547,73 +575,104 @@ void gtk_widget_get_preferred_size_and_baseline (GtkWidget * GDK_DEPRECATED_IN_3_0_FOR(gtk_widget_get_preferred_size) void gtk_widget_get_child_requisition (GtkWidget *widget, GtkRequisition *requisition); +GDK_AVAILABLE_IN_ALL void gtk_widget_add_accelerator (GtkWidget *widget, const gchar *accel_signal, GtkAccelGroup *accel_group, guint accel_key, GdkModifierType accel_mods, GtkAccelFlags accel_flags); +GDK_AVAILABLE_IN_ALL gboolean gtk_widget_remove_accelerator (GtkWidget *widget, GtkAccelGroup *accel_group, guint accel_key, GdkModifierType accel_mods); +GDK_AVAILABLE_IN_ALL void gtk_widget_set_accel_path (GtkWidget *widget, const gchar *accel_path, GtkAccelGroup *accel_group); +GDK_AVAILABLE_IN_ALL GList* gtk_widget_list_accel_closures (GtkWidget *widget); +GDK_AVAILABLE_IN_ALL gboolean gtk_widget_can_activate_accel (GtkWidget *widget, guint signal_id); +GDK_AVAILABLE_IN_ALL gboolean gtk_widget_mnemonic_activate (GtkWidget *widget, gboolean group_cycling); +GDK_AVAILABLE_IN_ALL gboolean gtk_widget_event (GtkWidget *widget, GdkEvent *event); +GDK_AVAILABLE_IN_ALL gint gtk_widget_send_expose (GtkWidget *widget, GdkEvent *event); +GDK_AVAILABLE_IN_ALL gboolean gtk_widget_send_focus_change (GtkWidget *widget, GdkEvent *event); +GDK_AVAILABLE_IN_ALL gboolean gtk_widget_activate (GtkWidget *widget); +GDK_AVAILABLE_IN_ALL void gtk_widget_reparent (GtkWidget *widget, GtkWidget *new_parent); +GDK_AVAILABLE_IN_ALL gboolean gtk_widget_intersect (GtkWidget *widget, const GdkRectangle *area, GdkRectangle *intersection); +GDK_AVAILABLE_IN_ALL cairo_region_t *gtk_widget_region_intersect (GtkWidget *widget, const cairo_region_t *region); +GDK_AVAILABLE_IN_ALL void gtk_widget_freeze_child_notify (GtkWidget *widget); +GDK_AVAILABLE_IN_ALL void gtk_widget_child_notify (GtkWidget *widget, const gchar *child_property); +GDK_AVAILABLE_IN_ALL void gtk_widget_thaw_child_notify (GtkWidget *widget); +GDK_AVAILABLE_IN_ALL void gtk_widget_set_can_focus (GtkWidget *widget, gboolean can_focus); +GDK_AVAILABLE_IN_ALL gboolean gtk_widget_get_can_focus (GtkWidget *widget); +GDK_AVAILABLE_IN_ALL gboolean gtk_widget_has_focus (GtkWidget *widget); +GDK_AVAILABLE_IN_ALL gboolean gtk_widget_is_focus (GtkWidget *widget); GDK_AVAILABLE_IN_3_2 gboolean gtk_widget_has_visible_focus (GtkWidget *widget); +GDK_AVAILABLE_IN_ALL void gtk_widget_grab_focus (GtkWidget *widget); +GDK_AVAILABLE_IN_ALL void gtk_widget_set_can_default (GtkWidget *widget, gboolean can_default); +GDK_AVAILABLE_IN_ALL gboolean gtk_widget_get_can_default (GtkWidget *widget); +GDK_AVAILABLE_IN_ALL gboolean gtk_widget_has_default (GtkWidget *widget); +GDK_AVAILABLE_IN_ALL void gtk_widget_grab_default (GtkWidget *widget); +GDK_AVAILABLE_IN_ALL void gtk_widget_set_receives_default (GtkWidget *widget, gboolean receives_default); +GDK_AVAILABLE_IN_ALL gboolean gtk_widget_get_receives_default (GtkWidget *widget); +GDK_AVAILABLE_IN_ALL gboolean gtk_widget_has_grab (GtkWidget *widget); +GDK_AVAILABLE_IN_ALL gboolean gtk_widget_device_is_shadowed (GtkWidget *widget, GdkDevice *device); +GDK_AVAILABLE_IN_ALL void gtk_widget_set_name (GtkWidget *widget, const gchar *name); +GDK_AVAILABLE_IN_ALL const gchar * gtk_widget_get_name (GtkWidget *widget); GDK_DEPRECATED_IN_3_0_FOR(gtk_widget_set_state_flags) @@ -623,61 +682,91 @@ void gtk_widget_set_state (GtkWidget *widget, GDK_DEPRECATED_IN_3_0_FOR(gtk_widget_get_state_flags) GtkStateType gtk_widget_get_state (GtkWidget *widget); +GDK_AVAILABLE_IN_ALL void gtk_widget_set_state_flags (GtkWidget *widget, GtkStateFlags flags, gboolean clear); +GDK_AVAILABLE_IN_ALL void gtk_widget_unset_state_flags (GtkWidget *widget, GtkStateFlags flags); +GDK_AVAILABLE_IN_ALL GtkStateFlags gtk_widget_get_state_flags (GtkWidget *widget); +GDK_AVAILABLE_IN_ALL void gtk_widget_set_sensitive (GtkWidget *widget, gboolean sensitive); +GDK_AVAILABLE_IN_ALL gboolean gtk_widget_get_sensitive (GtkWidget *widget); +GDK_AVAILABLE_IN_ALL gboolean gtk_widget_is_sensitive (GtkWidget *widget); +GDK_AVAILABLE_IN_ALL void gtk_widget_set_visible (GtkWidget *widget, gboolean visible); +GDK_AVAILABLE_IN_ALL gboolean gtk_widget_get_visible (GtkWidget *widget); +GDK_AVAILABLE_IN_ALL gboolean gtk_widget_is_visible (GtkWidget *widget); +GDK_AVAILABLE_IN_ALL void gtk_widget_set_has_window (GtkWidget *widget, gboolean has_window); +GDK_AVAILABLE_IN_ALL gboolean gtk_widget_get_has_window (GtkWidget *widget); +GDK_AVAILABLE_IN_ALL gboolean gtk_widget_is_toplevel (GtkWidget *widget); +GDK_AVAILABLE_IN_ALL gboolean gtk_widget_is_drawable (GtkWidget *widget); +GDK_AVAILABLE_IN_ALL void gtk_widget_set_realized (GtkWidget *widget, gboolean realized); +GDK_AVAILABLE_IN_ALL gboolean gtk_widget_get_realized (GtkWidget *widget); +GDK_AVAILABLE_IN_ALL void gtk_widget_set_mapped (GtkWidget *widget, gboolean mapped); +GDK_AVAILABLE_IN_ALL gboolean gtk_widget_get_mapped (GtkWidget *widget); +GDK_AVAILABLE_IN_ALL void gtk_widget_set_app_paintable (GtkWidget *widget, gboolean app_paintable); +GDK_AVAILABLE_IN_ALL gboolean gtk_widget_get_app_paintable (GtkWidget *widget); +GDK_AVAILABLE_IN_ALL void gtk_widget_set_double_buffered (GtkWidget *widget, gboolean double_buffered); +GDK_AVAILABLE_IN_ALL gboolean gtk_widget_get_double_buffered (GtkWidget *widget); +GDK_AVAILABLE_IN_ALL void gtk_widget_set_redraw_on_allocate (GtkWidget *widget, gboolean redraw_on_allocate); +GDK_AVAILABLE_IN_ALL void gtk_widget_set_parent (GtkWidget *widget, GtkWidget *parent); +GDK_AVAILABLE_IN_ALL GtkWidget * gtk_widget_get_parent (GtkWidget *widget); +GDK_AVAILABLE_IN_ALL void gtk_widget_set_parent_window (GtkWidget *widget, GdkWindow *parent_window); +GDK_AVAILABLE_IN_ALL GdkWindow * gtk_widget_get_parent_window (GtkWidget *widget); +GDK_AVAILABLE_IN_ALL void gtk_widget_set_child_visible (GtkWidget *widget, gboolean is_visible); +GDK_AVAILABLE_IN_ALL gboolean gtk_widget_get_child_visible (GtkWidget *widget); +GDK_AVAILABLE_IN_ALL void gtk_widget_set_window (GtkWidget *widget, GdkWindow *window); +GDK_AVAILABLE_IN_ALL GdkWindow * gtk_widget_get_window (GtkWidget *widget); GDK_AVAILABLE_IN_3_8 void gtk_widget_register_window (GtkWidget *widget, @@ -686,13 +775,17 @@ GDK_AVAILABLE_IN_3_8 void gtk_widget_unregister_window (GtkWidget *widget, GdkWindow *window); +GDK_AVAILABLE_IN_ALL int gtk_widget_get_allocated_width (GtkWidget *widget); +GDK_AVAILABLE_IN_ALL int gtk_widget_get_allocated_height (GtkWidget *widget); GDK_AVAILABLE_IN_3_10 int gtk_widget_get_allocated_baseline (GtkWidget *widget); +GDK_AVAILABLE_IN_ALL void gtk_widget_get_allocation (GtkWidget *widget, GtkAllocation *allocation); +GDK_AVAILABLE_IN_ALL void gtk_widget_set_allocation (GtkWidget *widget, const GtkAllocation *allocation); @@ -700,25 +793,34 @@ GDK_DEPRECATED_IN_3_0_FOR(gtk_widget_get_preferred_width and gtk_widget_get_pref void gtk_widget_get_requisition (GtkWidget *widget, GtkRequisition *requisition); +GDK_AVAILABLE_IN_ALL gboolean gtk_widget_child_focus (GtkWidget *widget, GtkDirectionType direction); +GDK_AVAILABLE_IN_ALL gboolean gtk_widget_keynav_failed (GtkWidget *widget, GtkDirectionType direction); +GDK_AVAILABLE_IN_ALL void gtk_widget_error_bell (GtkWidget *widget); +GDK_AVAILABLE_IN_ALL void gtk_widget_set_size_request (GtkWidget *widget, gint width, gint height); +GDK_AVAILABLE_IN_ALL void gtk_widget_get_size_request (GtkWidget *widget, gint *width, gint *height); +GDK_AVAILABLE_IN_ALL void gtk_widget_set_events (GtkWidget *widget, gint events); +GDK_AVAILABLE_IN_ALL void gtk_widget_add_events (GtkWidget *widget, gint events); +GDK_AVAILABLE_IN_ALL void gtk_widget_set_device_events (GtkWidget *widget, GdkDevice *device, GdkEventMask events); +GDK_AVAILABLE_IN_ALL void gtk_widget_add_device_events (GtkWidget *widget, GdkDevice *device, GdkEventMask events); @@ -728,48 +830,72 @@ void gtk_widget_set_opacity (GtkWidget *widget, GDK_AVAILABLE_IN_3_8 double gtk_widget_get_opacity (GtkWidget *widget); +GDK_AVAILABLE_IN_ALL void gtk_widget_set_device_enabled (GtkWidget *widget, GdkDevice *device, gboolean enabled); +GDK_AVAILABLE_IN_ALL gboolean gtk_widget_get_device_enabled (GtkWidget *widget, GdkDevice *device); +GDK_AVAILABLE_IN_ALL GtkWidget* gtk_widget_get_toplevel (GtkWidget *widget); +GDK_AVAILABLE_IN_ALL GtkWidget* gtk_widget_get_ancestor (GtkWidget *widget, GType widget_type); +GDK_AVAILABLE_IN_ALL GdkVisual* gtk_widget_get_visual (GtkWidget *widget); +GDK_AVAILABLE_IN_ALL void gtk_widget_set_visual (GtkWidget *widget, GdkVisual *visual); +GDK_AVAILABLE_IN_ALL GdkScreen * gtk_widget_get_screen (GtkWidget *widget); +GDK_AVAILABLE_IN_ALL gboolean gtk_widget_has_screen (GtkWidget *widget); +GDK_AVAILABLE_IN_ALL GdkDisplay * gtk_widget_get_display (GtkWidget *widget); +GDK_AVAILABLE_IN_ALL GdkWindow * gtk_widget_get_root_window (GtkWidget *widget); +GDK_AVAILABLE_IN_ALL GtkSettings* gtk_widget_get_settings (GtkWidget *widget); +GDK_AVAILABLE_IN_ALL GtkClipboard *gtk_widget_get_clipboard (GtkWidget *widget, GdkAtom selection); /* Expand flags and related support */ +GDK_AVAILABLE_IN_ALL gboolean gtk_widget_get_hexpand (GtkWidget *widget); +GDK_AVAILABLE_IN_ALL void gtk_widget_set_hexpand (GtkWidget *widget, gboolean expand); +GDK_AVAILABLE_IN_ALL gboolean gtk_widget_get_hexpand_set (GtkWidget *widget); +GDK_AVAILABLE_IN_ALL void gtk_widget_set_hexpand_set (GtkWidget *widget, gboolean set); +GDK_AVAILABLE_IN_ALL gboolean gtk_widget_get_vexpand (GtkWidget *widget); +GDK_AVAILABLE_IN_ALL void gtk_widget_set_vexpand (GtkWidget *widget, gboolean expand); +GDK_AVAILABLE_IN_ALL gboolean gtk_widget_get_vexpand_set (GtkWidget *widget); +GDK_AVAILABLE_IN_ALL void gtk_widget_set_vexpand_set (GtkWidget *widget, gboolean set); +GDK_AVAILABLE_IN_ALL void gtk_widget_queue_compute_expand (GtkWidget *widget); +GDK_AVAILABLE_IN_ALL gboolean gtk_widget_compute_expand (GtkWidget *widget, GtkOrientation orientation); /* Multidevice support */ +GDK_AVAILABLE_IN_ALL gboolean gtk_widget_get_support_multidevice (GtkWidget *widget); +GDK_AVAILABLE_IN_ALL void gtk_widget_set_support_multidevice (GtkWidget *widget, gboolean support_multidevice); @@ -780,33 +906,48 @@ void gtk_widget_class_set_accessible_type (GtkWidgetClass *wi GDK_AVAILABLE_IN_3_2 void gtk_widget_class_set_accessible_role (GtkWidgetClass *widget_class, AtkRole role); +GDK_AVAILABLE_IN_ALL AtkObject* gtk_widget_get_accessible (GtkWidget *widget); /* Margin and alignment */ +GDK_AVAILABLE_IN_ALL GtkAlign gtk_widget_get_halign (GtkWidget *widget); +GDK_AVAILABLE_IN_ALL void gtk_widget_set_halign (GtkWidget *widget, GtkAlign align); +GDK_AVAILABLE_IN_ALL GtkAlign gtk_widget_get_valign (GtkWidget *widget); GDK_AVAILABLE_IN_3_10 GtkAlign gtk_widget_get_valign_with_baseline (GtkWidget *widget); +GDK_AVAILABLE_IN_ALL void gtk_widget_set_valign (GtkWidget *widget, GtkAlign align); +GDK_AVAILABLE_IN_ALL gint gtk_widget_get_margin_left (GtkWidget *widget); +GDK_AVAILABLE_IN_ALL void gtk_widget_set_margin_left (GtkWidget *widget, gint margin); +GDK_AVAILABLE_IN_ALL gint gtk_widget_get_margin_right (GtkWidget *widget); +GDK_AVAILABLE_IN_ALL void gtk_widget_set_margin_right (GtkWidget *widget, gint margin); +GDK_AVAILABLE_IN_ALL gint gtk_widget_get_margin_top (GtkWidget *widget); +GDK_AVAILABLE_IN_ALL void gtk_widget_set_margin_top (GtkWidget *widget, gint margin); +GDK_AVAILABLE_IN_ALL gint gtk_widget_get_margin_bottom (GtkWidget *widget); +GDK_AVAILABLE_IN_ALL void gtk_widget_set_margin_bottom (GtkWidget *widget, gint margin); +GDK_AVAILABLE_IN_ALL gint gtk_widget_get_events (GtkWidget *widget); +GDK_AVAILABLE_IN_ALL GdkEventMask gtk_widget_get_device_events (GtkWidget *widget, GdkDevice *device); GDK_DEPRECATED_IN_3_4_FOR(gdk_window_get_device_position) @@ -814,9 +955,11 @@ void gtk_widget_get_pointer (GtkWidget *widget, gint *x, gint *y); +GDK_AVAILABLE_IN_ALL gboolean gtk_widget_is_ancestor (GtkWidget *widget, GtkWidget *ancestor); +GDK_AVAILABLE_IN_ALL gboolean gtk_widget_translate_coordinates (GtkWidget *src_widget, GtkWidget *dest_widget, gint src_x, @@ -826,33 +969,44 @@ gboolean gtk_widget_translate_coordinates (GtkWidget *src_widget, /* Hide widget and return TRUE. */ +GDK_AVAILABLE_IN_ALL gboolean gtk_widget_hide_on_delete (GtkWidget *widget); /* Functions to override widget styling */ +GDK_AVAILABLE_IN_ALL void gtk_widget_override_color (GtkWidget *widget, GtkStateFlags state, const GdkRGBA *color); +GDK_AVAILABLE_IN_ALL void gtk_widget_override_background_color (GtkWidget *widget, GtkStateFlags state, const GdkRGBA *color); +GDK_AVAILABLE_IN_ALL void gtk_widget_override_font (GtkWidget *widget, const PangoFontDescription *font_desc); +GDK_AVAILABLE_IN_ALL void gtk_widget_override_symbolic_color (GtkWidget *widget, const gchar *name, const GdkRGBA *color); +GDK_AVAILABLE_IN_ALL void gtk_widget_override_cursor (GtkWidget *widget, const GdkRGBA *cursor, const GdkRGBA *secondary_cursor); +GDK_AVAILABLE_IN_ALL void gtk_widget_reset_style (GtkWidget *widget); +GDK_AVAILABLE_IN_ALL PangoContext *gtk_widget_create_pango_context (GtkWidget *widget); +GDK_AVAILABLE_IN_ALL PangoContext *gtk_widget_get_pango_context (GtkWidget *widget); +GDK_AVAILABLE_IN_ALL PangoLayout *gtk_widget_create_pango_layout (GtkWidget *widget, const gchar *text); +GDK_AVAILABLE_IN_ALL GdkPixbuf *gtk_widget_render_icon_pixbuf (GtkWidget *widget, const gchar *stock_id, GtkIconSize size); @@ -877,79 +1031,114 @@ void gtk_widget_pop_composite_child (void); /* widget style properties */ +GDK_AVAILABLE_IN_ALL void gtk_widget_class_install_style_property (GtkWidgetClass *klass, GParamSpec *pspec); +GDK_AVAILABLE_IN_ALL void gtk_widget_class_install_style_property_parser (GtkWidgetClass *klass, GParamSpec *pspec, GtkRcPropertyParser parser); +GDK_AVAILABLE_IN_ALL GParamSpec* gtk_widget_class_find_style_property (GtkWidgetClass *klass, const gchar *property_name); +GDK_AVAILABLE_IN_ALL GParamSpec** gtk_widget_class_list_style_properties (GtkWidgetClass *klass, guint *n_properties); +GDK_AVAILABLE_IN_ALL void gtk_widget_style_get_property (GtkWidget *widget, const gchar *property_name, GValue *value); +GDK_AVAILABLE_IN_ALL void gtk_widget_style_get_valist (GtkWidget *widget, const gchar *first_property_name, va_list var_args); +GDK_AVAILABLE_IN_ALL void gtk_widget_style_get (GtkWidget *widget, const gchar *first_property_name, ...) G_GNUC_NULL_TERMINATED; /* Functions for setting directionality for widgets */ +GDK_AVAILABLE_IN_ALL void gtk_widget_set_direction (GtkWidget *widget, GtkTextDirection dir); +GDK_AVAILABLE_IN_ALL GtkTextDirection gtk_widget_get_direction (GtkWidget *widget); +GDK_AVAILABLE_IN_ALL void gtk_widget_set_default_direction (GtkTextDirection dir); +GDK_AVAILABLE_IN_ALL GtkTextDirection gtk_widget_get_default_direction (void); /* Compositing manager functionality */ +GDK_AVAILABLE_IN_ALL gboolean gtk_widget_is_composited (GtkWidget *widget); /* Counterpart to gdk_window_shape_combine_region. */ +GDK_AVAILABLE_IN_ALL void gtk_widget_shape_combine_region (GtkWidget *widget, cairo_region_t *region); +GDK_AVAILABLE_IN_ALL void gtk_widget_input_shape_combine_region (GtkWidget *widget, cairo_region_t *region); +GDK_AVAILABLE_IN_ALL GList* gtk_widget_list_mnemonic_labels (GtkWidget *widget); +GDK_AVAILABLE_IN_ALL void gtk_widget_add_mnemonic_label (GtkWidget *widget, GtkWidget *label); +GDK_AVAILABLE_IN_ALL void gtk_widget_remove_mnemonic_label (GtkWidget *widget, GtkWidget *label); +GDK_AVAILABLE_IN_ALL void gtk_widget_set_tooltip_window (GtkWidget *widget, GtkWindow *custom_window); +GDK_AVAILABLE_IN_ALL GtkWindow *gtk_widget_get_tooltip_window (GtkWidget *widget); +GDK_AVAILABLE_IN_ALL void gtk_widget_trigger_tooltip_query (GtkWidget *widget); +GDK_AVAILABLE_IN_ALL void gtk_widget_set_tooltip_text (GtkWidget *widget, const gchar *text); +GDK_AVAILABLE_IN_ALL gchar * gtk_widget_get_tooltip_text (GtkWidget *widget); +GDK_AVAILABLE_IN_ALL void gtk_widget_set_tooltip_markup (GtkWidget *widget, const gchar *markup); +GDK_AVAILABLE_IN_ALL gchar * gtk_widget_get_tooltip_markup (GtkWidget *widget); +GDK_AVAILABLE_IN_ALL void gtk_widget_set_has_tooltip (GtkWidget *widget, gboolean has_tooltip); +GDK_AVAILABLE_IN_ALL gboolean gtk_widget_get_has_tooltip (GtkWidget *widget); +GDK_AVAILABLE_IN_ALL gboolean gtk_cairo_should_draw_window (cairo_t *cr, GdkWindow *window); +GDK_AVAILABLE_IN_ALL void gtk_cairo_transform_to_window (cairo_t *cr, GtkWidget *widget, GdkWindow *window); +GDK_AVAILABLE_IN_ALL GType gtk_requisition_get_type (void) G_GNUC_CONST; +GDK_AVAILABLE_IN_ALL GtkRequisition *gtk_requisition_new (void) G_GNUC_MALLOC; +GDK_AVAILABLE_IN_ALL GtkRequisition *gtk_requisition_copy (const GtkRequisition *requisition); +GDK_AVAILABLE_IN_ALL void gtk_requisition_free (GtkRequisition *requisition); +GDK_AVAILABLE_IN_ALL gboolean gtk_widget_in_destruction (GtkWidget *widget); +GDK_AVAILABLE_IN_ALL GtkStyleContext * gtk_widget_get_style_context (GtkWidget *widget); +GDK_AVAILABLE_IN_ALL GtkWidgetPath * gtk_widget_get_path (GtkWidget *widget); GDK_AVAILABLE_IN_3_4 |