Github User Fetcher 1.0.0
C Application with Server and GUI
Loading...
Searching...
No Matches
gtkwidget.h
Go to the documentation of this file.
1/* GTK - The GIMP Toolkit
2 * Copyright (C) 1995-1997 Peter Mattis, Spencer Kimball and Josh MacDonald
3 *
4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Lesser General Public
6 * License as published by the Free Software Foundation; either
7 * version 2 of the License, or (at your option) any later version.
8 *
9 * This library is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 * Lesser General Public License for more details.
13 *
14 * You should have received a copy of the GNU Lesser General Public
15 * License along with this library. If not, see <http://www.gnu.org/licenses/>.
16 */
17
18/*
19 * Modified by the GTK+ Team and others 1997-2000. See the AUTHORS
20 * file for a list of people on the GTK+ Team. See the ChangeLog
21 * files for a list of changes. These files are distributed with
22 * GTK+ at ftp://ftp.gtk.org/pub/gtk/.
23 */
24
25#pragma once
26
27#if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION)
28#error "Only <gtk/gtk.h> can be included directly."
29#endif
30
31#include <gdk/gdk.h>
32#include <gsk/gsk.h>
33#include <gtk/gtkenums.h>
34#include <gtk/gtkshortcut.h>
36#include <gtk/gtktypes.h>
37
39
40/* Macro for casting a pointer to a GtkWidget or GtkWidgetClass pointer.
41 * Macros for testing whether widget or klass are of type GTK_TYPE_WIDGET.
42 */
43#define GTK_TYPE_WIDGET (gtk_widget_get_type ())
44#define GTK_WIDGET(widget) (G_TYPE_CHECK_INSTANCE_CAST ((widget), GTK_TYPE_WIDGET, GtkWidget))
45#define GTK_WIDGET_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_WIDGET, GtkWidgetClass))
46#define GTK_IS_WIDGET(widget) (G_TYPE_CHECK_INSTANCE_TYPE ((widget), GTK_TYPE_WIDGET))
47#define GTK_IS_WIDGET_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_WIDGET))
48#define GTK_WIDGET_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_WIDGET, GtkWidgetClass))
49
50#define GTK_TYPE_REQUISITION (gtk_requisition_get_type ())
51
52typedef struct _GtkWidgetPrivate GtkWidgetPrivate;
54typedef struct _GtkWidgetClassPrivate GtkWidgetClassPrivate;
55
56/**
57 * GtkAllocation:
58 * @x: the X position of the widget’s area relative to its parents allocation.
59 * @y: the Y position of the widget’s area relative to its parents allocation.
60 * @width: the width of the widget’s allocated area.
61 * @height: the height of the widget’s allocated area.
62 *
63 * The rectangle representing the area allocated for a widget by its parent.
64 */
66
67/**
68 * GtkTickCallback:
69 * @widget: the widget
70 * @frame_clock: the frame clock for the widget (same as calling gtk_widget_get_frame_clock())
71 * @user_data: user data passed to gtk_widget_add_tick_callback().
72 *
73 * Callback type for adding a function to update animations. See gtk_widget_add_tick_callback().
74 *
75 * Returns: %G_SOURCE_CONTINUE if the tick callback should continue to be called,
76 * %G_SOURCE_REMOVE if the tick callback should be removed.
77 */
79 GdkFrameClock *frame_clock,
80 gpointer user_data);
81
82/**
83 * GtkRequisition:
84 * @width: the widget’s desired width
85 * @height: the widget’s desired height
86 *
87 * A `GtkRequisition` represents the desired size of a widget. See
88 * [GtkWidget’s geometry management section](class.Widget.html#height-for-width-geometry-management) for
89 * more information.
90 */
92{
93 int width;
94 int height;
95};
96
97/* The widget is the base of the tree for displayable objects.
98 * (A displayable object is one which takes up some amount
99 * of screen real estate). It provides a common base and interface
100 * which actual widgets must adhere to.
101 */
103{
105
106 /*< private >*/
107
109};
110
111/**
112 * GtkWidgetClass:
113 * @parent_class: The object class structure needs to be the first
114 * element in the widget class structure in order for the class mechanism
115 * to work correctly. This allows a GtkWidgetClass pointer to be cast to
116 * a GObjectClass pointer.
117 * @show: Signal emitted when widget is shown
118 * @hide: Signal emitted when widget is hidden.
119 * @map: Signal emitted when widget is going to be mapped, that is
120 * when the widget is visible (which is controlled with
121 * gtk_widget_set_visible()) and all its parents up to the toplevel
122 * widget are also visible.
123 * @unmap: Signal emitted when widget is going to be unmapped, which
124 * means that either it or any of its parents up to the toplevel
125 * widget have been set as hidden.
126 * @realize: Signal emitted when widget is associated with a
127 * `GdkSurface`, which means that gtk_widget_realize() has been called or
128 * the widget has been mapped (that is, it is going to be drawn).
129 * @unrealize: Signal emitted when the GdkSurface associated with
130 * widget is destroyed, which means that gtk_widget_unrealize() has
131 * been called or the widget has been unmapped (that is, it is going
132 * to be hidden).
133 * @root: Called when the widget gets added to a `GtkRoot` widget. Must
134 * chain up
135 * @unroot: Called when the widget is about to be removed from its
136 * `GtkRoot` widget. Must chain up
137 * @size_allocate: Called to set the allocation, if the widget does
138 * not have a layout manager.
139 * @state_flags_changed: Signal emitted when the widget state changes,
140 * see gtk_widget_get_state_flags().
141 * @direction_changed: Signal emitted when the text direction of a
142 * widget changes.
143 * @get_request_mode: Called to get the request mode, if the widget
144 * does not have a layout manager.
145 * This allows a widget to tell its parent container whether
146 * it prefers to be allocated in %GTK_SIZE_REQUEST_HEIGHT_FOR_WIDTH or
147 * %GTK_SIZE_REQUEST_WIDTH_FOR_HEIGHT mode.
148 * %GTK_SIZE_REQUEST_HEIGHT_FOR_WIDTH means the widget prefers to have
149 * `GtkWidgetClass.measure()` called first to get the default width (passing
150 * a for_size of -1), then again to get the height for said default width.
151 * %GTK_SIZE_REQUEST_CONSTANT_SIZE disables any height-for-width or
152 * width-for-height geometry management for said widget and is the
153 * default return.
154 * It’s important to note that any widget
155 * which trades height-for-width or width-for-height must respond properly
156 * to a for_size value >= -1 passed to `GtkWidgetClass.measure`, for both
157 * possible orientations.
158 * @measure: Called to obtain the minimum and natural size of the widget,
159 * if the widget does not have a layout manager.
160 * Depending on the orientation parameter, the passed for_size can be
161 * interpreted as width or height. A widget will never be allocated less
162 * than its minimum size.
163 * @mnemonic_activate: Activates the @widget if @group_cycling is
164 * %FALSE, and just grabs the focus if @group_cycling is %TRUE.
165 * @grab_focus: Causes @widget to have the keyboard focus for the
166 * `GtkWindow` it’s inside.
167 * @focus: Vfunc for gtk_widget_child_focus()
168 * @set_focus_child: Sets the focused child of a widget. Must chain up
169 * @move_focus: Signal emitted when a change of focus is requested
170 * @keynav_failed: Signal emitted if keyboard navigation fails.
171 * @query_tooltip: Signal emitted when “has-tooltip” is %TRUE and the
172 * hover timeout has expired with the cursor hovering “above”
173 * widget; or emitted when widget got focus in keyboard mode.
174 * @compute_expand: Computes whether a container should give this
175 * widget extra space when possible.
176 * @css_changed: Vfunc called when the CSS used by widget was changed. Widgets
177 * should then discard their caches that depend on CSS and queue resizes or
178 * redraws accordingly. The default implementation will take care of this for
179 * all the default CSS properties, so implementations must chain up.
180 * @system_setting_changed: Emitted when a system setting was changed. Must chain up.
181 * @snapshot: Vfunc called when a new snapshot of the widget has to be taken.
182 * @contains: Vfunc for gtk_widget_contains().
183 */
185{
187
188 /*< public >*/
189
190 /* basics */
191 void (* show) (GtkWidget *widget);
192 void (* hide) (GtkWidget *widget);
193 void (* map) (GtkWidget *widget);
194 void (* unmap) (GtkWidget *widget);
195 void (* realize) (GtkWidget *widget);
196 void (* unrealize) (GtkWidget *widget);
197 void (* root) (GtkWidget *widget);
198 void (* unroot) (GtkWidget *widget);
199 void (* size_allocate) (GtkWidget *widget,
200 int width,
201 int height,
202 int baseline);
204 GtkStateFlags previous_state_flags);
205 void (* direction_changed) (GtkWidget *widget,
206 GtkTextDirection previous_direction);
207
208 /* size requests */
210 void (* measure) (GtkWidget *widget,
211 GtkOrientation orientation,
212 int for_size,
213 int *minimum,
214 int *natural,
215 int *minimum_baseline,
216 int *natural_baseline);
217
218 /* Mnemonics */
220 gboolean group_cycling);
221
222 /* explicit focus */
225 GtkDirectionType direction);
226 void (* set_focus_child) (GtkWidget *widget,
227 GtkWidget *child);
228
229 /* keyboard navigation */
230 void (* move_focus) (GtkWidget *widget,
231 GtkDirectionType direction);
233 GtkDirectionType direction);
234
236 int x,
237 int y,
238 gboolean keyboard_tooltip,
239 GtkTooltip *tooltip);
240
241 void (* compute_expand) (GtkWidget *widget,
242 gboolean *hexpand_p,
243 gboolean *vexpand_p);
244
245 void (* css_changed) (GtkWidget *widget,
246 GtkCssStyleChange *change);
247
249 GtkSystemSetting settings);
250
251 void (* snapshot) (GtkWidget *widget,
253
255 double x,
256 double y);
257
258 /*< private >*/
259
261
263};
264
265
282
283/* Queuing draws */
292
295 const GtkAllocation *allocation,
296 int baseline);
299 int width,
300 int height,
301 int baseline,
302 GskTransform *transform);
303
308 GtkOrientation orientation,
309 int for_size,
310 int *minimum,
311 int *natural,
312 int *minimum_baseline,
313 int *natural_baseline);
316 GtkRequisition *minimum_size,
317 GtkRequisition *natural_size);
318
321 GtkLayoutManager *layout_manager);
324
327 GType type);
330
334 GdkModifierType mods,
335 GtkShortcutFunc callback,
336 const char *format_string,
337 ...);
340 (GtkWidgetClass *widget_class,
342 GdkModifierType mods,
343 const char *signal,
344 const char *format_string,
345 ...);
348 (GtkWidgetClass *widget_class,
350 GdkModifierType mods,
351 const char *action_name,
352 const char *format_string,
353 ...);
356 GtkShortcut *shortcut);
357
360 guint signal_id);
363 const char *signal_name);
366
369 gboolean group_cycling);
372
375 gboolean can_focus);
380 gboolean focusable);
393 gboolean focus_on_click);
396
399 gboolean can_target);
402
405
408 gboolean receives_default);
411
412
415 const char *name);
417const char * gtk_widget_get_name (GtkWidget *widget);
418
419
422 GtkStateFlags flags,
423 gboolean clear);
426 GtkStateFlags flags);
429
432 gboolean sensitive);
437
440 gboolean visible);
445
452
455 GtkWidget *parent);
458
461
464
467 gboolean child_visible);
470
477
480 GtkAllocation *allocation);
483 GtkWidget *target,
487 GtkWidget *target,
491 GtkWidget *target,
492 const graphene_point_t *point,
494
503 GtkOrientation orientation);
504
507 GtkDirectionType direction);
510 GtkDirectionType direction);
513
516 int width,
517 int height);
520 int *width,
521 int *height);
524 double opacity);
529 GtkOverflow overflow);
532
535 GType widget_type);
536
547
548
549/* Expand flags and related support */
554 gboolean expand);
559 gboolean set);
564 gboolean expand);
569 gboolean set);
572 GtkOrientation orientation);
573
574/* Margin and alignment */
579 GtkAlign align);
584 GtkAlign align);
589 int margin);
594 int margin);
599 int margin);
604 int margin);
605
608 GtkWidget *ancestor);
609
612 GtkWidget *dest_widget,
613 double src_x,
614 double src_y,
615 double *dest_x,
616 double *dest_y);
617
620 double x,
621 double y);
624 double x,
625 double y,
626 GtkPickFlags flags);
627
630 GtkEventController *controller);
633 GtkEventController *controller);
634
641 const cairo_font_options_t *options);
646 const char *text);
647
648/* Functions for setting directionality for widgets */
649
652 GtkTextDirection dir);
655
660
663 GdkCursor *cursor);
666 const char *name);
669
674 GtkWidget *label);
677 GtkWidget *label);
678
683 const char *text);
688 const char *markup);
693 gboolean has_tooltip);
696
705
708
711
714 const char *name);
717
720 GtkTickCallback callback,
721 gpointer user_data,
722 GDestroyNotify notify);
723
726 guint id);
727
728/**
729 * gtk_widget_class_bind_template_callback:
730 * @widget_class: a `GtkWidgetClass`
731 * @callback: the callback symbol
732 *
733 * Binds a callback function defined in a template to the @widget_class.
734 *
735 * This macro is a convenience wrapper around the
736 * gtk_widget_class_bind_template_callback_full() function. It is not
737 * supported after gtk_widget_class_set_template_scope() has been used
738 * on @widget_class.
739 */
740#define gtk_widget_class_bind_template_callback(widget_class, callback) \
741 gtk_widget_class_bind_template_callback_full (GTK_WIDGET_CLASS (widget_class), \
742 #callback, \
743 G_CALLBACK (callback))
744
745/**
746 * gtk_widget_class_bind_template_child:
747 * @widget_class: a `GtkWidgetClass`
748 * @TypeName: the type name of this widget
749 * @member_name: name of the instance member in the instance struct for @data_type
750 *
751 * Binds a child widget defined in a template to the @widget_class.
752 *
753 * This macro is a convenience wrapper around the
754 * gtk_widget_class_bind_template_child_full() function.
755 *
756 * This macro will use the offset of the @member_name inside the @TypeName
757 * instance structure.
758 */
759#define gtk_widget_class_bind_template_child(widget_class, TypeName, member_name) \
760 gtk_widget_class_bind_template_child_full (widget_class, \
761 #member_name, \
762 FALSE, \
763 G_STRUCT_OFFSET (TypeName, member_name))
764
765/**
766 * gtk_widget_class_bind_template_child_internal:
767 * @widget_class: a `GtkWidgetClass`
768 * @TypeName: the type name, in CamelCase
769 * @member_name: name of the instance member in the instance struct for @data_type
770 *
771 * Binds a child widget defined in a template to the @widget_class, and
772 * also makes it available as an internal child in GtkBuilder, under the
773 * name @member_name.
774 *
775 * This macro is a convenience wrapper around the
776 * gtk_widget_class_bind_template_child_full() function.
777 *
778 * This macro will use the offset of the @member_name inside the @TypeName
779 * instance structure.
780 */
781#define gtk_widget_class_bind_template_child_internal(widget_class, TypeName, member_name) \
782 gtk_widget_class_bind_template_child_full (widget_class, \
783 #member_name, \
784 TRUE, \
785 G_STRUCT_OFFSET (TypeName, member_name))
786
787/**
788 * gtk_widget_class_bind_template_child_private:
789 * @widget_class: a `GtkWidgetClass`
790 * @TypeName: the type name of this widget
791 * @member_name: name of the instance private member in the private struct for @data_type
792 *
793 * Binds a child widget defined in a template to the @widget_class.
794 *
795 * This macro is a convenience wrapper around the
796 * gtk_widget_class_bind_template_child_full() function.
797 *
798 * This macro will use the offset of the @member_name inside the @TypeName
799 * private data structure (it uses G_PRIVATE_OFFSET(), so the private struct
800 * must be added with G_ADD_PRIVATE()).
801 */
802#define gtk_widget_class_bind_template_child_private(widget_class, TypeName, member_name) \
803 gtk_widget_class_bind_template_child_full (widget_class, \
804 #member_name, \
805 FALSE, \
806 G_PRIVATE_OFFSET (TypeName, member_name))
807
808/**
809 * gtk_widget_class_bind_template_child_internal_private:
810 * @widget_class: a `GtkWidgetClass`
811 * @TypeName: the type name, in CamelCase
812 * @member_name: name of the instance private member on the private struct for @data_type
813 *
814 * Binds a child widget defined in a template to the @widget_class, and
815 * also makes it available as an internal child in GtkBuilder, under the
816 * name @member_name.
817 *
818 * This macro is a convenience wrapper around the
819 * gtk_widget_class_bind_template_child_full() function.
820 *
821 * This macro will use the offset of the @member_name inside the @TypeName
822 * private data structure.
823 */
824#define gtk_widget_class_bind_template_child_internal_private(widget_class, TypeName, member_name) \
825 gtk_widget_class_bind_template_child_full (widget_class, \
826 #member_name, \
827 TRUE, \
828 G_PRIVATE_OFFSET (TypeName, member_name))
829
834 GType widget_type,
835 const char *name);
838 GType widget_type);
841 GBytes *template_bytes);
844 const char *resource_name);
847 const char *callback_name,
848 GCallback callback_symbol);
851 GtkBuilderScope *scope);
854 const char *name,
855 gboolean internal_child,
856 gssize struct_offset);
857
860 const char *name,
861 GActionGroup *group);
862
865 const char *name,
866 const char *format_string,
867 ...);
870 const char *name,
871 GVariant *args);
872
875
878 PangoFontMap *font_map);
881
896 GtkWidget *parent,
897 GtkWidget *previous_sibling);
900 GtkWidget *parent,
901 GtkWidget *next_sibling);
904 GtkWidget *child);
907
910 GtkWidget *child,
911 GtkSnapshot *snapshot);
918 const char *css_class);
921 const char *css_class);
924 const char *css_class);
929 const char **classes);
930
933 GdkRGBA *color);
934
935
936/**
937 * GtkWidgetActionActivateFunc:
938 * @widget: the widget to which the action belongs
939 * @action_name: the action name
940 * @parameter: (nullable): parameter for activation
941 *
942 * The type of the callback functions used for activating
943 * actions installed with gtk_widget_class_install_action().
944 *
945 * The @parameter must match the @parameter_type of the action.
946 */
947typedef void (* GtkWidgetActionActivateFunc) (GtkWidget *widget,
948 const char *action_name,
949 GVariant *parameter);
950
953 const char *action_name,
954 const char *parameter_type,
956
959 const char *action_name,
960 const char *property_name);
961
964 guint index_,
965 GType *owner,
966 const char **action_name,
967 const GVariantType **parameter_type,
968 const char **property_name);
969
972 const char *action_name,
973 gboolean enabled);
974
975
978 GtkAccessibleRole accessible_role);
981
984
986
struct _cairo_font_options cairo_font_options_t
Definition cairo.h:1462
pthread_t owner
typedefG_BEGIN_DECLS struct _GBytes GBytes
Definition garray.h:38
void(* GCallback)(void)
Definition gclosure.h:92
#define GDK_AVAILABLE_IN_4_10
#define GDK_DEPRECATED_IN_4_10
#define GDK_AVAILABLE_IN_4_12
#define GDK_AVAILABLE_IN_4_8
#define GDK_DEPRECATED_IN_4_16
#define GDK_DEPRECATED_IN_4_10_FOR(f)
#define GDK_DEPRECATED_IN_4_12_FOR(f)
#define GDK_AVAILABLE_IN_ALL
GdkModifierType
Definition gdkenums.h:116
struct _GdkFrameClock GdkFrameClock
struct _GdkDisplay GdkDisplay
Definition gdktypes.h:90
struct _GdkClipboard GdkClipboard
Definition gdktypes.h:88
struct _GdkCursor GdkCursor
Definition gdktypes.h:81
struct _GActionGroup GActionGroup
Definition giotypes.h:55
signed long gssize
Definition glibconfig.h:82
typedefG_BEGIN_DECLS struct _GList GList
Definition glist.h:39
#define G_GNUC_WARN_UNUSED_RESULT
Definition gmacros.h:814
#define G_GNUC_PURE
Definition gmacros.h:287
#define G_GNUC_MALLOC
Definition gmacros.h:293
#define G_END_DECLS
Definition gmacros.h:910
#define G_BEGIN_DECLS
Definition gmacros.h:909
#define G_GNUC_CONST
Definition gmacros.h:637
#define G_DEFINE_AUTOPTR_CLEANUP_FUNC(TypeName, func)
Definition gmacros.h:1400
GOBJECT_AVAILABLE_IN_ALL void g_object_unref(gpointer object)
struct _GskTransform GskTransform
Definition gsktypes.h:36
GtkDirectionType
Definition gtkenums.h:208
GtkOverflow
Definition gtkenums.h:457
GtkAlign
Definition gtkenums.h:84
GtkPickFlags
Definition gtkenums.h:1118
GtkOrientation
Definition gtkenums.h:438
GtkTextDirection
Definition gtkenums.h:267
GtkSystemSetting
Definition gtkenums.h:1243
GtkStateFlags
Definition gtkenums.h:858
GtkAccessibleRole
Definition gtkenums.h:1442
GtkSizeRequestMode
Definition gtkenums.h:812
gboolean(* GtkShortcutFunc)(GtkWidget *widget, GVariant *args, gpointer user_data)
struct _GtkSettings GtkSettings
Definition gtktypes.h:56
struct _GtkCssStyleChange GtkCssStyleChange
Definition gtktypes.h:46
struct _GtkTooltip GtkTooltip
Definition gtktypes.h:62
struct _GtkRoot GtkRoot
Definition gtktypes.h:54
GdkSnapshot GtkSnapshot
Definition gtktypes.h:60
struct _GtkLayoutManager GtkLayoutManager
Definition gtktypes.h:49
struct _GtkShortcut GtkShortcut
Definition gtktypes.h:57
struct _GtkEventController GtkEventController
Definition gtktypes.h:47
struct _GtkNative GtkNative
Definition gtktypes.h:52
struct _GtkBuilderScope GtkBuilderScope
Definition gtktypes.h:39
GDK_AVAILABLE_IN_ALL void gtk_widget_snapshot_child(GtkWidget *widget, GtkWidget *child, GtkSnapshot *snapshot)
GDK_AVAILABLE_IN_ALL void gtk_widget_class_install_action(GtkWidgetClass *widget_class, const char *action_name, const char *parameter_type, GtkWidgetActionActivateFunc activate)
GDK_AVAILABLE_IN_ALL void gtk_widget_set_can_focus(GtkWidget *widget, gboolean can_focus)
GDK_AVAILABLE_IN_ALL void gtk_widget_class_add_binding_action(GtkWidgetClass *widget_class, guint keyval, GdkModifierType mods, const char *action_name, const char *format_string,...)
GDK_AVAILABLE_IN_ALL void gtk_widget_set_vexpand_set(GtkWidget *widget, gboolean set)
GDK_AVAILABLE_IN_ALL void gtk_widget_realize(GtkWidget *widget)
GDK_AVAILABLE_IN_ALL int gtk_widget_get_size(GtkWidget *widget, GtkOrientation orientation)
GDK_AVAILABLE_IN_ALL void gtk_widget_class_add_binding_signal(GtkWidgetClass *widget_class, guint keyval, GdkModifierType mods, const char *signal, const char *format_string,...)
GDK_AVAILABLE_IN_ALL GtkStateFlags gtk_widget_get_state_flags(GtkWidget *widget)
GDK_AVAILABLE_IN_ALL void gtk_requisition_free(GtkRequisition *requisition)
GDK_AVAILABLE_IN_ALL void gtk_widget_set_name(GtkWidget *widget, const char *name)
GDK_AVAILABLE_IN_ALL int gtk_widget_get_margin_end(GtkWidget *widget)
GDK_AVAILABLE_IN_ALL gboolean gtk_widget_has_visible_focus(GtkWidget *widget)
GDK_AVAILABLE_IN_ALL const char * gtk_widget_get_tooltip_markup(GtkWidget *widget)
GDK_AVAILABLE_IN_ALL void gtk_widget_set_cursor_from_name(GtkWidget *widget, const char *name)
GDK_AVAILABLE_IN_ALL gboolean gtk_widget_get_hexpand_set(GtkWidget *widget)
GDK_AVAILABLE_IN_ALL void gtk_widget_trigger_tooltip_query(GtkWidget *widget)
GDK_AVAILABLE_IN_ALL void gtk_widget_add_mnemonic_label(GtkWidget *widget, GtkWidget *label)
GDK_AVAILABLE_IN_ALL gboolean gtk_widget_get_focus_on_click(GtkWidget *widget)
GDK_AVAILABLE_IN_ALL GtkWidget * gtk_widget_get_first_child(GtkWidget *widget)
GDK_AVAILABLE_IN_ALL GtkWidget * gtk_widget_get_focus_child(GtkWidget *widget)
GDK_AVAILABLE_IN_ALL void gtk_widget_set_margin_start(GtkWidget *widget, int margin)
GDK_AVAILABLE_IN_ALL void gtk_widget_size_allocate(GtkWidget *widget, const GtkAllocation *allocation, int baseline)
GDK_AVAILABLE_IN_ALL gboolean gtk_widget_get_vexpand(GtkWidget *widget)
GDK_AVAILABLE_IN_ALL void gtk_widget_set_tooltip_markup(GtkWidget *widget, const char *markup)
GDK_AVAILABLE_IN_ALL void gtk_widget_set_has_tooltip(GtkWidget *widget, gboolean has_tooltip)
GDK_AVAILABLE_IN_ALL GtkWidget * gtk_widget_get_last_child(GtkWidget *widget)
GDK_AVAILABLE_IN_ALL GType gtk_widget_get_type(void) G_GNUC_CONST
GDK_AVAILABLE_IN_ALL void gtk_widget_insert_action_group(GtkWidget *widget, const char *name, GActionGroup *group)
GDK_AVAILABLE_IN_ALL gboolean gtk_widget_is_visible(GtkWidget *widget)
GDK_AVAILABLE_IN_ALL void gtk_widget_unmap(GtkWidget *widget)
GDK_AVAILABLE_IN_ALL GtkWidget * gtk_widget_get_ancestor(GtkWidget *widget, GType widget_type)
GDK_AVAILABLE_IN_ALL void gtk_widget_set_focus_on_click(GtkWidget *widget, gboolean focus_on_click)
GDK_AVAILABLE_IN_ALL void gtk_widget_insert_before(GtkWidget *widget, GtkWidget *parent, GtkWidget *next_sibling)
GDK_AVAILABLE_IN_ALL int gtk_widget_get_height(GtkWidget *widget)
GDK_AVAILABLE_IN_ALL void gtk_widget_class_install_property_action(GtkWidgetClass *widget_class, const char *action_name, const char *property_name)
GDK_AVAILABLE_IN_ALL gboolean gtk_widget_grab_focus(GtkWidget *widget)
GDK_AVAILABLE_IN_ALL void gtk_widget_remove_css_class(GtkWidget *widget, const char *css_class)
GDK_AVAILABLE_IN_ALL gboolean gtk_widget_get_sensitive(GtkWidget *widget)
GDK_AVAILABLE_IN_ALL void gtk_widget_set_hexpand(GtkWidget *widget, gboolean expand)
GDK_AVAILABLE_IN_ALL gboolean gtk_widget_class_query_action(GtkWidgetClass *widget_class, guint index_, GType *owner, const char **action_name, const GVariantType **parameter_type, const char **property_name)
GDK_AVAILABLE_IN_ALL int gtk_widget_get_width(GtkWidget *widget)
GDK_AVAILABLE_IN_ALL gboolean gtk_widget_keynav_failed(GtkWidget *widget, GtkDirectionType direction)
GDK_AVAILABLE_IN_ALL void gtk_widget_class_set_accessible_role(GtkWidgetClass *widget_class, GtkAccessibleRole accessible_role)
GDK_AVAILABLE_IN_ALL GtkTextDirection gtk_widget_get_direction(GtkWidget *widget)
GDK_AVAILABLE_IN_ALL void gtk_widget_measure(GtkWidget *widget, GtkOrientation orientation, int for_size, int *minimum, int *natural, int *minimum_baseline, int *natural_baseline)
GDK_AVAILABLE_IN_ALL gboolean gtk_widget_is_focus(GtkWidget *widget)
gboolean gtk_widget_translate_coordinates(GtkWidget *src_widget, GtkWidget *dest_widget, double src_x, double src_y, double *dest_x, double *dest_y)
GDK_AVAILABLE_IN_ALL void gtk_widget_remove_controller(GtkWidget *widget, GtkEventController *controller)
GDK_AVAILABLE_IN_ALL gboolean gtk_widget_get_vexpand_set(GtkWidget *widget)
GDK_AVAILABLE_IN_ALL GList * gtk_widget_list_mnemonic_labels(GtkWidget *widget)
GDK_AVAILABLE_IN_ALL const char * gtk_widget_class_get_css_name(GtkWidgetClass *widget_class)
GDK_AVAILABLE_IN_ALL void gtk_widget_set_margin_bottom(GtkWidget *widget, int margin)
GDK_AVAILABLE_IN_ALL void gtk_widget_get_preferred_size(GtkWidget *widget, GtkRequisition *minimum_size, GtkRequisition *natural_size)
GDK_AVAILABLE_IN_ALL void gtk_widget_error_bell(GtkWidget *widget)
gboolean(* GtkTickCallback)(GtkWidget *widget, GdkFrameClock *frame_clock, gpointer user_data)
Definition gtkwidget.h:78
GDK_AVAILABLE_IN_ALL void gtk_widget_set_visible(GtkWidget *widget, gboolean visible)
GDK_AVAILABLE_IN_ALL void gtk_widget_activate_default(GtkWidget *widget)
GDK_AVAILABLE_IN_ALL void gtk_widget_remove_tick_callback(GtkWidget *widget, guint id)
GDK_AVAILABLE_IN_ALL GtkAlign gtk_widget_get_valign(GtkWidget *widget)
void gtk_widget_show(GtkWidget *widget)
GDK_AVAILABLE_IN_ALL void gtk_widget_set_cursor(GtkWidget *widget, GdkCursor *cursor)
GDK_AVAILABLE_IN_4_10 void gtk_widget_get_color(GtkWidget *widget, GdkRGBA *color)
GDK_AVAILABLE_IN_ALL int gtk_widget_get_margin_start(GtkWidget *widget)
GDK_DEPRECATED_IN_4_10 GtkStyleContext * gtk_widget_get_style_context(GtkWidget *widget)
GDK_AVAILABLE_IN_ALL gboolean gtk_widget_has_css_class(GtkWidget *widget, const char *css_class)
GDK_AVAILABLE_IN_ALL gboolean gtk_widget_compute_transform(GtkWidget *widget, GtkWidget *target, graphene_matrix_t *out_transform) G_GNUC_WARN_UNUSED_RESULT
GDK_AVAILABLE_IN_ALL gboolean gtk_widget_compute_expand(GtkWidget *widget, GtkOrientation orientation)
GDK_AVAILABLE_IN_ALL void gtk_widget_map(GtkWidget *widget)
GDK_AVAILABLE_IN_ALL GtkAlign gtk_widget_get_halign(GtkWidget *widget)
GDK_AVAILABLE_IN_ALL double gtk_widget_get_opacity(GtkWidget *widget)
GDK_AVAILABLE_IN_ALL void gtk_widget_class_set_css_name(GtkWidgetClass *widget_class, const char *name)
GDK_AVAILABLE_IN_ALL gboolean gtk_widget_should_layout(GtkWidget *widget)
GDK_AVAILABLE_IN_ALL void gtk_widget_unset_state_flags(GtkWidget *widget, GtkStateFlags flags)
GDK_AVAILABLE_IN_ALL gboolean gtk_widget_child_focus(GtkWidget *widget, GtkDirectionType direction)
GDK_AVAILABLE_IN_ALL void gtk_widget_unrealize(GtkWidget *widget)
int gtk_widget_get_allocated_width(GtkWidget *widget)
int gtk_widget_get_allocated_baseline(GtkWidget *widget)
GDK_AVAILABLE_IN_ALL void gtk_widget_class_set_template(GtkWidgetClass *widget_class, GBytes *template_bytes)
int gtk_widget_get_allocated_height(GtkWidget *widget)
void(* GtkWidgetActionActivateFunc)(GtkWidget *widget, const char *action_name, GVariant *parameter)
Definition gtkwidget.h:947
GDK_AVAILABLE_IN_ALL GtkRoot * gtk_widget_get_root(GtkWidget *widget)
GDK_AVAILABLE_IN_ALL gboolean gtk_widget_compute_point(GtkWidget *widget, GtkWidget *target, const graphene_point_t *point, graphene_point_t *out_point) G_GNUC_WARN_UNUSED_RESULT
GDK_AVAILABLE_IN_ALL void gtk_widget_add_css_class(GtkWidget *widget, const char *css_class)
GDK_AVAILABLE_IN_ALL gboolean gtk_widget_get_mapped(GtkWidget *widget)
GDK_AVAILABLE_IN_ALL gboolean gtk_widget_get_visible(GtkWidget *widget)
GDK_AVAILABLE_IN_ALL gboolean gtk_widget_get_focusable(GtkWidget *widget)
GDK_AVAILABLE_IN_ALL void gtk_widget_queue_draw(GtkWidget *widget)
GDK_AVAILABLE_IN_ALL GListModel * gtk_widget_observe_children(GtkWidget *widget)
GDK_AVAILABLE_IN_ALL GtkNative * gtk_widget_get_native(GtkWidget *widget)
GDK_AVAILABLE_IN_ALL char ** gtk_widget_get_css_classes(GtkWidget *widget)
GDK_AVAILABLE_IN_ALL GtkWidget * gtk_widget_pick(GtkWidget *widget, double x, double y, GtkPickFlags flags)
void gtk_widget_get_allocation(GtkWidget *widget, GtkAllocation *allocation)
GDK_AVAILABLE_IN_ALL GtkWidget * gtk_widget_get_next_sibling(GtkWidget *widget)
struct _GtkWidgetClassPrivate GtkWidgetClassPrivate
Definition gtkwidget.h:54
struct _GtkWidgetPrivate GtkWidgetPrivate
Definition gtkwidget.h:52
GDK_AVAILABLE_IN_ALL gboolean gtk_widget_get_hexpand(GtkWidget *widget)
GDK_AVAILABLE_IN_ALL void gtk_widget_set_receives_default(GtkWidget *widget, gboolean receives_default)
GDK_AVAILABLE_IN_ALL GdkClipboard * gtk_widget_get_clipboard(GtkWidget *widget)
GDK_AVAILABLE_IN_ALL const char * gtk_widget_get_css_name(GtkWidget *self) G_GNUC_PURE
GDK_AVAILABLE_IN_ALL void gtk_widget_queue_allocate(GtkWidget *widget)
GDK_AVAILABLE_IN_ALL gboolean gtk_widget_get_child_visible(GtkWidget *widget)
GDK_AVAILABLE_IN_ALL gboolean gtk_widget_is_ancestor(GtkWidget *widget, GtkWidget *ancestor)
void gtk_widget_hide(GtkWidget *widget)
GDK_AVAILABLE_IN_ALL GdkCursor * gtk_widget_get_cursor(GtkWidget *widget)
GDK_AVAILABLE_IN_ALL void gtk_widget_set_size_request(GtkWidget *widget, int width, int height)
GDK_AVAILABLE_IN_ALL int gtk_widget_get_scale_factor(GtkWidget *widget)
GDK_AVAILABLE_IN_ALL GtkSizeRequestMode gtk_widget_get_request_mode(GtkWidget *widget)
GDK_AVAILABLE_IN_ALL const char * gtk_widget_get_tooltip_text(GtkWidget *widget)
GDK_AVAILABLE_IN_ALL gboolean gtk_widget_has_default(GtkWidget *widget)
GDK_AVAILABLE_IN_ALL gboolean gtk_widget_get_can_target(GtkWidget *widget)
GDK_AVAILABLE_IN_ALL void gtk_widget_set_overflow(GtkWidget *widget, GtkOverflow overflow)
GDK_AVAILABLE_IN_ALL GtkTextDirection gtk_widget_get_default_direction(void)
GDK_AVAILABLE_IN_ALL void gtk_widget_add_controller(GtkWidget *widget, GtkEventController *controller)
GDK_AVAILABLE_IN_ALL void gtk_widget_insert_after(GtkWidget *widget, GtkWidget *parent, GtkWidget *previous_sibling)
GDK_AVAILABLE_IN_ALL gboolean gtk_widget_mnemonic_activate(GtkWidget *widget, gboolean group_cycling)
GDK_AVAILABLE_IN_ALL void gtk_widget_set_opacity(GtkWidget *widget, double opacity)
GDK_AVAILABLE_IN_ALL void gtk_widget_class_set_activate_signal(GtkWidgetClass *widget_class, guint signal_id)
GDK_AVAILABLE_IN_ALL PangoLayout * gtk_widget_create_pango_layout(GtkWidget *widget, const char *text)
GDK_AVAILABLE_IN_ALL gboolean gtk_widget_get_can_focus(GtkWidget *widget)
GDK_AVAILABLE_IN_ALL GdkFrameClock * gtk_widget_get_frame_clock(GtkWidget *widget)
GDK_AVAILABLE_IN_ALL gboolean gtk_widget_activate_action(GtkWidget *widget, const char *name, const char *format_string,...)
GDK_AVAILABLE_IN_ALL void gtk_widget_set_margin_end(GtkWidget *widget, int margin)
GDK_AVAILABLE_IN_ALL void gtk_widget_class_add_shortcut(GtkWidgetClass *widget_class, GtkShortcut *shortcut)
GDK_AVAILABLE_IN_ALL gboolean gtk_widget_in_destruction(GtkWidget *widget)
GDK_AVAILABLE_IN_ALL GtkAccessibleRole gtk_widget_class_get_accessible_role(GtkWidgetClass *widget_class)
GDK_AVAILABLE_IN_ALL gboolean gtk_widget_is_drawable(GtkWidget *widget)
GDK_AVAILABLE_IN_ALL gboolean gtk_widget_get_has_tooltip(GtkWidget *widget)
GDK_AVAILABLE_IN_ALL void gtk_widget_set_direction(GtkWidget *widget, GtkTextDirection dir)
GDK_AVAILABLE_IN_ALL void gtk_widget_allocate(GtkWidget *widget, int width, int height, int baseline, GskTransform *transform)
GDK_AVAILABLE_IN_ALL void gtk_widget_set_state_flags(GtkWidget *widget, GtkStateFlags flags, gboolean clear)
GDK_AVAILABLE_IN_ALL void gtk_widget_set_focus_child(GtkWidget *widget, GtkWidget *child)
GDK_AVAILABLE_IN_ALL GListModel * gtk_widget_observe_controllers(GtkWidget *widget)
GDK_AVAILABLE_IN_ALL void gtk_widget_set_layout_manager(GtkWidget *widget, GtkLayoutManager *layout_manager)
GDK_AVAILABLE_IN_ALL gboolean gtk_widget_get_realized(GtkWidget *widget)
GDK_AVAILABLE_IN_ALL GtkRequisition * gtk_requisition_copy(const GtkRequisition *requisition)
GDK_AVAILABLE_IN_ALL GdkClipboard * gtk_widget_get_primary_clipboard(GtkWidget *widget)
GDK_DEPRECATED_IN_4_16 const cairo_font_options_t * gtk_widget_get_font_options(GtkWidget *widget)
GDK_AVAILABLE_IN_ALL void gtk_widget_remove_mnemonic_label(GtkWidget *widget, GtkWidget *label)
GDK_AVAILABLE_IN_ALL GdkDisplay * gtk_widget_get_display(GtkWidget *widget)
GDK_AVAILABLE_IN_ALL void gtk_widget_set_child_visible(GtkWidget *widget, gboolean child_visible)
GDK_AVAILABLE_IN_ALL GType gtk_widget_class_get_layout_manager_type(GtkWidgetClass *widget_class)
GDK_AVAILABLE_IN_ALL PangoFontMap * gtk_widget_get_font_map(GtkWidget *widget)
GDK_AVAILABLE_IN_ALL void gtk_widget_class_add_binding(GtkWidgetClass *widget_class, guint keyval, GdkModifierType mods, GtkShortcutFunc callback, const char *format_string,...)
GDK_AVAILABLE_IN_ALL int gtk_widget_get_margin_top(GtkWidget *widget)
GDK_AVAILABLE_IN_ALL int gtk_widget_get_margin_bottom(GtkWidget *widget)
GDK_AVAILABLE_IN_ALL PangoContext * gtk_widget_get_pango_context(GtkWidget *widget)
GDK_AVAILABLE_IN_ALL void gtk_widget_set_default_direction(GtkTextDirection dir)
GDK_AVAILABLE_IN_ALL void gtk_widget_set_vexpand(GtkWidget *widget, gboolean expand)
GDK_AVAILABLE_IN_ALL void gtk_widget_set_hexpand_set(GtkWidget *widget, gboolean set)
GDK_AVAILABLE_IN_ALL guint gtk_widget_add_tick_callback(GtkWidget *widget, GtkTickCallback callback, gpointer user_data, GDestroyNotify notify)
GDK_AVAILABLE_IN_ALL void gtk_widget_class_set_template_from_resource(GtkWidgetClass *widget_class, const char *resource_name)
GDK_AVAILABLE_IN_ALL PangoContext * gtk_widget_create_pango_context(GtkWidget *widget)
GDK_AVAILABLE_IN_ALL const char * gtk_widget_get_name(GtkWidget *widget)
GDK_AVAILABLE_IN_ALL guint gtk_widget_class_get_activate_signal(GtkWidgetClass *widget_class)
GDK_AVAILABLE_IN_ALL void gtk_widget_queue_resize(GtkWidget *widget)
GDK_AVAILABLE_IN_ALL gboolean gtk_widget_get_receives_default(GtkWidget *widget)
GDK_AVAILABLE_IN_ALL void gtk_widget_class_bind_template_child_full(GtkWidgetClass *widget_class, const char *name, gboolean internal_child, gssize struct_offset)
GDK_AVAILABLE_IN_ALL void gtk_widget_class_set_activate_signal_from_name(GtkWidgetClass *widget_class, const char *signal_name)
GDK_AVAILABLE_IN_ALL GObject * gtk_widget_get_template_child(GtkWidget *widget, GType widget_type, const char *name)
GDK_AVAILABLE_IN_ALL void gtk_widget_set_can_target(GtkWidget *widget, gboolean can_target)
GDK_AVAILABLE_IN_ALL void gtk_widget_action_set_enabled(GtkWidget *widget, const char *action_name, gboolean enabled)
GDK_AVAILABLE_IN_ALL gboolean gtk_widget_activate(GtkWidget *widget)
GDK_AVAILABLE_IN_ALL void gtk_widget_set_valign(GtkWidget *widget, GtkAlign align)
GDK_AVAILABLE_IN_ALL void gtk_widget_set_focusable(GtkWidget *widget, gboolean focusable)
GDK_AVAILABLE_IN_ALL void gtk_widget_set_css_classes(GtkWidget *widget, const char **classes)
GDK_AVAILABLE_IN_ALL void gtk_widget_set_halign(GtkWidget *widget, GtkAlign align)
GDK_AVAILABLE_IN_ALL gboolean gtk_widget_contains(GtkWidget *widget, double x, double y)
GDK_AVAILABLE_IN_ALL void gtk_widget_init_template(GtkWidget *widget)
GDK_AVAILABLE_IN_ALL GtkRequisition * gtk_requisition_new(void) G_GNUC_MALLOC
GDK_AVAILABLE_IN_ALL GtkWidget * gtk_widget_get_parent(GtkWidget *widget)
GDK_AVAILABLE_IN_ALL void gtk_widget_set_sensitive(GtkWidget *widget, gboolean sensitive)
GDK_AVAILABLE_IN_4_12 int gtk_widget_get_baseline(GtkWidget *widget)
GDK_AVAILABLE_IN_ALL void gtk_widget_get_size_request(GtkWidget *widget, int *width, int *height)
GDK_AVAILABLE_IN_ALL gboolean gtk_widget_has_focus(GtkWidget *widget)
GDK_AVAILABLE_IN_ALL GtkOverflow gtk_widget_get_overflow(GtkWidget *widget)
GDK_AVAILABLE_IN_4_8 void gtk_widget_dispose_template(GtkWidget *widget, GType widget_type)
GDK_AVAILABLE_IN_ALL void gtk_widget_set_parent(GtkWidget *widget, GtkWidget *parent)
GDK_AVAILABLE_IN_ALL GtkSettings * gtk_widget_get_settings(GtkWidget *widget)
GDK_AVAILABLE_IN_ALL void gtk_widget_set_margin_top(GtkWidget *widget, int margin)
GDK_AVAILABLE_IN_ALL void gtk_widget_class_bind_template_callback_full(GtkWidgetClass *widget_class, const char *callback_name, GCallback callback_symbol)
GDK_AVAILABLE_IN_ALL gboolean gtk_widget_compute_bounds(GtkWidget *widget, GtkWidget *target, graphene_rect_t *out_bounds) G_GNUC_WARN_UNUSED_RESULT
GDK_AVAILABLE_IN_ALL void gtk_widget_set_tooltip_text(GtkWidget *widget, const char *text)
GDK_AVAILABLE_IN_ALL GType gtk_requisition_get_type(void) G_GNUC_CONST
GdkRectangle GtkAllocation
Definition gtkwidget.h:65
GDK_AVAILABLE_IN_ALL gboolean gtk_widget_is_sensitive(GtkWidget *widget)
GDK_AVAILABLE_IN_ALL gboolean gtk_widget_activate_action_variant(GtkWidget *widget, const char *name, GVariant *args)
GDK_AVAILABLE_IN_ALL void gtk_widget_unparent(GtkWidget *widget)
GDK_DEPRECATED_IN_4_16 void gtk_widget_set_font_options(GtkWidget *widget, const cairo_font_options_t *options)
GDK_AVAILABLE_IN_ALL void gtk_widget_set_font_map(GtkWidget *widget, PangoFontMap *font_map)
GDK_AVAILABLE_IN_ALL void gtk_widget_class_set_layout_manager_type(GtkWidgetClass *widget_class, GType type)
GDK_AVAILABLE_IN_ALL void gtk_widget_class_set_template_scope(GtkWidgetClass *widget_class, GtkBuilderScope *scope)
GDK_AVAILABLE_IN_ALL GtkLayoutManager * gtk_widget_get_layout_manager(GtkWidget *widget)
GDK_AVAILABLE_IN_ALL GtkWidget * gtk_widget_get_prev_sibling(GtkWidget *widget)
GDK_AVAILABLE_IN_ALL void gtk_window_present(GtkWindow *window)
gsize GType
Definition gtype.h:427
gint gboolean
Definition gtypes.h:56
void * gpointer
Definition gtypes.h:109
void(* GDestroyNotify)(gpointer data)
Definition gtypes.h:140
unsigned int guint
Definition gtypes.h:61
static void activate(GtkApplication *app, gpointer user_data)
Activates the application window and sets up the UI.
Definition gui.c:83
typedefG_BEGIN_DECLS struct _GVariant GVariant
Definition gvariant.h:36
typedefG_BEGIN_DECLS struct _GVariantType GVariantType
const char * name
Definition lsqlite3.c:2154
#define keyval(node)
typedefG_BEGIN_DECLS struct _PangoLayout PangoLayout
struct _PangoContext PangoContext
Definition pango-types.h:44
GtkWidgetClassPrivate * priv
Definition gtkwidget.h:260
void(* show)(GtkWidget *widget)
Definition gtkwidget.h:191
void(* hide)(GtkWidget *widget)
Definition gtkwidget.h:192
void(* css_changed)(GtkWidget *widget, GtkCssStyleChange *change)
Definition gtkwidget.h:245
void(* unrealize)(GtkWidget *widget)
Definition gtkwidget.h:196
void(* unmap)(GtkWidget *widget)
Definition gtkwidget.h:194
void(* size_allocate)(GtkWidget *widget, int width, int height, int baseline)
Definition gtkwidget.h:199
gboolean(* keynav_failed)(GtkWidget *widget, GtkDirectionType direction)
Definition gtkwidget.h:232
gboolean(* focus)(GtkWidget *widget, GtkDirectionType direction)
Definition gtkwidget.h:224
gboolean(* query_tooltip)(GtkWidget *widget, int x, int y, gboolean keyboard_tooltip, GtkTooltip *tooltip)
Definition gtkwidget.h:235
gboolean(* mnemonic_activate)(GtkWidget *widget, gboolean group_cycling)
Definition gtkwidget.h:219
void(* set_focus_child)(GtkWidget *widget, GtkWidget *child)
Definition gtkwidget.h:226
gpointer padding[8]
Definition gtkwidget.h:262
void(* compute_expand)(GtkWidget *widget, gboolean *hexpand_p, gboolean *vexpand_p)
Definition gtkwidget.h:241
gboolean(* contains)(GtkWidget *widget, double x, double y)
Definition gtkwidget.h:254
void(* snapshot)(GtkWidget *widget, GtkSnapshot *snapshot)
Definition gtkwidget.h:251
gboolean(* grab_focus)(GtkWidget *widget)
Definition gtkwidget.h:223
void(* direction_changed)(GtkWidget *widget, GtkTextDirection previous_direction)
Definition gtkwidget.h:205
void(* realize)(GtkWidget *widget)
Definition gtkwidget.h:195
void(* unroot)(GtkWidget *widget)
Definition gtkwidget.h:198
void(* map)(GtkWidget *widget)
Definition gtkwidget.h:193
void(* root)(GtkWidget *widget)
Definition gtkwidget.h:197
void(* measure)(GtkWidget *widget, GtkOrientation orientation, int for_size, int *minimum, int *natural, int *minimum_baseline, int *natural_baseline)
Definition gtkwidget.h:210
void(* system_setting_changed)(GtkWidget *widget, GtkSystemSetting settings)
Definition gtkwidget.h:248
GInitiallyUnownedClass parent_class
Definition gtkwidget.h:186
void(* move_focus)(GtkWidget *widget, GtkDirectionType direction)
Definition gtkwidget.h:230
void(* state_flags_changed)(GtkWidget *widget, GtkStateFlags previous_state_flags)
Definition gtkwidget.h:203
GtkSizeRequestMode(* get_request_mode)(GtkWidget *widget)
Definition gtkwidget.h:209
GInitiallyUnowned parent_instance
Definition gtkwidget.h:104
GtkWidgetPrivate * priv
Definition gtkwidget.h:108