Github User Fetcher 1.0.0
C Application with Server and GUI
Loading...
Searching...
No Matches
gtkcellarea.h
Go to the documentation of this file.
1/* gtkcellarea.h
2 *
3 * Copyright (C) 2010 Openismus GmbH
4 *
5 * Authors:
6 * Tristan Van Berkom <tristanvb@openismus.com>
7 *
8 * This library is free software; you can redistribute it and/or
9 * modify it under the terms of the GNU Library General Public
10 * License as published by the Free Software Foundation; either
11 * version 2 of the License, or (at your option) any later version.
12 *
13 * This library is distributed in the hope that it will be useful,
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16 * Library General Public License for more details.
17 *
18 * You should have received a copy of the GNU Library General Public
19 * License along with this library. If not, see <http://www.gnu.org/licenses/>.
20 */
21
22#pragma once
23
24#if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION)
25#error "Only <gtk/gtk.h> can be included directly."
26#endif
27
28#include <gtk/gtkwidget.h>
31
33
34#define GTK_TYPE_CELL_AREA (gtk_cell_area_get_type ())
35#define GTK_CELL_AREA(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_CELL_AREA, GtkCellArea))
36#define GTK_CELL_AREA_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_CELL_AREA, GtkCellAreaClass))
37#define GTK_IS_CELL_AREA(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_CELL_AREA))
38#define GTK_IS_CELL_AREA_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_CELL_AREA))
39#define GTK_CELL_AREA_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_CELL_AREA, GtkCellAreaClass))
40
44
45/**
46 * GTK_CELL_AREA_WARN_INVALID_CELL_PROPERTY_ID:
47 * @object: the `GObject` on which set_cell_property() or get_cell_property()
48 * was called
49 * @property_id: the numeric id of the property
50 * @pspec: the `GParamSpec` of the property
51 *
52 * This macro should be used to emit a standard warning about unexpected
53 * properties in set_cell_property() and get_cell_property() implementations.
54 */
55#define GTK_CELL_AREA_WARN_INVALID_CELL_PROPERTY_ID(object, property_id, pspec) \
56 G_OBJECT_WARN_INVALID_PSPEC ((object), "cell property id", (property_id), (pspec))
57
58/**
59 * GtkCellCallback:
60 * @renderer: the cell renderer to operate on
61 * @data: (closure): user-supplied data
62 *
63 * The type of the callback functions used for iterating over
64 * the cell renderers of a `GtkCellArea`, see gtk_cell_area_foreach().
65 *
66 * Returns: %TRUE to stop iterating over cells.
67 */
69 gpointer data);
70
71/**
72 * GtkCellAllocCallback:
73 * @renderer: the cell renderer to operate on
74 * @cell_area: the area allocated to @renderer inside the rectangle
75 * provided to gtk_cell_area_foreach_alloc().
76 * @cell_background: the background area for @renderer inside the
77 * background area provided to gtk_cell_area_foreach_alloc().
78 * @data: (closure): user-supplied data
79 *
80 * The type of the callback functions used for iterating over the
81 * cell renderers and their allocated areas inside a `GtkCellArea`,
82 * see gtk_cell_area_foreach_alloc().
83 *
84 * Returns: %TRUE to stop iterating over cells.
85 */
87 const GdkRectangle *cell_area,
88 const GdkRectangle *cell_background,
89 gpointer data);
90
91
93{
94 /*< private >*/
96};
97
98
99/**
100 * GtkCellAreaClass:
101 * @add: adds a `GtkCellRenderer` to the area.
102 * @remove: removes a `GtkCellRenderer` from the area.
103 * @foreach: calls the `GtkCellCallback` function on every `GtkCellRenderer` in
104 * the area with the provided user data until the callback returns %TRUE.
105 * @foreach_alloc: Calls the `GtkCellAllocCallback` function on every
106 * `GtkCellRenderer` in the area with the allocated area for the cell
107 * and the provided user data until the callback returns %TRUE.
108 * @event: Handle an event in the area, this is generally used to activate
109 * a cell at the event location for button events but can also be used
110 * to generically pass events to `GtkWidget`s drawn onto the area.
111 * @snapshot: Actually snapshot the area’s cells to the specified rectangle,
112 * @background_area should be correctly distributed to the cells
113 * corresponding background areas.
114 * @apply_attributes: Apply the cell attributes to the cells. This is
115 * implemented as a signal and generally `GtkCellArea` subclasses don't
116 * need to implement it since it is handled by the base class.
117 * @create_context: Creates and returns a class specific `GtkCellAreaContext`
118 * to store cell alignment and allocation details for a said `GtkCellArea`
119 * class.
120 * @copy_context: Creates a new `GtkCellAreaContext` in the same state as
121 * the passed @context with any cell alignment data and allocations intact.
122 * @get_request_mode: This allows an area to tell its layouting widget whether
123 * it prefers to be allocated in %GTK_SIZE_REQUEST_HEIGHT_FOR_WIDTH or
124 * %GTK_SIZE_REQUEST_WIDTH_FOR_HEIGHT mode.
125 * @get_preferred_width: Calculates the minimum and natural width of the
126 * areas cells with the current attributes applied while considering
127 * the particular layouting details of the said `GtkCellArea`. While
128 * requests are performed over a series of rows, alignments and overall
129 * minimum and natural sizes should be stored in the corresponding
130 * `GtkCellAreaContext`.
131 * @get_preferred_height_for_width: Calculates the minimum and natural height
132 * for the area if the passed @context would be allocated the given width.
133 * When implementing this virtual method it is safe to assume that @context
134 * has already stored the aligned cell widths for every `GtkTreeModel` row
135 * that @context will be allocated for since this information was stored
136 * at `GtkCellAreaClass.get_preferred_width()` time. This virtual method
137 * should also store any necessary alignments of cell heights for the
138 * case that the context is allocated a height.
139 * @get_preferred_height: Calculates the minimum and natural height of the
140 * areas cells with the current attributes applied. Essentially this is
141 * the same as `GtkCellAreaClass.get_preferred_width()` only for areas
142 * that are being requested as %GTK_SIZE_REQUEST_WIDTH_FOR_HEIGHT.
143 * @get_preferred_width_for_height: Calculates the minimum and natural width
144 * for the area if the passed @context would be allocated the given
145 * height. The same as `GtkCellAreaClass.get_preferred_height_for_width()`
146 * only for handling requests in the %GTK_SIZE_REQUEST_WIDTH_FOR_HEIGHT
147 * mode.
148 * @set_cell_property: This should be implemented to handle changes in child
149 * cell properties for a given `GtkCellRenderer` that were previously
150 * installed on the `GtkCellAreaClass` with gtk_cell_area_class_install_cell_property().
151 * @get_cell_property: This should be implemented to report the values of
152 * child cell properties for a given child `GtkCellRenderer`.
153 * @focus: This virtual method should be implemented to navigate focus from
154 * cell to cell inside the `GtkCellArea`. The `GtkCellArea` should move
155 * focus from cell to cell inside the area and return %FALSE if focus
156 * logically leaves the area with the following exceptions: When the
157 * area contains no activatable cells, the entire area receives focus.
158 * Focus should not be given to cells that are actually “focus siblings”
159 * of other sibling cells (see gtk_cell_area_get_focus_from_sibling()).
160 * Focus is set by calling gtk_cell_area_set_focus_cell().
161 * @is_activatable: Returns whether the `GtkCellArea` can respond to
162 * `GtkCellAreaClass.activate()`, usually this does not need to be
163 * implemented since the base class takes care of this however it can
164 * be enhanced if the `GtkCellArea` subclass can handle activation in
165 * other ways than activating its `GtkCellRenderers`.
166 * @activate: This is called when the layouting widget rendering the
167 * `GtkCellArea` activates the focus cell (see gtk_cell_area_get_focus_cell()).
168 */
170{
171 /*< private >*/
173
174 /*< public >*/
175
176 /* Basic methods */
177 void (* add) (GtkCellArea *area,
178 GtkCellRenderer *renderer);
179 void (* remove) (GtkCellArea *area,
180 GtkCellRenderer *renderer);
181 void (* foreach) (GtkCellArea *area,
182 GtkCellCallback callback,
183 gpointer callback_data);
184 void (* foreach_alloc) (GtkCellArea *area,
185 GtkCellAreaContext *context,
186 GtkWidget *widget,
187 const GdkRectangle *cell_area,
188 const GdkRectangle *background_area,
189 GtkCellAllocCallback callback,
190 gpointer callback_data);
191 int (* event) (GtkCellArea *area,
192 GtkCellAreaContext *context,
193 GtkWidget *widget,
195 const GdkRectangle *cell_area,
197 void (* snapshot) (GtkCellArea *area,
198 GtkCellAreaContext *context,
199 GtkWidget *widget,
201 const GdkRectangle *background_area,
202 const GdkRectangle *cell_area,
204 gboolean paint_focus);
206 GtkTreeModel *tree_model,
207 GtkTreeIter *iter,
208 gboolean is_expander,
209 gboolean is_expanded);
210
211 /* Geometry */
212 GtkCellAreaContext *(* create_context) (GtkCellArea *area);
213 GtkCellAreaContext *(* copy_context) (GtkCellArea *area,
214 GtkCellAreaContext *context);
217 GtkCellAreaContext *context,
218 GtkWidget *widget,
219 int *minimum_width,
220 int *natural_width);
222 GtkCellAreaContext *context,
223 GtkWidget *widget,
224 int width,
225 int *minimum_height,
226 int *natural_height);
228 GtkCellAreaContext *context,
229 GtkWidget *widget,
230 int *minimum_height,
231 int *natural_height);
233 GtkCellAreaContext *context,
234 GtkWidget *widget,
235 int height,
236 int *minimum_width,
237 int *natural_width);
238
239 /* Cell Properties */
241 GtkCellRenderer *renderer,
242 guint property_id,
243 const GValue *value,
244 GParamSpec *pspec);
246 GtkCellRenderer *renderer,
247 guint property_id,
248 GValue *value,
249 GParamSpec *pspec);
250
251 /* Focus */
253 GtkDirectionType direction);
256 GtkCellAreaContext *context,
257 GtkWidget *widget,
258 const GdkRectangle *cell_area,
260 gboolean edit_only);
261
262 /*< private >*/
263
265};
266
269
270/* Basic methods */
273 GtkCellRenderer *renderer);
276 GtkCellRenderer *renderer);
279 GtkCellRenderer *renderer);
282 GtkCellCallback callback,
283 gpointer callback_data);
286 GtkCellAreaContext *context,
287 GtkWidget *widget,
288 const GdkRectangle *cell_area,
289 const GdkRectangle *background_area,
290 GtkCellAllocCallback callback,
291 gpointer callback_data);
294 GtkCellAreaContext *context,
295 GtkWidget *widget,
296 GdkEvent *event,
297 const GdkRectangle *cell_area,
301 GtkCellAreaContext *context,
302 GtkWidget *widget,
303 GtkSnapshot *snapshot,
304 const GdkRectangle *background_area,
305 const GdkRectangle *cell_area,
307 gboolean paint_focus);
308
311 GtkCellAreaContext *context,
312 GtkWidget *widget,
313 GtkCellRenderer *renderer,
314 const GdkRectangle *cell_area,
315 GdkRectangle *allocation);
318 GtkCellAreaContext *context,
319 GtkWidget *widget,
320 const GdkRectangle *cell_area,
321 int x,
322 int y,
323 GdkRectangle *alloc_area);
324
325/* Geometry */
330 GtkCellAreaContext *context);
335 GtkCellAreaContext *context,
336 GtkWidget *widget,
337 int *minimum_width,
338 int *natural_width);
341 GtkCellAreaContext *context,
342 GtkWidget *widget,
343 int width,
344 int *minimum_height,
345 int *natural_height);
348 GtkCellAreaContext *context,
349 GtkWidget *widget,
350 int *minimum_height,
351 int *natural_height);
354 GtkCellAreaContext *context,
355 GtkWidget *widget,
356 int height,
357 int *minimum_width,
358 int *natural_width);
361
362
363/* Attributes */
366 GtkTreeModel *tree_model,
367 GtkTreeIter *iter,
368 gboolean is_expander,
369 gboolean is_expanded);
372 GtkCellRenderer *renderer,
373 const char *attribute,
374 int column);
377 GtkCellRenderer *renderer,
378 const char *attribute);
381 GtkCellRenderer *renderer,
382 const char *attribute);
383
384
385/* Cell Properties */
388 guint property_id,
389 GParamSpec *pspec);
392 const char *property_name);
395 guint *n_properties);
398 GtkCellRenderer *renderer,
399 const char *first_prop_name,
403 GtkCellRenderer *renderer,
404 const char *first_prop_name,
408 GtkCellRenderer *renderer,
409 const char *first_prop_name,
413 GtkCellRenderer *renderer,
414 const char *first_property_name,
415 va_list var_args);
418 GtkCellRenderer *renderer,
419 const char *first_property_name,
420 va_list var_args);
423 GtkCellRenderer *renderer,
424 const char *property_name,
425 const GValue *value);
428 GtkCellRenderer *renderer,
429 const char *property_name,
430 GValue *value);
431
432/* Focus */
437 GtkCellAreaContext *context,
438 GtkWidget *widget,
439 const GdkRectangle *cell_area,
441 gboolean edit_only);
444 GtkDirectionType direction);
447 GtkCellRenderer *renderer);
450
451
452/* Focus siblings */
455 GtkCellRenderer *renderer,
456 GtkCellRenderer *sibling);
459 GtkCellRenderer *renderer,
460 GtkCellRenderer *sibling);
463 GtkCellRenderer *renderer,
464 GtkCellRenderer *sibling);
467 GtkCellRenderer *renderer);
470 GtkCellRenderer *renderer);
471
472/* Cell Activation/Editing */
479 GtkWidget *widget,
480 GtkCellRenderer *renderer,
481 GdkEvent *event,
482 const GdkRectangle *cell_area,
486 gboolean canceled);
487
488/* Functions for area implementations */
489
490/* Distinguish the inner cell area from the whole requested area including margins */
493 GtkWidget *widget,
494 const GdkRectangle *cell_area,
495 GdkRectangle *inner_area);
496
497/* Request the size of a cell while respecting the cell margins (requests are margin inclusive) */
500 GtkCellRenderer *renderer,
501 GtkOrientation orientation,
502 GtkWidget *widget,
503 int for_size,
504 int *minimum_size,
505 int *natural_size);
506
507/* For api stability, this is called from gtkcelllayout.c in order to ensure the correct
508 * object is passed to the user function in gtk_cell_layout_set_cell_data_func.
509 *
510 * This private api takes gpointer & GFunc arguments to circumvent circular header file
511 * dependencies.
512 */
514 GtkCellRenderer *cell,
515 GFunc func,
516 gpointer func_data,
517 GDestroyNotify destroy,
518 gpointer proxy);
519
521
523
#define GDK_DEPRECATED_IN_4_10
#define GDK_AVAILABLE_IN_ALL
struct _GdkEvent GdkEvent
Definition gdkevents.h:101
typedefG_BEGIN_DECLS struct _GList GList
Definition glist.h:39
#define G_END_DECLS
Definition gmacros.h:910
#define G_GNUC_NULL_TERMINATED
Definition gmacros.h:326
#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)
GDK_DEPRECATED_IN_4_10 GtkCellRenderer * gtk_cell_area_get_focus_from_sibling(GtkCellArea *area, GtkCellRenderer *renderer)
GDK_DEPRECATED_IN_4_10 void gtk_cell_area_add(GtkCellArea *area, GtkCellRenderer *renderer)
GDK_DEPRECATED_IN_4_10 void gtk_cell_area_inner_cell_area(GtkCellArea *area, GtkWidget *widget, const GdkRectangle *cell_area, GdkRectangle *inner_area)
GDK_DEPRECATED_IN_4_10 void gtk_cell_area_get_preferred_height_for_width(GtkCellArea *area, GtkCellAreaContext *context, GtkWidget *widget, int width, int *minimum_height, int *natural_height)
gboolean(* GtkCellAllocCallback)(GtkCellRenderer *renderer, const GdkRectangle *cell_area, const GdkRectangle *cell_background, gpointer data)
Definition gtkcellarea.h:86
GDK_DEPRECATED_IN_4_10 void gtk_cell_area_remove_focus_sibling(GtkCellArea *area, GtkCellRenderer *renderer, GtkCellRenderer *sibling)
GDK_DEPRECATED_IN_4_10 const char * gtk_cell_area_get_current_path_string(GtkCellArea *area)
GDK_DEPRECATED_IN_4_10 GtkCellAreaContext * gtk_cell_area_copy_context(GtkCellArea *area, GtkCellAreaContext *context)
GDK_DEPRECATED_IN_4_10 gboolean gtk_cell_area_has_renderer(GtkCellArea *area, GtkCellRenderer *renderer)
GDK_DEPRECATED_IN_4_10 int gtk_cell_area_event(GtkCellArea *area, GtkCellAreaContext *context, GtkWidget *widget, GdkEvent *event, const GdkRectangle *cell_area, GtkCellRendererState flags)
GDK_DEPRECATED_IN_4_10 const GList * gtk_cell_area_get_focus_siblings(GtkCellArea *area, GtkCellRenderer *renderer)
GDK_DEPRECATED_IN_4_10 void gtk_cell_area_remove(GtkCellArea *area, GtkCellRenderer *renderer)
GDK_DEPRECATED_IN_4_10 GParamSpec * gtk_cell_area_class_find_cell_property(GtkCellAreaClass *aclass, const char *property_name)
GDK_DEPRECATED_IN_4_10 void gtk_cell_area_cell_get(GtkCellArea *area, GtkCellRenderer *renderer, const char *first_prop_name,...) G_GNUC_NULL_TERMINATED
GDK_DEPRECATED_IN_4_10 void gtk_cell_area_get_preferred_width_for_height(GtkCellArea *area, GtkCellAreaContext *context, GtkWidget *widget, int height, int *minimum_width, int *natural_width)
GDK_DEPRECATED_IN_4_10 void gtk_cell_area_snapshot(GtkCellArea *area, GtkCellAreaContext *context, GtkWidget *widget, GtkSnapshot *snapshot, const GdkRectangle *background_area, const GdkRectangle *cell_area, GtkCellRendererState flags, gboolean paint_focus)
GDK_DEPRECATED_IN_4_10 void gtk_cell_area_cell_get_valist(GtkCellArea *area, GtkCellRenderer *renderer, const char *first_property_name, va_list var_args)
GDK_DEPRECATED_IN_4_10 GParamSpec ** gtk_cell_area_class_list_cell_properties(GtkCellAreaClass *aclass, guint *n_properties)
GDK_DEPRECATED_IN_4_10 void gtk_cell_area_get_preferred_height(GtkCellArea *area, GtkCellAreaContext *context, GtkWidget *widget, int *minimum_height, int *natural_height)
GDK_DEPRECATED_IN_4_10 GtkCellRenderer * gtk_cell_area_get_cell_at_position(GtkCellArea *area, GtkCellAreaContext *context, GtkWidget *widget, const GdkRectangle *cell_area, int x, int y, GdkRectangle *alloc_area)
GDK_DEPRECATED_IN_4_10 void gtk_cell_area_add_with_properties(GtkCellArea *area, GtkCellRenderer *renderer, const char *first_prop_name,...) G_GNUC_NULL_TERMINATED
GDK_DEPRECATED_IN_4_10 void gtk_cell_area_request_renderer(GtkCellArea *area, GtkCellRenderer *renderer, GtkOrientation orientation, GtkWidget *widget, int for_size, int *minimum_size, int *natural_size)
GDK_DEPRECATED_IN_4_10 void gtk_cell_area_attribute_disconnect(GtkCellArea *area, GtkCellRenderer *renderer, const char *attribute)
GDK_DEPRECATED_IN_4_10 void gtk_cell_area_cell_set_valist(GtkCellArea *area, GtkCellRenderer *renderer, const char *first_property_name, va_list var_args)
GDK_DEPRECATED_IN_4_10 void gtk_cell_area_class_install_cell_property(GtkCellAreaClass *aclass, guint property_id, GParamSpec *pspec)
GDK_DEPRECATED_IN_4_10 gboolean gtk_cell_area_focus(GtkCellArea *area, GtkDirectionType direction)
GDK_DEPRECATED_IN_4_10 void gtk_cell_area_attribute_connect(GtkCellArea *area, GtkCellRenderer *renderer, const char *attribute, int column)
GDK_DEPRECATED_IN_4_10 void gtk_cell_area_get_cell_allocation(GtkCellArea *area, GtkCellAreaContext *context, GtkWidget *widget, GtkCellRenderer *renderer, const GdkRectangle *cell_area, GdkRectangle *allocation)
GDK_DEPRECATED_IN_4_10 void gtk_cell_area_set_focus_cell(GtkCellArea *area, GtkCellRenderer *renderer)
GDK_DEPRECATED_IN_4_10 void gtk_cell_area_add_focus_sibling(GtkCellArea *area, GtkCellRenderer *renderer, GtkCellRenderer *sibling)
GDK_DEPRECATED_IN_4_10 void gtk_cell_area_cell_set(GtkCellArea *area, GtkCellRenderer *renderer, const char *first_prop_name,...) G_GNUC_NULL_TERMINATED
void _gtk_cell_area_set_cell_data_func_with_proxy(GtkCellArea *area, GtkCellRenderer *cell, GFunc func, gpointer func_data, GDestroyNotify destroy, gpointer proxy)
GDK_DEPRECATED_IN_4_10 gboolean gtk_cell_area_activate(GtkCellArea *area, GtkCellAreaContext *context, GtkWidget *widget, const GdkRectangle *cell_area, GtkCellRendererState flags, gboolean edit_only)
GDK_DEPRECATED_IN_4_10 void gtk_cell_area_cell_set_property(GtkCellArea *area, GtkCellRenderer *renderer, const char *property_name, const GValue *value)
GDK_DEPRECATED_IN_4_10 void gtk_cell_area_cell_get_property(GtkCellArea *area, GtkCellRenderer *renderer, const char *property_name, GValue *value)
GDK_DEPRECATED_IN_4_10 gboolean gtk_cell_area_activate_cell(GtkCellArea *area, GtkWidget *widget, GtkCellRenderer *renderer, GdkEvent *event, const GdkRectangle *cell_area, GtkCellRendererState flags)
GDK_DEPRECATED_IN_4_10 GtkCellRenderer * gtk_cell_area_get_focus_cell(GtkCellArea *area)
GDK_DEPRECATED_IN_4_10 GtkCellAreaContext * gtk_cell_area_create_context(GtkCellArea *area)
GDK_DEPRECATED_IN_4_10 void gtk_cell_area_get_preferred_width(GtkCellArea *area, GtkCellAreaContext *context, GtkWidget *widget, int *minimum_width, int *natural_width)
GDK_DEPRECATED_IN_4_10 void gtk_cell_area_foreach_alloc(GtkCellArea *area, GtkCellAreaContext *context, GtkWidget *widget, const GdkRectangle *cell_area, const GdkRectangle *background_area, GtkCellAllocCallback callback, gpointer callback_data)
GDK_DEPRECATED_IN_4_10 GtkCellEditable * gtk_cell_area_get_edit_widget(GtkCellArea *area)
GDK_AVAILABLE_IN_ALL GType gtk_cell_area_get_type(void) G_GNUC_CONST
gboolean(* GtkCellCallback)(GtkCellRenderer *renderer, gpointer data)
Definition gtkcellarea.h:68
GDK_DEPRECATED_IN_4_10 GtkCellRenderer * gtk_cell_area_get_edited_cell(GtkCellArea *area)
GDK_DEPRECATED_IN_4_10 GtkSizeRequestMode gtk_cell_area_get_request_mode(GtkCellArea *area)
GDK_DEPRECATED_IN_4_10 int gtk_cell_area_attribute_get_column(GtkCellArea *area, GtkCellRenderer *renderer, const char *attribute)
GDK_DEPRECATED_IN_4_10 gboolean gtk_cell_area_is_focus_sibling(GtkCellArea *area, GtkCellRenderer *renderer, GtkCellRenderer *sibling)
GDK_DEPRECATED_IN_4_10 gboolean gtk_cell_area_is_activatable(GtkCellArea *area)
GDK_DEPRECATED_IN_4_10 void gtk_cell_area_foreach(GtkCellArea *area, GtkCellCallback callback, gpointer callback_data)
GDK_DEPRECATED_IN_4_10 void gtk_cell_area_apply_attributes(GtkCellArea *area, GtkTreeModel *tree_model, GtkTreeIter *iter, gboolean is_expander, gboolean is_expanded)
GDK_DEPRECATED_IN_4_10 void gtk_cell_area_stop_editing(GtkCellArea *area, gboolean canceled)
struct _GtkCellEditable GtkCellEditable
GtkCellRendererState
GtkDirectionType
Definition gtkenums.h:208
GtkOrientation
Definition gtkenums.h:438
GtkSizeRequestMode
Definition gtkenums.h:812
struct _GtkTreeModel GtkTreeModel
GdkSnapshot GtkSnapshot
Definition gtktypes.h:60
gsize GType
Definition gtype.h:427
gint gboolean
Definition gtypes.h:56
void * gpointer
Definition gtypes.h:109
void(* GFunc)(gpointer data, gpointer user_data)
Definition gtypes.h:141
void(* GDestroyNotify)(gpointer data)
Definition gtypes.h:140
unsigned int guint
Definition gtypes.h:61
int value
Definition lsqlite3.c:2155
void(* get_preferred_height_for_width)(GtkCellArea *area, GtkCellAreaContext *context, GtkWidget *widget, int width, int *minimum_height, int *natural_height)
void(* get_preferred_width)(GtkCellArea *area, GtkCellAreaContext *context, GtkWidget *widget, int *minimum_width, int *natural_width)
void(* snapshot)(GtkCellArea *area, GtkCellAreaContext *context, GtkWidget *widget, GtkSnapshot *snapshot, const GdkRectangle *background_area, const GdkRectangle *cell_area, GtkCellRendererState flags, gboolean paint_focus)
gboolean(* activate)(GtkCellArea *area, GtkCellAreaContext *context, GtkWidget *widget, const GdkRectangle *cell_area, GtkCellRendererState flags, gboolean edit_only)
void(* get_cell_property)(GtkCellArea *area, GtkCellRenderer *renderer, guint property_id, GValue *value, GParamSpec *pspec)
void(* get_preferred_width_for_height)(GtkCellArea *area, GtkCellAreaContext *context, GtkWidget *widget, int height, int *minimum_width, int *natural_width)
int(* event)(GtkCellArea *area, GtkCellAreaContext *context, GtkWidget *widget, GdkEvent *event, const GdkRectangle *cell_area, GtkCellRendererState flags)
void(* remove)(GtkCellArea *area, GtkCellRenderer *renderer)
void(* get_preferred_height)(GtkCellArea *area, GtkCellAreaContext *context, GtkWidget *widget, int *minimum_height, int *natural_height)
gboolean(* is_activatable)(GtkCellArea *area)
void(* set_cell_property)(GtkCellArea *area, GtkCellRenderer *renderer, guint property_id, const GValue *value, GParamSpec *pspec)
gpointer padding[8]
void(* add)(GtkCellArea *area, GtkCellRenderer *renderer)
void(* apply_attributes)(GtkCellArea *area, GtkTreeModel *tree_model, GtkTreeIter *iter, gboolean is_expander, gboolean is_expanded)
void(* foreach_alloc)(GtkCellArea *area, GtkCellAreaContext *context, GtkWidget *widget, const GdkRectangle *cell_area, const GdkRectangle *background_area, GtkCellAllocCallback callback, gpointer callback_data)
gboolean(* focus)(GtkCellArea *area, GtkDirectionType direction)
GtkSizeRequestMode(* get_request_mode)(GtkCellArea *area)
GInitiallyUnownedClass parent_class
GInitiallyUnowned parent_instance
Definition gtkcellarea.h:95