| 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 | #include "gtkwidget.h"cxx . . $ `<file>/gtk/gtkwidget.h`/ |
| 28 | |
| 29 | #include "gtkactionmuxerprivate.h"cxx . . $ `<file>/gtk/gtkactionmuxerprivate.h`/ |
| 30 | #include "gtkatcontextprivate.h"cxx . . $ `<file>/gtk/gtkatcontextprivate.h`/ |
| 31 | #include "gtkborder.h"cxx . . $ `<file>/gtk/gtkborder.h`/ |
| 32 | #include "gtkcsstypesprivate.h"cxx . . $ `<file>/gtk/gtkcsstypesprivate.h`/ |
| 33 | #include "gtkeventcontrollerprivate.h"cxx . . $ `<file>/gtk/gtkeventcontrollerprivate.h`/ |
| 34 | #include "gtklistlistmodelprivate.h"cxx . . $ `<file>/gtk/gtklistlistmodelprivate.h`/ |
| 35 | #include "gtkrootprivate.h"cxx . . $ `<file>/gtk/gtkrootprivate.h`/ |
| 36 | #include "gtksizerequestcacheprivate.h"cxx . . $ `<file>/gtk/gtksizerequestcacheprivate.h`/ |
| 37 | #include "gtkwindowprivate.h"cxx . . $ `<file>/gtk/gtkwindowprivate.h`/ |
| 38 | #include "gtkgesture.h"cxx . . $ `<file>/gtk/gtkgesture.h`/ |
| 39 | |
| 40 | #include "gsk/gskrendernodeprivate.h"cxx . . $ `<file>/gsk/gskrendernodeprivate.h`/ |
| 41 | |
| 42 | G_BEGIN_DECLScxx . . $ `<external>/12741050725406041920/gmacros.h:947:9`! |
| 43 | |
| 44 | typedef gbooleancxx . . $ gboolean# (*GtkSurfaceTransformChangedCallbackcxx . . $ GtkSurfaceTransformChangedCallback#) (GtkWidgetcxx . . $ GtkWidget# *widget, |
| 45 | const graphene_matrix_tcxx . . $ graphene_matrix_t# *surface_transform, |
| 46 | gpointercxx . . $ gpointer# user_data); |
| 47 | |
| 48 | #define GTK_STATE_FLAGS_BITScxx . . $ `gtk/gtkwidgetprivate.h:48:9`! 15 |
| 49 | |
| 50 | typedef struct _GtkWidgetSurfaceTransformDatacxx . . $ _GtkWidgetSurfaceTransformData# |
| 51 | { |
| 52 | GtkWidgetcxx . . $ GtkWidget# *tracked_parentcxx . . $ _GtkWidgetSurfaceTransformData#tracked_parent.; |
| 53 | guintcxx . . $ guint# parent_surface_transform_changed_idcxx . . $ _GtkWidgetSurfaceTransformData#parent_surface_transform_changed_id.; |
| 54 | |
| 55 | gbooleancxx . . $ gboolean# cached_surface_transform_validcxx . . $ _GtkWidgetSurfaceTransformData#cached_surface_transform_valid.; |
| 56 | |
| 57 | graphene_matrix_tcxx . . $ graphene_matrix_t# cached_surface_transformcxx . . $ _GtkWidgetSurfaceTransformData#cached_surface_transform.; |
| 58 | GListcxx . . $ GList# *callbackscxx . . $ _GtkWidgetSurfaceTransformData#callbacks.; |
| 59 | } GtkWidgetSurfaceTransformDatacxx . . $ GtkWidgetSurfaceTransformData#; |
| 60 | |
| 61 | struct _GtkWidgetPrivatecxx . . $ _GtkWidgetPrivate# |
| 62 | { |
| 63 | /* The state of the widget. Needs to be able to hold all GtkStateFlags bits |
| 64 | * (defined in "gtkenums.h"). |
| 65 | */ |
| 66 | guintcxx . . $ guint# state_flagscxx . . $ _GtkWidgetPrivate#state_flags. : GTK_STATE_FLAGS_BITScxx . . $ `gtk/gtkwidgetprivate.h:48:9`!; |
| 67 | |
| 68 | guintcxx . . $ guint# directioncxx . . $ _GtkWidgetPrivate#direction. : 2; |
| 69 | |
| 70 | guintcxx . . $ guint# in_destructioncxx . . $ _GtkWidgetPrivate#in_destruction. : 1; |
| 71 | guintcxx . . $ guint# realizedcxx . . $ _GtkWidgetPrivate#realized. : 1; |
| 72 | guintcxx . . $ guint# mappedcxx . . $ _GtkWidgetPrivate#mapped. : 1; |
| 73 | guintcxx . . $ guint# visiblecxx . . $ _GtkWidgetPrivate#visible. : 1; |
| 74 | guintcxx . . $ guint# sensitivecxx . . $ _GtkWidgetPrivate#sensitive. : 1; |
| 75 | guintcxx . . $ guint# can_focuscxx . . $ _GtkWidgetPrivate#can_focus. : 1; |
| 76 | guintcxx . . $ guint# focusablecxx . . $ _GtkWidgetPrivate#focusable. : 1; |
| 77 | guintcxx . . $ guint# has_focuscxx . . $ _GtkWidgetPrivate#has_focus. : 1; |
| 78 | guintcxx . . $ guint# focus_on_clickcxx . . $ _GtkWidgetPrivate#focus_on_click. : 1; |
| 79 | guintcxx . . $ guint# has_defaultcxx . . $ _GtkWidgetPrivate#has_default. : 1; |
| 80 | guintcxx . . $ guint# receives_defaultcxx . . $ _GtkWidgetPrivate#receives_default. : 1; |
| 81 | guintcxx . . $ guint# has_grabcxx . . $ _GtkWidgetPrivate#has_grab. : 1; |
| 82 | guintcxx . . $ guint# child_visiblecxx . . $ _GtkWidgetPrivate#child_visible. : 1; |
| 83 | guintcxx . . $ guint# can_targetcxx . . $ _GtkWidgetPrivate#can_target. : 1; |
| 84 | guintcxx . . $ guint# limit_eventscxx . . $ _GtkWidgetPrivate#limit_events. : 1; |
| 85 | |
| 86 | /* Queue-resize related flags */ |
| 87 | guintcxx . . $ guint# resize_queuedcxx . . $ _GtkWidgetPrivate#resize_queued. : 1; /* queue_resize() has been called but no get_preferred_size() yet */ |
| 88 | guintcxx . . $ guint# alloc_neededcxx . . $ _GtkWidgetPrivate#alloc_needed. : 1; /* this widget needs a size_allocate() call */ |
| 89 | guintcxx . . $ guint# alloc_needed_on_childcxx . . $ _GtkWidgetPrivate#alloc_needed_on_child. : 1; /* 0 or more children - or this widget - need a size_allocate() call */ |
| 90 | |
| 91 | /* Queue-draw related flags */ |
| 92 | guintcxx . . $ guint# draw_neededcxx . . $ _GtkWidgetPrivate#draw_needed. : 1; |
| 93 | /* Expand-related flags */ |
| 94 | guintcxx . . $ guint# need_compute_expandcxx . . $ _GtkWidgetPrivate#need_compute_expand. : 1; /* Need to recompute computed_[hv]_expand */ |
| 95 | guintcxx . . $ guint# computed_hexpandcxx . . $ _GtkWidgetPrivate#computed_hexpand. : 1; /* computed results (composite of child flags) */ |
| 96 | guintcxx . . $ guint# computed_vexpandcxx . . $ _GtkWidgetPrivate#computed_vexpand. : 1; |
| 97 | guintcxx . . $ guint# hexpandcxx . . $ _GtkWidgetPrivate#hexpand. : 1; /* application-forced expand */ |
| 98 | guintcxx . . $ guint# vexpandcxx . . $ _GtkWidgetPrivate#vexpand. : 1; |
| 99 | guintcxx . . $ guint# hexpand_setcxx . . $ _GtkWidgetPrivate#hexpand_set. : 1; /* whether to use application-forced */ |
| 100 | guintcxx . . $ guint# vexpand_setcxx . . $ _GtkWidgetPrivate#vexpand_set. : 1; /* instead of computing from children */ |
| 101 | guintcxx . . $ guint# has_tooltipcxx . . $ _GtkWidgetPrivate#has_tooltip. : 1; |
| 102 | |
| 103 | /* SizeGroup related flags */ |
| 104 | guintcxx . . $ guint# have_size_groupscxx . . $ _GtkWidgetPrivate#have_size_groups. : 1; |
| 105 | |
| 106 | /* Alignment */ |
| 107 | guintcxx . . $ guint# haligncxx . . $ _GtkWidgetPrivate#halign. : 4; |
| 108 | guintcxx . . $ guint# valigncxx . . $ _GtkWidgetPrivate#valign. : 4; |
| 109 | |
| 110 | guintcxx . . $ guint# user_alphacxx . . $ _GtkWidgetPrivate#user_alpha. : 8; |
| 111 | |
| 112 | GtkOverflowcxx . . $ GtkOverflow# overflowcxx . . $ _GtkWidgetPrivate#overflow.; |
| 113 | |
| 114 | #ifdef G_ENABLE_CONSISTENCY_CHECKS |
| 115 | /* Number of gtk_widget_push_verify_invariants () */ |
| 116 | guint8 verifying_invariants_count; |
| 117 | #endif |
| 118 | |
| 119 | int width_requestcxx . . $ _GtkWidgetPrivate#width_request.; |
| 120 | int height_requestcxx . . $ _GtkWidgetPrivate#height_request.; |
| 121 | |
| 122 | /* Animations and other things to update on clock ticks */ |
| 123 | guintcxx . . $ guint# clock_tick_idcxx . . $ _GtkWidgetPrivate#clock_tick_id.; |
| 124 | guint8cxx . . $ guint8# n_activecxx . . $ _GtkWidgetPrivate#n_active.; |
| 125 | GListcxx . . $ GList# *tick_callbackscxx . . $ _GtkWidgetPrivate#tick_callbacks.; |
| 126 | |
| 127 | void (* resize_funccxx . . $ _GtkWidgetPrivate#resize_func.) (GtkWidgetcxx . . $ GtkWidget# *); |
| 128 | GtkBordercxx . . $ GtkBorder# margincxx . . $ _GtkWidgetPrivate#margin.; |
| 129 | |
| 130 | /* Surface relative transform updates callbacks */ |
| 131 | GtkWidgetSurfaceTransformDatacxx . . $ GtkWidgetSurfaceTransformData# *surface_transform_datacxx . . $ _GtkWidgetPrivate#surface_transform_data.; |
| 132 | |
| 133 | /* The widget's name. If the widget does not have a name |
| 134 | * (the name is NULL), then its name (as returned by |
| 135 | * "gtk_widget_get_name") is its class's name. |
| 136 | * Among other things, the widget name is used to determine |
| 137 | * the style to use for a widget. |
| 138 | */ |
| 139 | char *namecxx . . $ _GtkWidgetPrivate#name.; |
| 140 | |
| 141 | /* The root this widget belongs to or %NULL if widget is not |
| 142 | * rooted or is a GtkRoot itself. |
| 143 | */ |
| 144 | GtkRootcxx . . $ GtkRoot# *rootcxx . . $ _GtkWidgetPrivate#root.; |
| 145 | |
| 146 | /* The style for the widget. The style contains the |
| 147 | * colors the widget should be drawn in for each state |
| 148 | * along with graphics contexts used to draw with and |
| 149 | * the font to use for text. |
| 150 | */ |
| 151 | GtkCssNodecxx . . $ GtkCssNode# *cssnodecxx . . $ _GtkWidgetPrivate#cssnode.; |
| 152 | GtkStyleContextcxx . . $ GtkStyleContext# *contextcxx . . $ _GtkWidgetPrivate#context.; |
| 153 | |
| 154 | /* The widget's allocated size */ |
| 155 | GskTransformcxx . . $ GskTransform# *allocated_transformcxx . . $ _GtkWidgetPrivate#allocated_transform.; |
| 156 | int allocated_widthcxx . . $ _GtkWidgetPrivate#allocated_width.; |
| 157 | int allocated_heightcxx . . $ _GtkWidgetPrivate#allocated_height.; |
| 158 | int allocated_baselinecxx . . $ _GtkWidgetPrivate#allocated_baseline.; |
| 159 | |
| 160 | int widthcxx . . $ _GtkWidgetPrivate#width.; |
| 161 | int heightcxx . . $ _GtkWidgetPrivate#height.; |
| 162 | int baselinecxx . . $ _GtkWidgetPrivate#baseline.; |
| 163 | GskTransformcxx . . $ GskTransform# *transformcxx . . $ _GtkWidgetPrivate#transform.; |
| 164 | |
| 165 | /* The widget's requested sizes */ |
| 166 | SizeRequestCachecxx . . $ SizeRequestCache# requestscxx . . $ _GtkWidgetPrivate#requests.; |
| 167 | |
| 168 | /* The render node we draw or %NULL if not yet created.*/ |
| 169 | GskRenderNodecxx . . $ GskRenderNode# *render_nodecxx . . $ _GtkWidgetPrivate#render_node.; |
| 170 | |
| 171 | /* The layout manager, or %NULL */ |
| 172 | GtkLayoutManagercxx . . $ GtkLayoutManager# *layout_managercxx . . $ _GtkWidgetPrivate#layout_manager.; |
| 173 | |
| 174 | GSListcxx . . $ GSList# *paintablescxx . . $ _GtkWidgetPrivate#paintables.; |
| 175 | |
| 176 | GListcxx . . $ GList# *event_controllerscxx . . $ _GtkWidgetPrivate#event_controllers.; |
| 177 | |
| 178 | /* Widget tree */ |
| 179 | GtkWidgetcxx . . $ GtkWidget# *parentcxx . . $ _GtkWidgetPrivate#parent.; |
| 180 | GtkWidgetcxx . . $ GtkWidget# *prev_siblingcxx . . $ _GtkWidgetPrivate#prev_sibling.; |
| 181 | GtkWidgetcxx . . $ GtkWidget# *next_siblingcxx . . $ _GtkWidgetPrivate#next_sibling.; |
| 182 | GtkWidgetcxx . . $ GtkWidget# *first_childcxx . . $ _GtkWidgetPrivate#first_child.; |
| 183 | GtkWidgetcxx . . $ GtkWidget# *last_childcxx . . $ _GtkWidgetPrivate#last_child.; |
| 184 | |
| 185 | /* only created on-demand */ |
| 186 | GtkListListModelcxx . . $ GtkListListModel# *children_observercxx . . $ _GtkWidgetPrivate#children_observer.; |
| 187 | GtkListListModelcxx . . $ GtkListListModel# *controller_observercxx . . $ _GtkWidgetPrivate#controller_observer.; |
| 188 | GtkActionMuxercxx . . $ GtkActionMuxer# *muxercxx . . $ _GtkWidgetPrivate#muxer.; |
| 189 | |
| 190 | GtkWidgetcxx . . $ GtkWidget# *focus_childcxx . . $ _GtkWidgetPrivate#focus_child.; |
| 191 | |
| 192 | /* Pointer cursor */ |
| 193 | GdkCursorcxx . . $ GdkCursor# *cursorcxx . . $ _GtkWidgetPrivate#cursor.; |
| 194 | |
| 195 | /* Tooltip */ |
| 196 | char *tooltip_markupcxx . . $ _GtkWidgetPrivate#tooltip_markup.; |
| 197 | char *tooltip_textcxx . . $ _GtkWidgetPrivate#tooltip_text.; |
| 198 | |
| 199 | /* Accessibility */ |
| 200 | GtkATContextcxx . . $ GtkATContext# *at_contextcxx . . $ _GtkWidgetPrivate#at_context.; |
| 201 | GtkAccessibleRolecxx . . $ GtkAccessibleRole# accessible_rolecxx . . $ _GtkWidgetPrivate#accessible_role.; |
| 202 | }; |
| 203 | |
| 204 | typedef structcxx . . $ $anonymous_type_14e02fc01455a5e6_0# |
| 205 | { |
| 206 | GBytescxx . . $ GBytes# *datacxx . . $ $anonymous_type_14e02fc01455a5e6_0#data.; |
| 207 | GSListcxx . . $ GSList# *childrencxx . . $ $anonymous_type_14e02fc01455a5e6_0#children.; |
| 208 | GtkBuilderScopecxx . . $ GtkBuilderScope# *scopecxx . . $ $anonymous_type_14e02fc01455a5e6_0#scope.; |
| 209 | } GtkWidgetTemplatecxx . . $ GtkWidgetTemplate#; |
| 210 | |
| 211 | struct _GtkWidgetClassPrivatecxx . . $ _GtkWidgetClassPrivate# |
| 212 | { |
| 213 | GtkWidgetTemplatecxx . . $ GtkWidgetTemplate# *templatecxx . . $ _GtkWidgetClassPrivate#template.; |
| 214 | GListStorecxx . . $ GListStore# *shortcutscxx . . $ _GtkWidgetClassPrivate#shortcuts.; |
| 215 | GTypecxx . . $ GType# layout_manager_typecxx . . $ _GtkWidgetClassPrivate#layout_manager_type.; |
| 216 | GtkWidgetActioncxx . . $ GtkWidgetAction# *actionscxx . . $ _GtkWidgetClassPrivate#actions.; |
| 217 | GtkAccessibleRolecxx . . $ GtkAccessibleRole# accessible_rolecxx . . $ _GtkWidgetClassPrivate#accessible_role.; |
| 218 | guintcxx . . $ guint# activate_signalcxx . . $ _GtkWidgetClassPrivate#activate_signal.; |
| 219 | GQuarkcxx . . $ GQuark# css_namecxx . . $ _GtkWidgetClassPrivate#css_name.; |
| 220 | }; |
| 221 | |
| 222 | void gtk_widget_rootcxx . . $ gtk_widget_root(d7cf858254b37903). (GtkWidgetcxx . . $ GtkWidget# *widget); |
| 223 | void gtk_widget_unrootcxx . . $ gtk_widget_unroot(d7cf858254b37903). (GtkWidgetcxx . . $ GtkWidget# *widget); |
| 224 | GtkCssNodecxx . . $ GtkCssNode# * gtk_widget_get_css_nodecxx . . $ gtk_widget_get_css_node(e7b0819f4c134bd6). (GtkWidgetcxx . . $ GtkWidget# *widget); |
| 225 | void _gtk_widget_set_visible_flagcxx . . $ _gtk_widget_set_visible_flag(81f145f668a0074f). (GtkWidgetcxx . . $ GtkWidget# *widget, |
| 226 | gbooleancxx . . $ gboolean# visible); |
| 227 | gbooleancxx . . $ gboolean# _gtk_widget_get_alloc_neededcxx . . $ _gtk_widget_get_alloc_needed(9247ef2dc26c5426). (GtkWidgetcxx . . $ GtkWidget# *widget); |
| 228 | gbooleancxx . . $ gboolean# gtk_widget_needs_allocatecxx . . $ gtk_widget_needs_allocate(9247ef2dc26c5426). (GtkWidgetcxx . . $ GtkWidget# *widget); |
| 229 | void gtk_widget_clear_resize_queuedcxx . . $ gtk_widget_clear_resize_queued(d7cf858254b37903). (GtkWidgetcxx . . $ GtkWidget# *widget); |
| 230 | void gtk_widget_ensure_allocatecxx . . $ gtk_widget_ensure_allocate(d7cf858254b37903). (GtkWidgetcxx . . $ GtkWidget# *widget); |
| 231 | void _gtk_widget_scale_changedcxx . . $ _gtk_widget_scale_changed(d7cf858254b37903). (GtkWidgetcxx . . $ GtkWidget# *widget); |
| 232 | void gtk_widget_monitor_changedcxx . . $ gtk_widget_monitor_changed(d7cf858254b37903). (GtkWidgetcxx . . $ GtkWidget# *widget); |
| 233 | |
| 234 | GdkSurfacecxx . . $ GdkSurface# * gtk_widget_get_surfacecxx . . $ gtk_widget_get_surface(f29b3bfced39beb6). (GtkWidgetcxx . . $ GtkWidget# *widget); |
| 235 | |
| 236 | void gtk_widget_rendercxx . . $ gtk_widget_render(943f0eae2822273d). (GtkWidgetcxx . . $ GtkWidget# *widget, |
| 237 | GdkSurfacecxx . . $ GdkSurface# *surface, |
| 238 | const cairo_region_tcxx . . $ cairo_region_t# *region); |
| 239 | |
| 240 | void _gtk_widget_add_sizegroupcxx . . $ _gtk_widget_add_sizegroup(c2a8b32df5332c4b). (GtkWidgetcxx . . $ GtkWidget# *widget, |
| 241 | gpointercxx . . $ gpointer# group); |
| 242 | void _gtk_widget_remove_sizegroupcxx . . $ _gtk_widget_remove_sizegroup(c2a8b32df5332c4b). (GtkWidgetcxx . . $ GtkWidget# *widget, |
| 243 | gpointercxx . . $ gpointer# group); |
| 244 | GSListcxx . . $ GSList# *_gtk_widget_get_sizegroupscxx . . $ _gtk_widget_get_sizegroups(b0efd5ab7f37e1a0). (GtkWidgetcxx . . $ GtkWidget# *widget); |
| 245 | |
| 246 | void _gtk_widget_set_has_defaultcxx . . $ _gtk_widget_set_has_default(81f145f668a0074f). (GtkWidgetcxx . . $ GtkWidget# *widget, |
| 247 | gbooleancxx . . $ gboolean# has_default); |
| 248 | void _gtk_widget_set_has_grabcxx . . $ _gtk_widget_set_has_grab(81f145f668a0074f). (GtkWidgetcxx . . $ GtkWidget# *widget, |
| 249 | gbooleancxx . . $ gboolean# has_grab); |
| 250 | |
| 251 | gbooleancxx . . $ gboolean# gtk_widget_has_grabcxx . . $ gtk_widget_has_grab(9247ef2dc26c5426). (GtkWidgetcxx . . $ GtkWidget# *widget); |
| 252 | |
| 253 | void _gtk_widget_propagate_display_changedcxx . . $ _gtk_widget_propagate_display_changed(283bd78f38ac2114). (GtkWidgetcxx . . $ GtkWidget# *widget, |
| 254 | GdkDisplaycxx . . $ GdkDisplay# *previous_display); |
| 255 | |
| 256 | void _gtk_widget_set_device_surfacecxx . . $ _gtk_widget_set_device_surface(79b2f688fde2929c). (GtkWidgetcxx . . $ GtkWidget# *widget, |
| 257 | GdkDevicecxx . . $ GdkDevice# *device, |
| 258 | GdkSurfacecxx . . $ GdkSurface# *pointer_window); |
| 259 | void _gtk_widget_synthesize_crossingcxx . . $ _gtk_widget_synthesize_crossing(b81c5cc5d0776065). (GtkWidgetcxx . . $ GtkWidget# *from, |
| 260 | GtkWidgetcxx . . $ GtkWidget# *to, |
| 261 | GdkDevicecxx . . $ GdkDevice# *device, |
| 262 | GdkCrossingModecxx . . $ GdkCrossingMode# mode); |
| 263 | |
| 264 | GtkStyleContextcxx . . $ GtkStyleContext# * _gtk_widget_peek_style_contextcxx . . $ _gtk_widget_peek_style_context(1a33cf1e9e8b4cb5). (GtkWidgetcxx . . $ GtkWidget# *widget); |
| 265 | |
| 266 | gbooleancxx . . $ gboolean# _gtk_widget_captured_eventcxx . . $ _gtk_widget_captured_event(334260a238d13a77). (GtkWidgetcxx . . $ GtkWidget# *widget, |
| 267 | GdkEventcxx . . $ GdkEvent# *event, |
| 268 | GtkWidgetcxx . . $ GtkWidget# *target); |
| 269 | |
| 270 | void gtk_widget_css_changedcxx . . $ gtk_widget_css_changed(4442664c79e1955d). (GtkWidgetcxx . . $ GtkWidget# *widget, |
| 271 | GtkCssStyleChangecxx . . $ GtkCssStyleChange# *change); |
| 272 | void gtk_widget_system_setting_changedcxx . . $ gtk_widget_system_setting_changed(d299773cc4d0e8ba). (GtkWidgetcxx . . $ GtkWidget# *widget, |
| 273 | GtkSystemSettingcxx . . $ GtkSystemSetting# setting); |
| 274 | void gtk_system_setting_changedcxx . . $ gtk_system_setting_changed(c41346705a083426). (GdkDisplaycxx . . $ GdkDisplay# *display, |
| 275 | GtkSystemSettingcxx . . $ GtkSystemSetting# setting); |
| 276 | |
| 277 | void _gtk_widget_update_parent_muxercxx . . $ _gtk_widget_update_parent_muxer(d7cf858254b37903). (GtkWidgetcxx . . $ GtkWidget# *widget); |
| 278 | GtkActionMuxercxx . . $ GtkActionMuxer# * _gtk_widget_get_action_muxercxx . . $ _gtk_widget_get_action_muxer(ea9caab191785ec1). (GtkWidgetcxx . . $ GtkWidget# *widget, |
| 279 | gbooleancxx . . $ gboolean# create); |
| 280 | |
| 281 | gbooleancxx . . $ gboolean# gtk_widget_has_tick_callbackcxx . . $ gtk_widget_has_tick_callback(9247ef2dc26c5426). (GtkWidgetcxx . . $ GtkWidget# *widget); |
| 282 | |
| 283 | gbooleancxx . . $ gboolean# gtk_widget_has_size_requestcxx . . $ gtk_widget_has_size_request(9247ef2dc26c5426). (GtkWidgetcxx . . $ GtkWidget# *widget); |
| 284 | |
| 285 | void gtk_widget_reset_controllerscxx . . $ gtk_widget_reset_controllers(d7cf858254b37903). (GtkWidgetcxx . . $ GtkWidget# *widget); |
| 286 | |
| 287 | GtkEventControllercxx . . $ GtkEventController# **gtk_widget_list_controllerscxx . . $ gtk_widget_list_controllers(2f265721054802a6). (GtkWidgetcxx . . $ GtkWidget# *widget, |
| 288 | GtkPropagationPhasecxx . . $ GtkPropagationPhase# phase, |
| 289 | guintcxx . . $ guint# *out_n_controllers); |
| 290 | |
| 291 | gbooleancxx . . $ gboolean# gtk_widget_query_tooltipcxx . . $ gtk_widget_query_tooltip(6b967861d7ded342). (GtkWidgetcxx . . $ GtkWidget# *widget, |
| 292 | int x, |
| 293 | int y, |
| 294 | gbooleancxx . . $ gboolean# keyboard_mode, |
| 295 | GtkTooltipcxx . . $ GtkTooltip# *tooltip); |
| 296 | |
| 297 | void gtk_widget_snapshotcxx . . $ gtk_widget_snapshot(80012d1141bb3efa). (GtkWidgetcxx . . $ GtkWidget# *widget, |
| 298 | GtkSnapshotcxx . . $ GtkSnapshot# *snapshot); |
| 299 | void gtk_widget_adjust_size_requestcxx . . $ gtk_widget_adjust_size_request(ef918bae23eb42e2). (GtkWidgetcxx . . $ GtkWidget# *widget, |
| 300 | GtkOrientationcxx . . $ GtkOrientation# orientation, |
| 301 | int *minimum_size, |
| 302 | int *natural_size); |
| 303 | void gtk_widget_adjust_baseline_requestcxx . . $ gtk_widget_adjust_baseline_request(327d22ad06f230a). (GtkWidgetcxx . . $ GtkWidget# *widget, |
| 304 | int *minimum_baseline, |
| 305 | int *natural_baseline); |
| 306 | |
| 307 | typedef void (*GtkCallbackcxx . . $ GtkCallback#) (GtkWidgetcxx . . $ GtkWidget# *widget, |
| 308 | gpointercxx . . $ gpointer# data); |
| 309 | |
| 310 | void gtk_widget_forallcxx . . $ gtk_widget_forall(bfd0610669d9ec96). (GtkWidgetcxx . . $ GtkWidget# *widget, |
| 311 | GtkCallbackcxx . . $ GtkCallback# callback, |
| 312 | gpointercxx . . $ gpointer# user_data); |
| 313 | |
| 314 | void gtk_widget_focus_sortcxx . . $ gtk_widget_focus_sort(467cc34eccd76393). (GtkWidgetcxx . . $ GtkWidget# *widget, |
| 315 | GtkDirectionTypecxx . . $ GtkDirectionType# direction, |
| 316 | GPtrArraycxx . . $ GPtrArray# *focus_order); |
| 317 | gbooleancxx . . $ gboolean# gtk_widget_focus_movecxx . . $ gtk_widget_focus_move(8bb1c65c821a69cd). (GtkWidgetcxx . . $ GtkWidget# *widget, |
| 318 | GtkDirectionTypecxx . . $ GtkDirectionType# direction); |
| 319 | void gtk_widget_set_has_focuscxx . . $ gtk_widget_set_has_focus(81f145f668a0074f). (GtkWidgetcxx . . $ GtkWidget# *widget, |
| 320 | gbooleancxx . . $ gboolean# has_focus); |
| 321 | |
| 322 | GtkWidgetcxx . . $ GtkWidget# * gtk_widget_common_ancestorcxx . . $ gtk_widget_common_ancestor(7986a835ddd82c79). (GtkWidgetcxx . . $ GtkWidget# *widget_a, |
| 323 | GtkWidgetcxx . . $ GtkWidget# *widget_b); |
| 324 | |
| 325 | void gtk_widget_set_active_statecxx . . $ gtk_widget_set_active_state(81f145f668a0074f). (GtkWidgetcxx . . $ GtkWidget# *widget, |
| 326 | gbooleancxx . . $ gboolean# active); |
| 327 | |
| 328 | void gtk_widget_propagate_event_sequence_statecxx . . $ gtk_widget_propagate_event_sequence_state(db052dd72fd336e6). (GtkWidgetcxx . . $ GtkWidget# *widget, |
| 329 | GtkGesturecxx . . $ GtkGesture# *gesture, |
| 330 | GdkEventSequencecxx . . $ GdkEventSequence# *sequence, |
| 331 | GtkEventSequenceStatecxx . . $ GtkEventSequenceState# state); |
| 332 | gbooleancxx . . $ gboolean# gtk_widget_eventcxx . . $ gtk_widget_event(334260a238d13a77). (GtkWidgetcxx . . $ GtkWidget# *widget, |
| 333 | GdkEventcxx . . $ GdkEvent# *event, |
| 334 | GtkWidgetcxx . . $ GtkWidget# *target); |
| 335 | gbooleancxx . . $ gboolean# gtk_widget_run_controllerscxx . . $ gtk_widget_run_controllers(e00d3d67775ca7b3). (GtkWidgetcxx . . $ GtkWidget# *widget, |
| 336 | GdkEventcxx . . $ GdkEvent# *event, |
| 337 | GtkWidgetcxx . . $ GtkWidget# *target, |
| 338 | double x, |
| 339 | double y, |
| 340 | GtkPropagationPhasecxx . . $ GtkPropagationPhase# phase); |
| 341 | void gtk_widget_handle_crossingcxx . . $ gtk_widget_handle_crossing(68ab5449a638ffdb). (GtkWidgetcxx . . $ GtkWidget# *widget, |
| 342 | const GtkCrossingDatacxx . . $ GtkCrossingData# *crossing, |
| 343 | double x, |
| 344 | double y); |
| 345 | |
| 346 | |
| 347 | guintcxx . . $ guint# gtk_widget_add_surface_transform_changed_callbackcxx . . $ gtk_widget_add_surface_transform_changed_callback(acf20d72f172227b). (GtkWidgetcxx . . $ GtkWidget# *widget, |
| 348 | GtkSurfaceTransformChangedCallbackcxx . . $ GtkSurfaceTransformChangedCallback# callback, |
| 349 | gpointercxx . . $ gpointer# user_data, |
| 350 | GDestroyNotifycxx . . $ GDestroyNotify# notify); |
| 351 | |
| 352 | void gtk_widget_remove_surface_transform_changed_callbackcxx . . $ gtk_widget_remove_surface_transform_changed_callback(e71da402967e6e4b). (GtkWidgetcxx . . $ GtkWidget# *widget, |
| 353 | guintcxx . . $ guint# id); |
| 354 | |
| 355 | gbooleancxx . . $ gboolean# gtk_widget_can_activatecxx . . $ gtk_widget_can_activate(9247ef2dc26c5426). (GtkWidgetcxx . . $ GtkWidget# *widget); |
| 356 | |
| 357 | /* focus vfuncs for non-focusable containers with focusable children */ |
| 358 | gbooleancxx . . $ gboolean# gtk_widget_grab_focus_childcxx . . $ gtk_widget_grab_focus_child(9247ef2dc26c5426). (GtkWidgetcxx . . $ GtkWidget# *widget); |
| 359 | gbooleancxx . . $ gboolean# gtk_widget_focus_childcxx . . $ gtk_widget_focus_child(8bb1c65c821a69cd). (GtkWidgetcxx . . $ GtkWidget# *widget, |
| 360 | GtkDirectionTypecxx . . $ GtkDirectionType# direction); |
| 361 | /* focus vfuncs for focusable widgets with children that don't receive focus */ |
| 362 | gbooleancxx . . $ gboolean# gtk_widget_grab_focus_selfcxx . . $ gtk_widget_grab_focus_self(9247ef2dc26c5426). (GtkWidgetcxx . . $ GtkWidget# *widget); |
| 363 | gbooleancxx . . $ gboolean# gtk_widget_focus_selfcxx . . $ gtk_widget_focus_self(8bb1c65c821a69cd). (GtkWidgetcxx . . $ GtkWidget# *widget, |
| 364 | GtkDirectionTypecxx . . $ GtkDirectionType# direction); |
| 365 | |
| 366 | void gtk_widget_update_orientationcxx . . $ gtk_widget_update_orientation(478f3fd33c1887f0). (GtkWidgetcxx . . $ GtkWidget# *widget, |
| 367 | GtkOrientationcxx . . $ GtkOrientation# orientation); |
| 368 | |
| 369 | void gtk_widget_realize_at_contextcxx . . $ gtk_widget_realize_at_context(d7cf858254b37903). (GtkWidgetcxx . . $ GtkWidget# *widget); |
| 370 | void gtk_widget_unrealize_at_contextcxx . . $ gtk_widget_unrealize_at_context(d7cf858254b37903). (GtkWidgetcxx . . $ GtkWidget# *widget); |
| 371 | |
| 372 | gbooleancxx . . $ gboolean# gtk_widget_update_pango_contextcxx . . $ gtk_widget_update_pango_context(d3cedab2e67f8ed). (GtkWidgetcxx . . $ GtkWidget# *widget, |
| 373 | PangoContextcxx . . $ PangoContext# *context, |
| 374 | GtkTextDirectioncxx . . $ GtkTextDirection# direction); |
| 375 | |
| 376 | /* inline getters */ |
| 377 | |
| 378 | static inline GtkWidgetcxx . . $ GtkWidget# * |
| 379 | _gtk_widget_get_parentcxx . . $ _gtk_widget_get_parent(ef973e1b01680070). (GtkWidgetcxx . . $ GtkWidget# *widget) |
| 380 | { |
| 381 | return widget->privcxx . . $ _GtkWidget#priv.->parentcxx . . $ _GtkWidgetPrivate#parent.; |
| 382 | } |
| 383 | |
| 384 | static inline GtkWidgetcxx . . $ GtkWidget# * |
| 385 | _gtk_widget_get_focus_childcxx . . $ _gtk_widget_get_focus_child(ef973e1b01680070). (GtkWidgetcxx . . $ GtkWidget# *widget) |
| 386 | { |
| 387 | return widget->privcxx . . $ _GtkWidget#priv.->focus_childcxx . . $ _GtkWidgetPrivate#focus_child.; |
| 388 | } |
| 389 | |
| 390 | static inline gbooleancxx . . $ gboolean# |
| 391 | _gtk_widget_get_visiblecxx . . $ _gtk_widget_get_visible(9247ef2dc26c5426). (GtkWidgetcxx . . $ GtkWidget# *widget) |
| 392 | { |
| 393 | return widget->privcxx . . $ _GtkWidget#priv.->visiblecxx . . $ _GtkWidgetPrivate#visible.; |
| 394 | } |
| 395 | |
| 396 | static inline gbooleancxx . . $ gboolean# |
| 397 | _gtk_widget_get_child_visiblecxx . . $ _gtk_widget_get_child_visible(9247ef2dc26c5426). (GtkWidgetcxx . . $ GtkWidget# *widget) |
| 398 | { |
| 399 | return widget->privcxx . . $ _GtkWidget#priv.->child_visiblecxx . . $ _GtkWidgetPrivate#child_visible.; |
| 400 | } |
| 401 | |
| 402 | static inline gbooleancxx . . $ gboolean# |
| 403 | _gtk_widget_get_mappedcxx . . $ _gtk_widget_get_mapped(9247ef2dc26c5426). (GtkWidgetcxx . . $ GtkWidget# *widget) |
| 404 | { |
| 405 | return widget->privcxx . . $ _GtkWidget#priv.->mappedcxx . . $ _GtkWidgetPrivate#mapped.; |
| 406 | } |
| 407 | |
| 408 | static inline gbooleancxx . . $ gboolean# |
| 409 | _gtk_widget_get_realizedcxx . . $ _gtk_widget_get_realized(9247ef2dc26c5426). (GtkWidgetcxx . . $ GtkWidget# *widget) |
| 410 | { |
| 411 | return widget->privcxx . . $ _GtkWidget#priv.->realizedcxx . . $ _GtkWidgetPrivate#realized.; |
| 412 | } |
| 413 | |
| 414 | static inline GtkStateFlagscxx . . $ GtkStateFlags# |
| 415 | _gtk_widget_get_state_flagscxx . . $ _gtk_widget_get_state_flags(d8976ba950f6e7f). (GtkWidgetcxx . . $ GtkWidget# *widget) |
| 416 | { |
| 417 | return widget->privcxx . . $ _GtkWidget#priv.->state_flagscxx . . $ _GtkWidgetPrivate#state_flags.; |
| 418 | } |
| 419 | |
| 420 | extern GtkTextDirectioncxx . . $ GtkTextDirection# gtk_default_directioncxx . . $ gtk_default_direction.; |
| 421 | |
| 422 | static inline GtkTextDirectioncxx . . $ GtkTextDirection# |
| 423 | _gtk_widget_get_directioncxx . . $ _gtk_widget_get_direction(a6537c3bfdacec30). (GtkWidgetcxx . . $ GtkWidget# *widget) |
| 424 | { |
| 425 | if (widget->privcxx . . $ _GtkWidget#priv.->directioncxx . . $ _GtkWidgetPrivate#direction. == GTK_TEXT_DIR_NONEcxx . . $ GTK_TEXT_DIR_NONE.) |
| 426 | return gtk_default_directioncxx . . $ gtk_default_direction.; |
| 427 | else |
| 428 | return widget->privcxx . . $ _GtkWidget#priv.->directioncxx . . $ _GtkWidgetPrivate#direction.; |
| 429 | } |
| 430 | |
| 431 | static inline GtkRootcxx . . $ GtkRoot# * |
| 432 | _gtk_widget_get_rootcxx . . $ _gtk_widget_get_root(978ce13b0a79da4). (GtkWidgetcxx . . $ GtkWidget# *widget) |
| 433 | { |
| 434 | return widget->privcxx . . $ _GtkWidget#priv.->rootcxx . . $ _GtkWidgetPrivate#root.; |
| 435 | } |
| 436 | |
| 437 | static inline GdkDisplaycxx . . $ GdkDisplay# * |
| 438 | _gtk_widget_get_displaycxx . . $ _gtk_widget_get_display(6423c64908d5796a). (GtkWidgetcxx . . $ GtkWidget# *widget) |
| 439 | { |
| 440 | GtkRootcxx . . $ GtkRoot# *root = _gtk_widget_get_rootcxx . . $ _gtk_widget_get_root(978ce13b0a79da4). (widget); |
| 441 | |
| 442 | if (root == NULLcxx . . $ `<external>/15298297234472979974/stddef.h:419:9`!) |
| 443 | return gdk_display_get_defaultcxx . . $ gdk_display_get_default(b31d93ef98fc5572). (); |
| 444 | |
| 445 | return gtk_root_get_displaycxx . . $ gtk_root_get_display(a867df75fe642f20). (root); |
| 446 | } |
| 447 | |
| 448 | static inline gpointercxx . . $ gpointer# |
| 449 | _gtk_widget_peek_request_cachecxx . . $ _gtk_widget_peek_request_cache(d4166f81a7b61587). (GtkWidgetcxx . . $ GtkWidget# *widget) |
| 450 | { |
| 451 | return &widget->privcxx . . $ _GtkWidget#priv.->requestscxx . . $ _GtkWidgetPrivate#requests.; |
| 452 | } |
| 453 | |
| 454 | static inline GtkWidgetcxx . . $ GtkWidget# * |
| 455 | _gtk_widget_get_prev_siblingcxx . . $ _gtk_widget_get_prev_sibling(ef973e1b01680070). (GtkWidgetcxx . . $ GtkWidget# *widget) |
| 456 | { |
| 457 | return widget->privcxx . . $ _GtkWidget#priv.->prev_siblingcxx . . $ _GtkWidgetPrivate#prev_sibling.; |
| 458 | } |
| 459 | |
| 460 | static inline GtkWidgetcxx . . $ GtkWidget# * |
| 461 | _gtk_widget_get_next_siblingcxx . . $ _gtk_widget_get_next_sibling(ef973e1b01680070). (GtkWidgetcxx . . $ GtkWidget# *widget) |
| 462 | { |
| 463 | return widget->privcxx . . $ _GtkWidget#priv.->next_siblingcxx . . $ _GtkWidgetPrivate#next_sibling.; |
| 464 | } |
| 465 | |
| 466 | static inline GtkWidgetcxx . . $ GtkWidget# * |
| 467 | _gtk_widget_get_first_childcxx . . $ _gtk_widget_get_first_child(ef973e1b01680070). (GtkWidgetcxx . . $ GtkWidget# *widget) |
| 468 | { |
| 469 | return widget->privcxx . . $ _GtkWidget#priv.->first_childcxx . . $ _GtkWidgetPrivate#first_child.; |
| 470 | } |
| 471 | |
| 472 | static inline GtkWidgetcxx . . $ GtkWidget# * |
| 473 | _gtk_widget_get_last_childcxx . . $ _gtk_widget_get_last_child(ef973e1b01680070). (GtkWidgetcxx . . $ GtkWidget# *widget) |
| 474 | { |
| 475 | return widget->privcxx . . $ _GtkWidget#priv.->last_childcxx . . $ _GtkWidgetPrivate#last_child.; |
| 476 | } |
| 477 | |
| 478 | static inline gbooleancxx . . $ gboolean# |
| 479 | _gtk_widget_is_sensitivecxx . . $ _gtk_widget_is_sensitive(9247ef2dc26c5426). (GtkWidgetcxx . . $ GtkWidget# *widget) |
| 480 | { |
| 481 | return !(widget->privcxx . . $ _GtkWidget#priv.->state_flagscxx . . $ _GtkWidgetPrivate#state_flags. & GTK_STATE_FLAG_INSENSITIVEcxx . . $ GTK_STATE_FLAG_INSENSITIVE.); |
| 482 | } |
| 483 | |
| 484 | void gtk_widget_set_accessible_rolecxx . . $ gtk_widget_set_accessible_role(b8f7fc79cb55b9a9). (GtkWidgetcxx . . $ GtkWidget# *self, |
| 485 | GtkAccessibleRolecxx . . $ GtkAccessibleRole# role); |
| 486 | |
| 487 | G_END_DECLScxx . . $ `<external>/12741050725406041920/gmacros.h:948:9`! |