Debian Codegraph @

gtk/deprecated/gtkcellrenderertext.c

raw symbols SCIP
1 /* gtkcellrenderertext.c
2 * Copyright (C) 2000 Red Hat, Inc., Jonathan Blandford <[email protected]>
3 *
4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Library 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 * Library General Public License for more details.
13 *
14 * You should have received a copy of the GNU Library General Public
15 * License along with this library. If not, see <http://www.gnu.org/licenses/>.
16 */
17
18 #include "config.h"cxx . . $ `<file>/build/config.h`/
19
20 #include "gtkcellrenderertext.h"cxx . . $ `<file>/gtk/deprecated/gtkcellrenderertext.h`/
21
22 #include "gtkcssnumbervalueprivate.h"cxx . . $ `<file>/gtk/gtkcssnumbervalueprivate.h`/
23 #include "gtkeditable.h"cxx . . $ `<file>/gtk/gtkeditable.h`/
24 #include "gtkentry.h"cxx . . $ `<file>/gtk/gtkentry.h`/
25 #include "gtkentryprivate.h"cxx . . $ `<file>/gtk/gtkentryprivate.h`/
26 #include "gtkmarshalers.h"cxx . . $ `<file>/build/gtk/gtkmarshalers.h`/
27 #include "gtkprivate.h"cxx . . $ `<file>/gtk/gtkprivate.h`/
28 #include "gtksizerequest.h"cxx . . $ `<file>/gtk/gtksizerequest.h`/
29 #include "deprecated/gtkrender.h"cxx . . $ `<file>/gtk/deprecated/gtkrender.h`/
30 #include "gtkstylecontextprivate.h"cxx . . $ `<file>/gtk/deprecated/gtkstylecontextprivate.h`/
31 #include "deprecated/gtktreeprivate.h"cxx . . $ `<file>/gtk/deprecated/gtktreeprivate.h`/
32
33 #include <stdlib.h>
34
35 G_GNUC_BEGIN_IGNORE_DEPRECATIONScxx . . $ `<external>/12741050725406041920/gmacros.h:771:9`!
36
37 /**
38 * GtkCellRendererText:
39 *
40 * Renders text in a cell
41 *
42 * A `GtkCellRendererText` renders a given text in its cell, using the font, color and
43 * style information provided by its properties. The text will be ellipsized if it is
44 * too long and the `GtkCellRendererText:ellipsize` property allows it.
45 *
46 * If the `GtkCellRenderer:mode` is %GTK_CELL_RENDERER_MODE_EDITABLE,
47 * the `GtkCellRendererText` allows to edit its text using an entry.
48 *
49 * Deprecated: 4.10: List views use widgets to display their contents.
50 * You should use [[email protected]] or [[email protected]] instead
51 */
52
53
54 static void gtk_cell_renderer_text_finalizecxx . . $ gtk_cell_renderer_text_finalize(6087475fa43034d3). (GObjectcxx . . $ GObject# *object);
55
56 static void gtk_cell_renderer_text_get_propertycxx . . $ gtk_cell_renderer_text_get_property(cee2c52f22407c66). (GObjectcxx . . $ GObject# *object,
57 guintcxx . . $ guint# param_id,
58 GValuecxx . . $ GValue# *value,
59 GParamSpeccxx . . $ GParamSpec# *pspec);
60 static void gtk_cell_renderer_text_set_propertycxx . . $ gtk_cell_renderer_text_set_property(d7c4bb29f36c0dc4). (GObjectcxx . . $ GObject# *object,
61 guintcxx . . $ guint# param_id,
62 const GValuecxx . . $ GValue# *value,
63 GParamSpeccxx . . $ GParamSpec# *pspec);
64 static void gtk_cell_renderer_text_snapshotcxx . . $ gtk_cell_renderer_text_snapshot(34bfa7962255c36). (GtkCellRenderercxx . . $ GtkCellRenderer# *cell,
65 GtkSnapshotcxx . . $ GtkSnapshot# *snapshot,
66 GtkWidgetcxx . . $ GtkWidget# *widget,
67 const GdkRectanglecxx . . $ GdkRectangle# *background_area,
68 const GdkRectanglecxx . . $ GdkRectangle# *cell_area,
69 GtkCellRendererStatecxx . . $ GtkCellRendererState# flags);
70
71 static GtkCellEditablecxx . . $ GtkCellEditable# *gtk_cell_renderer_text_start_editingcxx . . $ gtk_cell_renderer_text_start_editing(ea43edb464ffc494). (GtkCellRenderercxx . . $ GtkCellRenderer# *cell,
72 GdkEventcxx . . $ GdkEvent# *event,
73 GtkWidgetcxx . . $ GtkWidget# *widget,
74 const char *path,
75 const GdkRectanglecxx . . $ GdkRectangle# *background_area,
76 const GdkRectanglecxx . . $ GdkRectangle# *cell_area,
77 GtkCellRendererStatecxx . . $ GtkCellRendererState# flags);
78
79 static void gtk_cell_renderer_text_get_preferred_widthcxx . . $ gtk_cell_renderer_text_get_preferred_width(d5efea385435c9de). (GtkCellRenderercxx . . $ GtkCellRenderer# *cell,
80 GtkWidgetcxx . . $ GtkWidget# *widget,
81 int *minimal_size,
82 int *natural_size);
83 static void gtk_cell_renderer_text_get_preferred_heightcxx . . $ gtk_cell_renderer_text_get_preferred_height(d5efea385435c9de). (GtkCellRenderercxx . . $ GtkCellRenderer# *cell,
84 GtkWidgetcxx . . $ GtkWidget# *widget,
85 int *minimal_size,
86 int *natural_size);
87 static void gtk_cell_renderer_text_get_preferred_height_for_widthcxx . . $ gtk_cell_renderer_text_get_preferred_height_for_width(1257a0e0f3e3349e). (GtkCellRenderercxx . . $ GtkCellRenderer# *cell,
88 GtkWidgetcxx . . $ GtkWidget# *widget,
89 int width,
90 int *minimum_height,
91 int *natural_height);
92 static void gtk_cell_renderer_text_get_aligned_areacxx . . $ gtk_cell_renderer_text_get_aligned_area(65ae412043e58747). (GtkCellRenderercxx . . $ GtkCellRenderer# *cell,
93 GtkWidgetcxx . . $ GtkWidget# *widget,
94 GtkCellRendererStatecxx . . $ GtkCellRendererState# flags,
95 const GdkRectanglecxx . . $ GdkRectangle# *cell_area,
96 GdkRectanglecxx . . $ GdkRectangle# *aligned_area);
97
98
99
100 enumcxx . . $ $anonymous_type_b03621d6b155a247_0# {
101 EDITEDcxx . . $ EDITED.,
102 LAST_SIGNALcxx . . $ LAST_SIGNAL.
103 };
104
105 enumcxx . . $ $anonymous_type_b03621d6b155a247_1# {
106 PROP_0cxx . . $ PROP_0.,
107
108 PROP_TEXTcxx . . $ PROP_TEXT.,
109 PROP_MARKUPcxx . . $ PROP_MARKUP.,
110 PROP_ATTRIBUTEScxx . . $ PROP_ATTRIBUTES.,
111 PROP_SINGLE_PARAGRAPH_MODEcxx . . $ PROP_SINGLE_PARAGRAPH_MODE.,
112 PROP_WIDTH_CHARScxx . . $ PROP_WIDTH_CHARS.,
113 PROP_MAX_WIDTH_CHARScxx . . $ PROP_MAX_WIDTH_CHARS.,
114 PROP_WRAP_WIDTHcxx . . $ PROP_WRAP_WIDTH.,
115 PROP_ALIGNcxx . . $ PROP_ALIGN.,
116 PROP_PLACEHOLDER_TEXTcxx . . $ PROP_PLACEHOLDER_TEXT.,
117
118 /* Style args */
119 PROP_BACKGROUNDcxx . . $ PROP_BACKGROUND.,
120 PROP_FOREGROUNDcxx . . $ PROP_FOREGROUND.,
121 PROP_BACKGROUND_RGBAcxx . . $ PROP_BACKGROUND_RGBA.,
122 PROP_FOREGROUND_RGBAcxx . . $ PROP_FOREGROUND_RGBA.,
123 PROP_FONTcxx . . $ PROP_FONT.,
124 PROP_FONT_DESCcxx . . $ PROP_FONT_DESC.,
125 PROP_FAMILYcxx . . $ PROP_FAMILY.,
126 PROP_STYLEcxx . . $ PROP_STYLE.,
127 PROP_VARIANTcxx . . $ PROP_VARIANT.,
128 PROP_WEIGHTcxx . . $ PROP_WEIGHT.,
129 PROP_STRETCHcxx . . $ PROP_STRETCH.,
130 PROP_SIZEcxx . . $ PROP_SIZE.,
131 PROP_SIZE_POINTScxx . . $ PROP_SIZE_POINTS.,
132 PROP_SCALEcxx . . $ PROP_SCALE.,
133 PROP_EDITABLEcxx . . $ PROP_EDITABLE.,
134 PROP_STRIKETHROUGHcxx . . $ PROP_STRIKETHROUGH.,
135 PROP_UNDERLINEcxx . . $ PROP_UNDERLINE.,
136 PROP_RISEcxx . . $ PROP_RISE.,
137 PROP_LANGUAGEcxx . . $ PROP_LANGUAGE.,
138 PROP_ELLIPSIZEcxx . . $ PROP_ELLIPSIZE.,
139 PROP_WRAP_MODEcxx . . $ PROP_WRAP_MODE.,
140
141 /* Whether-a-style-arg-is-set args */
142 PROP_BACKGROUND_SETcxx . . $ PROP_BACKGROUND_SET.,
143 PROP_FOREGROUND_SETcxx . . $ PROP_FOREGROUND_SET.,
144 PROP_FAMILY_SETcxx . . $ PROP_FAMILY_SET.,
145 PROP_STYLE_SETcxx . . $ PROP_STYLE_SET.,
146 PROP_VARIANT_SETcxx . . $ PROP_VARIANT_SET.,
147 PROP_WEIGHT_SETcxx . . $ PROP_WEIGHT_SET.,
148 PROP_STRETCH_SETcxx . . $ PROP_STRETCH_SET.,
149 PROP_SIZE_SETcxx . . $ PROP_SIZE_SET.,
150 PROP_SCALE_SETcxx . . $ PROP_SCALE_SET.,
151 PROP_EDITABLE_SETcxx . . $ PROP_EDITABLE_SET.,
152 PROP_STRIKETHROUGH_SETcxx . . $ PROP_STRIKETHROUGH_SET.,
153 PROP_UNDERLINE_SETcxx . . $ PROP_UNDERLINE_SET.,
154 PROP_RISE_SETcxx . . $ PROP_RISE_SET.,
155 PROP_LANGUAGE_SETcxx . . $ PROP_LANGUAGE_SET.,
156 PROP_ELLIPSIZE_SETcxx . . $ PROP_ELLIPSIZE_SET.,
157 PROP_ALIGN_SETcxx . . $ PROP_ALIGN_SET.,
158
159 LAST_PROPcxx . . $ LAST_PROP.
160 };
161
162 static guintcxx . . $ guint# text_cell_renderer_signalscxx . . $ text_cell_renderer_signals. [LAST_SIGNALcxx . . $ LAST_SIGNAL.];
163 static GParamSpeccxx . . $ GParamSpec# *text_cell_renderer_propscxx . . $ text_cell_renderer_props. [LAST_PROPcxx . . $ LAST_PROP.];
164
165 #define GTK_CELL_RENDERER_TEXT_PATHcxx . . $ `gtk/deprecated/gtkcellrenderertext.c:165:9`! "gtk-cell-renderer-text-path"
166
167 typedef struct _GtkCellRendererTextPrivatecxx . . $ _GtkCellRendererTextPrivate# GtkCellRendererTextPrivatecxx . . $ GtkCellRendererTextPrivate#;
168
169 struct _GtkCellRendererTextPrivatecxx . . $ _GtkCellRendererTextPrivate#
170 {
171 GtkWidgetcxx . . $ GtkWidget# *entrycxx . . $ _GtkCellRendererTextPrivate#entry.;
172
173 PangoAttrListcxx . . $ PangoAttrList# *extra_attrscxx . . $ _GtkCellRendererTextPrivate#extra_attrs.;
174 GdkRGBAcxx . . $ GdkRGBA# foregroundcxx . . $ _GtkCellRendererTextPrivate#foreground.;
175 GdkRGBAcxx . . $ GdkRGBA# backgroundcxx . . $ _GtkCellRendererTextPrivate#background.;
176 PangoAlignmentcxx . . $ PangoAlignment# aligncxx . . $ _GtkCellRendererTextPrivate#align.;
177 PangoEllipsizeModecxx . . $ PangoEllipsizeMode# ellipsizecxx . . $ _GtkCellRendererTextPrivate#ellipsize.;
178 PangoFontDescriptioncxx . . $ PangoFontDescription# *fontcxx . . $ _GtkCellRendererTextPrivate#font.;
179 PangoLanguagecxx . . $ PangoLanguage# *languagecxx . . $ _GtkCellRendererTextPrivate#language.;
180 PangoUnderlinecxx . . $ PangoUnderline# underline_stylecxx . . $ _GtkCellRendererTextPrivate#underline_style.;
181 PangoWrapModecxx . . $ PangoWrapMode# wrap_modecxx . . $ _GtkCellRendererTextPrivate#wrap_mode.;
182
183 char *textcxx . . $ _GtkCellRendererTextPrivate#text.;
184 char *placeholder_textcxx . . $ _GtkCellRendererTextPrivate#placeholder_text.;
185
186 double font_scalecxx . . $ _GtkCellRendererTextPrivate#font_scale.;
187
188 int risecxx . . $ _GtkCellRendererTextPrivate#rise.;
189 int fixed_height_rowscxx . . $ _GtkCellRendererTextPrivate#fixed_height_rows.;
190 int width_charscxx . . $ _GtkCellRendererTextPrivate#width_chars.;
191 int max_width_charscxx . . $ _GtkCellRendererTextPrivate#max_width_chars.;
192 int wrap_widthcxx . . $ _GtkCellRendererTextPrivate#wrap_width.;
193
194 guintcxx . . $ guint# in_entry_menucxx . . $ _GtkCellRendererTextPrivate#in_entry_menu. : 1;
195 guintcxx . . $ guint# strikethroughcxx . . $ _GtkCellRendererTextPrivate#strikethrough. : 1;
196 guintcxx . . $ guint# editablecxx . . $ _GtkCellRendererTextPrivate#editable. : 1;
197 guintcxx . . $ guint# scale_setcxx . . $ _GtkCellRendererTextPrivate#scale_set. : 1;
198 guintcxx . . $ guint# foreground_setcxx . . $ _GtkCellRendererTextPrivate#foreground_set. : 1;
199 guintcxx . . $ guint# background_setcxx . . $ _GtkCellRendererTextPrivate#background_set. : 1;
200 guintcxx . . $ guint# underline_setcxx . . $ _GtkCellRendererTextPrivate#underline_set. : 1;
201 guintcxx . . $ guint# rise_setcxx . . $ _GtkCellRendererTextPrivate#rise_set. : 1;
202 guintcxx . . $ guint# strikethrough_setcxx . . $ _GtkCellRendererTextPrivate#strikethrough_set. : 1;
203 guintcxx . . $ guint# editable_setcxx . . $ _GtkCellRendererTextPrivate#editable_set. : 1;
204 guintcxx . . $ guint# calc_fixed_heightcxx . . $ _GtkCellRendererTextPrivate#calc_fixed_height. : 1;
205 guintcxx . . $ guint# single_paragraphcxx . . $ _GtkCellRendererTextPrivate#single_paragraph. : 1;
206 guintcxx . . $ guint# language_setcxx . . $ _GtkCellRendererTextPrivate#language_set. : 1;
207 guintcxx . . $ guint# markup_setcxx . . $ _GtkCellRendererTextPrivate#markup_set. : 1;
208 guintcxx . . $ guint# ellipsize_setcxx . . $ _GtkCellRendererTextPrivate#ellipsize_set. : 1;
209 guintcxx . . $ guint# align_setcxx . . $ _GtkCellRendererTextPrivate#align_set. : 1;
210
211 gulongcxx . . $ gulong# focus_out_idcxx . . $ _GtkCellRendererTextPrivate#focus_out_id.;
212 gulongcxx . . $ gulong# entry_menu_popdown_timeoutcxx . . $ _GtkCellRendererTextPrivate#entry_menu_popdown_timeout.;
213 };
214
215 G_DEFINE_TYPE_WITH_PRIVATEcxx . . $ `<external>/9567554376676449156/gtype.h:1876:9`! (GtkCellRendererText, gtk_cell_renderer_text, GTK_TYPE_CELL_RENDERERcxx . . $ `gtk/deprecated/gtkcellrenderer.h:76:9`!)
216
217 static void
218 gtk_cell_renderer_text_initcxx . . $ gtk_cell_renderer_text_init(3d164da3c8d700b2). (GtkCellRendererTextcxx . . $ GtkCellRendererText# *celltext)
219 {
220 GtkCellRendererTextPrivatecxx . . $ GtkCellRendererTextPrivate# *priv = gtk_cell_renderer_text_get_instance_privatecxx . . $ gtk_cell_renderer_text_get_instance_private(b598819e4829a497). (celltext);
221 GtkCellRenderercxx . . $ GtkCellRenderer# *cell = GTK_CELL_RENDERERcxx . . $ `gtk/deprecated/gtkcellrenderer.h:77:9`! (celltext);
222
223 gtk_cell_renderer_set_alignmentcxx . . $ gtk_cell_renderer_set_alignment(ffe6b1cc9752fbc6). (cell, 0.0, 0.5);
224 gtk_cell_renderer_set_paddingcxx . . $ gtk_cell_renderer_set_padding(a5ffd8d1e4aff98a). (cell, 2, 2);
225 priv->font_scalecxx . . $ _GtkCellRendererTextPrivate#font_scale. = 1.0;
226 priv->fixed_height_rowscxx . . $ _GtkCellRendererTextPrivate#fixed_height_rows. = -1;
227 priv->fontcxx . . $ _GtkCellRendererTextPrivate#font. = pango_font_description_newcxx . . $ pango_font_description_new(5a4f9ca8a83a4873). ();
228
229 priv->width_charscxx . . $ _GtkCellRendererTextPrivate#width_chars. = -1;
230 priv->max_width_charscxx . . $ _GtkCellRendererTextPrivate#max_width_chars. = -1;
231 priv->wrap_widthcxx . . $ _GtkCellRendererTextPrivate#wrap_width. = -1;
232 priv->wrap_modecxx . . $ _GtkCellRendererTextPrivate#wrap_mode. = PANGO_WRAP_CHARcxx . . $ PANGO_WRAP_CHAR.;
233 priv->aligncxx . . $ _GtkCellRendererTextPrivate#align. = PANGO_ALIGN_LEFTcxx . . $ PANGO_ALIGN_LEFT.;
234 priv->align_setcxx . . $ _GtkCellRendererTextPrivate#align_set. = FALSEcxx . . $ `<external>/12741050725406041920/gmacros.h:967:9`!;
235 }
236
237 static void
238 gtk_cell_renderer_text_class_initcxx . . $ gtk_cell_renderer_text_class_init(f45629ae7fc74d84). (GtkCellRendererTextClasscxx . . $ GtkCellRendererTextClass# *class)
239 {
240 GObjectClasscxx . . $ GObjectClass# *object_class = G_OBJECT_CLASScxx . . $ `<external>/1341695927569185362/gobject.h:61:9`! (class);
241 GtkCellRendererClasscxx . . $ GtkCellRendererClass# *cell_class = GTK_CELL_RENDERER_CLASScxx . . $ `gtk/deprecated/gtkcellrenderer.h:78:9`! (class);
242
243 object_class->finalizecxx . . $ _GObjectClass#finalize. = gtk_cell_renderer_text_finalizecxx . . $ gtk_cell_renderer_text_finalize(6087475fa43034d3).;
244
245 object_class->get_propertycxx . . $ _GObjectClass#get_property. = gtk_cell_renderer_text_get_propertycxx . . $ gtk_cell_renderer_text_get_property(cee2c52f22407c66).;
246 object_class->set_propertycxx . . $ _GObjectClass#set_property. = gtk_cell_renderer_text_set_propertycxx . . $ gtk_cell_renderer_text_set_property(d7c4bb29f36c0dc4).;
247
248 cell_class->snapshotcxx . . $ _GtkCellRendererClass#snapshot. = gtk_cell_renderer_text_snapshotcxx . . $ gtk_cell_renderer_text_snapshot(34bfa7962255c36).;
249 cell_class->start_editingcxx . . $ _GtkCellRendererClass#start_editing. = gtk_cell_renderer_text_start_editingcxx . . $ gtk_cell_renderer_text_start_editing(ea43edb464ffc494).;
250 cell_class->get_preferred_widthcxx . . $ _GtkCellRendererClass#get_preferred_width. = gtk_cell_renderer_text_get_preferred_widthcxx . . $ gtk_cell_renderer_text_get_preferred_width(d5efea385435c9de).;
251 cell_class->get_preferred_heightcxx . . $ _GtkCellRendererClass#get_preferred_height. = gtk_cell_renderer_text_get_preferred_heightcxx . . $ gtk_cell_renderer_text_get_preferred_height(d5efea385435c9de).;
252 cell_class->get_preferred_height_for_widthcxx . . $ _GtkCellRendererClass#get_preferred_height_for_width. = gtk_cell_renderer_text_get_preferred_height_for_widthcxx . . $ gtk_cell_renderer_text_get_preferred_height_for_width(1257a0e0f3e3349e).;
253 cell_class->get_aligned_areacxx . . $ _GtkCellRendererClass#get_aligned_area. = gtk_cell_renderer_text_get_aligned_areacxx . . $ gtk_cell_renderer_text_get_aligned_area(65ae412043e58747).;
254
255 text_cell_renderer_propscxx . . $ text_cell_renderer_props.[PROP_TEXTcxx . . $ PROP_TEXT.] =
256 g_param_spec_stringcxx . . $ g_param_spec_string(378e8746be5cd899). ("text", NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:419:9`!, NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:419:9`!,
257 NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:419:9`!,
258 GTK_PARAM_READWRITEcxx . . $ `gtk/gtkprivate.h:44:9`!);
259
260 text_cell_renderer_propscxx . . $ text_cell_renderer_props.[PROP_MARKUPcxx . . $ PROP_MARKUP.] =
261 g_param_spec_stringcxx . . $ g_param_spec_string(378e8746be5cd899). ("markup", NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:419:9`!, NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:419:9`!,
262 NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:419:9`!,
263 GTK_PARAM_WRITABLEcxx . . $ `gtk/gtkprivate.h:43:9`!);
264
265 text_cell_renderer_propscxx . . $ text_cell_renderer_props.[PROP_ATTRIBUTEScxx . . $ PROP_ATTRIBUTES.] =
266 g_param_spec_boxedcxx . . $ g_param_spec_boxed(faf99966f027a127). ("attributes", NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:419:9`!, NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:419:9`!,
267 PANGO_TYPE_ATTR_LISTcxx . . $ `<external>/6266610838560427104/pango-attributes.h:637:9`!,
268 GTK_PARAM_READWRITEcxx . . $ `gtk/gtkprivate.h:44:9`!);
269
270 text_cell_renderer_propscxx . . $ text_cell_renderer_props.[PROP_SINGLE_PARAGRAPH_MODEcxx . . $ PROP_SINGLE_PARAGRAPH_MODE.] =
271 g_param_spec_booleancxx . . $ g_param_spec_boolean(315d86b79c0116e0). ("single-paragraph-mode", NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:419:9`!, NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:419:9`!,
272 FALSEcxx . . $ `<external>/12741050725406041920/gmacros.h:967:9`!,
273 GTK_PARAM_READWRITEcxx . . $ `gtk/gtkprivate.h:44:9`!|G_PARAM_EXPLICIT_NOTIFYcxx . . $ G_PARAM_EXPLICIT_NOTIFY.);
274
275 text_cell_renderer_propscxx . . $ text_cell_renderer_props.[PROP_BACKGROUNDcxx . . $ PROP_BACKGROUND.] =
276 g_param_spec_stringcxx . . $ g_param_spec_string(378e8746be5cd899). ("background", NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:419:9`!, NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:419:9`!,
277 NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:419:9`!,
278 GTK_PARAM_WRITABLEcxx . . $ `gtk/gtkprivate.h:43:9`!);
279
280 /**
281 * GtkCellRendererText:background-rgba:
282 *
283 * Background color as a `GdkRGBA`
284 */
285 text_cell_renderer_propscxx . . $ text_cell_renderer_props.[PROP_BACKGROUND_RGBAcxx . . $ PROP_BACKGROUND_RGBA.] =
286 g_param_spec_boxedcxx . . $ g_param_spec_boxed(faf99966f027a127). ("background-rgba", NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:419:9`!, NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:419:9`!,
287 GDK_TYPE_RGBAcxx . . $ `gdk/gdkrgba.h:43:9`!,
288 GTK_PARAM_READWRITEcxx . . $ `gtk/gtkprivate.h:44:9`!);
289 text_cell_renderer_propscxx . . $ text_cell_renderer_props.[PROP_FOREGROUNDcxx . . $ PROP_FOREGROUND.] =
290 g_param_spec_stringcxx . . $ g_param_spec_string(378e8746be5cd899). ("foreground", NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:419:9`!, NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:419:9`!,
291 NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:419:9`!,
292 GTK_PARAM_WRITABLEcxx . . $ `gtk/gtkprivate.h:43:9`!);
293
294 /**
295 * GtkCellRendererText:foreground-rgba:
296 *
297 * Foreground color as a `GdkRGBA`
298 */
299 text_cell_renderer_propscxx . . $ text_cell_renderer_props.[PROP_FOREGROUND_RGBAcxx . . $ PROP_FOREGROUND_RGBA.] =
300 g_param_spec_boxedcxx . . $ g_param_spec_boxed(faf99966f027a127). ("foreground-rgba", NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:419:9`!, NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:419:9`!,
301 GDK_TYPE_RGBAcxx . . $ `gdk/gdkrgba.h:43:9`!,
302 GTK_PARAM_READWRITEcxx . . $ `gtk/gtkprivate.h:44:9`!);
303
304
305 text_cell_renderer_propscxx . . $ text_cell_renderer_props.[PROP_EDITABLEcxx . . $ PROP_EDITABLE.] =
306 g_param_spec_booleancxx . . $ g_param_spec_boolean(315d86b79c0116e0). ("editable", NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:419:9`!, NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:419:9`!,
307 FALSEcxx . . $ `<external>/12741050725406041920/gmacros.h:967:9`!,
308 GTK_PARAM_READWRITEcxx . . $ `gtk/gtkprivate.h:44:9`!);
309
310 text_cell_renderer_propscxx . . $ text_cell_renderer_props.[PROP_FONTcxx . . $ PROP_FONT.] =
311 g_param_spec_stringcxx . . $ g_param_spec_string(378e8746be5cd899). ("font", NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:419:9`!, NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:419:9`!,
312 NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:419:9`!,
313 GTK_PARAM_READWRITEcxx . . $ `gtk/gtkprivate.h:44:9`!);
314
315 text_cell_renderer_propscxx . . $ text_cell_renderer_props.[PROP_FONT_DESCcxx . . $ PROP_FONT_DESC.] =
316 g_param_spec_boxedcxx . . $ g_param_spec_boxed(faf99966f027a127). ("font-desc", NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:419:9`!, NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:419:9`!,
317 PANGO_TYPE_FONT_DESCRIPTIONcxx . . $ `<external>/13833497419501663053/pango-font.h:289:9`!,
318 GTK_PARAM_READWRITEcxx . . $ `gtk/gtkprivate.h:44:9`!);
319
320 text_cell_renderer_propscxx . . $ text_cell_renderer_props.[PROP_FAMILYcxx . . $ PROP_FAMILY.] =
321 g_param_spec_stringcxx . . $ g_param_spec_string(378e8746be5cd899). ("family", NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:419:9`!, NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:419:9`!,
322 NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:419:9`!,
323 GTK_PARAM_READWRITEcxx . . $ `gtk/gtkprivate.h:44:9`!);
324
325 text_cell_renderer_propscxx . . $ text_cell_renderer_props.[PROP_STYLEcxx . . $ PROP_STYLE.] =
326 g_param_spec_enumcxx . . $ g_param_spec_enum(bfeb217b5dc6c0ac). ("style", NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:419:9`!, NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:419:9`!,
327 PANGO_TYPE_STYLEcxx . . $ `<external>/8512660167370014205/pango-enum-types.h:54:9`!,
328 PANGO_STYLE_NORMALcxx . . $ PANGO_STYLE_NORMAL.,
329 GTK_PARAM_READWRITEcxx . . $ `gtk/gtkprivate.h:44:9`!);
330
331 text_cell_renderer_propscxx . . $ text_cell_renderer_props.[PROP_VARIANTcxx . . $ PROP_VARIANT.] =
332 g_param_spec_enumcxx . . $ g_param_spec_enum(bfeb217b5dc6c0ac). ("variant", NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:419:9`!, NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:419:9`!,
333 PANGO_TYPE_VARIANTcxx . . $ `<external>/8512660167370014205/pango-enum-types.h:57:9`!,
334 PANGO_VARIANT_NORMALcxx . . $ PANGO_VARIANT_NORMAL.,
335 GTK_PARAM_READWRITEcxx . . $ `gtk/gtkprivate.h:44:9`!);
336
337 text_cell_renderer_propscxx . . $ text_cell_renderer_props.[PROP_WEIGHTcxx . . $ PROP_WEIGHT.] =
338 g_param_spec_intcxx . . $ g_param_spec_int(eedf0a930522f60e). ("weight", NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:419:9`!, NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:419:9`!,
339 0, G_MAXINTcxx . . $ `<external>/10505296616216143549/glibconfig.h:39:9`!,
340 PANGO_WEIGHT_NORMALcxx . . $ PANGO_WEIGHT_NORMAL.,
341 GTK_PARAM_READWRITEcxx . . $ `gtk/gtkprivate.h:44:9`!);
342
343 text_cell_renderer_propscxx . . $ text_cell_renderer_props.[PROP_STRETCHcxx . . $ PROP_STRETCH.] =
344 g_param_spec_enumcxx . . $ g_param_spec_enum(bfeb217b5dc6c0ac). ("stretch", NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:419:9`!, NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:419:9`!,
345 PANGO_TYPE_STRETCHcxx . . $ `<external>/8512660167370014205/pango-enum-types.h:63:9`!,
346 PANGO_STRETCH_NORMALcxx . . $ PANGO_STRETCH_NORMAL.,
347 GTK_PARAM_READWRITEcxx . . $ `gtk/gtkprivate.h:44:9`!);
348
349 text_cell_renderer_propscxx . . $ text_cell_renderer_props.[PROP_SIZEcxx . . $ PROP_SIZE.] =
350 g_param_spec_intcxx . . $ g_param_spec_int(eedf0a930522f60e). ("size", NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:419:9`!, NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:419:9`!,
351 0, G_MAXINTcxx . . $ `<external>/10505296616216143549/glibconfig.h:39:9`!,
352 0,
353 GTK_PARAM_READWRITEcxx . . $ `gtk/gtkprivate.h:44:9`!);
354
355 text_cell_renderer_propscxx . . $ text_cell_renderer_props.[PROP_SIZE_POINTScxx . . $ PROP_SIZE_POINTS.] =
356 g_param_spec_doublecxx . . $ g_param_spec_double(7074fc8ad37faddb). ("size-points", NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:419:9`!, NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:419:9`!,
357 0.0, G_MAXDOUBLEcxx . . $ `<external>/10505296616216143549/glibconfig.h:34:9`!,
358 0.0,
359 GTK_PARAM_READWRITEcxx . . $ `gtk/gtkprivate.h:44:9`!);
360
361 text_cell_renderer_propscxx . . $ text_cell_renderer_props.[PROP_SCALEcxx . . $ PROP_SCALE.] =
362 g_param_spec_doublecxx . . $ g_param_spec_double(7074fc8ad37faddb). ("scale", NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:419:9`!, NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:419:9`!,
363 0.0, G_MAXDOUBLEcxx . . $ `<external>/10505296616216143549/glibconfig.h:34:9`!,
364 1.0,
365 GTK_PARAM_READWRITEcxx . . $ `gtk/gtkprivate.h:44:9`!);
366
367 text_cell_renderer_propscxx . . $ text_cell_renderer_props.[PROP_RISEcxx . . $ PROP_RISE.] =
368 g_param_spec_intcxx . . $ g_param_spec_int(eedf0a930522f60e). ("rise", NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:419:9`!, NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:419:9`!,
369 -G_MAXINTcxx . . $ `<external>/10505296616216143549/glibconfig.h:39:9`!, G_MAXINTcxx . . $ `<external>/10505296616216143549/glibconfig.h:39:9`!,
370 0,
371 GTK_PARAM_READWRITEcxx . . $ `gtk/gtkprivate.h:44:9`!);
372
373
374 text_cell_renderer_propscxx . . $ text_cell_renderer_props.[PROP_STRIKETHROUGHcxx . . $ PROP_STRIKETHROUGH.] =
375 g_param_spec_booleancxx . . $ g_param_spec_boolean(315d86b79c0116e0). ("strikethrough", NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:419:9`!, NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:419:9`!,
376 FALSEcxx . . $ `<external>/12741050725406041920/gmacros.h:967:9`!,
377 GTK_PARAM_READWRITEcxx . . $ `gtk/gtkprivate.h:44:9`!);
378
379 text_cell_renderer_propscxx . . $ text_cell_renderer_props.[PROP_UNDERLINEcxx . . $ PROP_UNDERLINE.] =
380 g_param_spec_enumcxx . . $ g_param_spec_enum(bfeb217b5dc6c0ac). ("underline", NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:419:9`!, NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:419:9`!,
381 PANGO_TYPE_UNDERLINEcxx . . $ `<external>/8512660167370014205/pango-enum-types.h:19:9`!,
382 PANGO_UNDERLINE_NONEcxx . . $ PANGO_UNDERLINE_NONE.,
383 GTK_PARAM_READWRITEcxx . . $ `gtk/gtkprivate.h:44:9`!);
384
385 text_cell_renderer_propscxx . . $ text_cell_renderer_props.[PROP_LANGUAGEcxx . . $ PROP_LANGUAGE.] =
386 g_param_spec_stringcxx . . $ g_param_spec_string(378e8746be5cd899). ("language", NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:419:9`!, NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:419:9`!,
387 NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:419:9`!,
388 GTK_PARAM_READWRITEcxx . . $ `gtk/gtkprivate.h:44:9`!);
389
390 /**
391 * GtkCellRendererText:ellipsize:
392 *
393 * Specifies the preferred place to ellipsize the string, if the cell renderer
394 * does not have enough room to display the entire string. Setting it to
395 * %PANGO_ELLIPSIZE_NONE turns off ellipsizing. See the wrap-width property
396 * for another way of making the text fit into a given width.
397 */
398 text_cell_renderer_propscxx . . $ text_cell_renderer_props.[PROP_ELLIPSIZEcxx . . $ PROP_ELLIPSIZE.] =
399 g_param_spec_enumcxx . . $ g_param_spec_enum(bfeb217b5dc6c0ac). ("ellipsize", NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:419:9`!, NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:419:9`!,
400 PANGO_TYPE_ELLIPSIZE_MODEcxx . . $ `<external>/8512660167370014205/pango-enum-types.h:93:9`!,
401 PANGO_ELLIPSIZE_NONEcxx . . $ PANGO_ELLIPSIZE_NONE.,
402 GTK_PARAM_READWRITEcxx . . $ `gtk/gtkprivate.h:44:9`!|G_PARAM_EXPLICIT_NOTIFYcxx . . $ G_PARAM_EXPLICIT_NOTIFY.);
403
404 /**
405 * GtkCellRendererText:width-chars:
406 *
407 * The desired width of the cell, in characters. If this property is set to
408 * -1, the width will be calculated automatically, otherwise the cell will
409 * request either 3 characters or the property value, whichever is greater.
410 **/
411 text_cell_renderer_propscxx . . $ text_cell_renderer_props.[PROP_WIDTH_CHARScxx . . $ PROP_WIDTH_CHARS.] =
412 g_param_spec_intcxx . . $ g_param_spec_int(eedf0a930522f60e). ("width-chars", NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:419:9`!, NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:419:9`!,
413 -1, G_MAXINTcxx . . $ `<external>/10505296616216143549/glibconfig.h:39:9`!,
414 -1,
415 GTK_PARAM_READWRITEcxx . . $ `gtk/gtkprivate.h:44:9`!|G_PARAM_EXPLICIT_NOTIFYcxx . . $ G_PARAM_EXPLICIT_NOTIFY.);
416
417 /**
418 * GtkCellRendererText:max-width-chars:
419 *
420 * The desired maximum width of the cell, in characters. If this property
421 * is set to -1, the width will be calculated automatically.
422 *
423 * For cell renderers that ellipsize or wrap text; this property
424 * controls the maximum reported width of the cell. The
425 * cell should not receive any greater allocation unless it is
426 * set to expand in its `GtkCellLayout` and all of the cell's siblings
427 * have received their natural width.
428 **/
429 text_cell_renderer_propscxx . . $ text_cell_renderer_props.[PROP_MAX_WIDTH_CHARScxx . . $ PROP_MAX_WIDTH_CHARS.] =
430 g_param_spec_intcxx . . $ g_param_spec_int(eedf0a930522f60e). ("max-width-chars", NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:419:9`!, NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:419:9`!,
431 -1, G_MAXINTcxx . . $ `<external>/10505296616216143549/glibconfig.h:39:9`!,
432 -1,
433 GTK_PARAM_READWRITEcxx . . $ `gtk/gtkprivate.h:44:9`!|G_PARAM_EXPLICIT_NOTIFYcxx . . $ G_PARAM_EXPLICIT_NOTIFY.);
434
435 /**
436 * GtkCellRendererText:wrap-mode:
437 *
438 * Specifies how to break the string into multiple lines, if the cell
439 * renderer does not have enough room to display the entire string.
440 * This property has no effect unless the wrap-width property is set.
441 */
442 text_cell_renderer_propscxx . . $ text_cell_renderer_props.[PROP_WRAP_MODEcxx . . $ PROP_WRAP_MODE.] =
443 g_param_spec_enumcxx . . $ g_param_spec_enum(bfeb217b5dc6c0ac). ("wrap-mode", NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:419:9`!, NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:419:9`!,
444 PANGO_TYPE_WRAP_MODEcxx . . $ `<external>/8512660167370014205/pango-enum-types.h:90:9`!,
445 PANGO_WRAP_CHARcxx . . $ PANGO_WRAP_CHAR.,
446 GTK_PARAM_READWRITEcxx . . $ `gtk/gtkprivate.h:44:9`!|G_PARAM_EXPLICIT_NOTIFYcxx . . $ G_PARAM_EXPLICIT_NOTIFY.);
447
448 /**
449 * GtkCellRendererText:wrap-width:
450 *
451 * Specifies the minimum width at which the text is wrapped. The wrap-mode property can
452 * be used to influence at what character positions the line breaks can be placed.
453 * Setting wrap-width to -1 turns wrapping off.
454 */
455 text_cell_renderer_propscxx . . $ text_cell_renderer_props.[PROP_WRAP_WIDTHcxx . . $ PROP_WRAP_WIDTH.] =
456 g_param_spec_intcxx . . $ g_param_spec_int(eedf0a930522f60e). ("wrap-width", NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:419:9`!, NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:419:9`!,
457 -1, G_MAXINTcxx . . $ `<external>/10505296616216143549/glibconfig.h:39:9`!,
458 -1,
459 GTK_PARAM_READWRITEcxx . . $ `gtk/gtkprivate.h:44:9`!|G_PARAM_EXPLICIT_NOTIFYcxx . . $ G_PARAM_EXPLICIT_NOTIFY.);
460
461 /**
462 * GtkCellRendererText:alignment:
463 *
464 * Specifies how to align the lines of text with respect to each other.
465 *
466 * Note that this property describes how to align the lines of text in
467 * case there are several of them. The "xalign" property of `GtkCellRenderer`,
468 * on the other hand, sets the horizontal alignment of the whole text.
469 */
470 text_cell_renderer_propscxx . . $ text_cell_renderer_props.[PROP_ALIGNcxx . . $ PROP_ALIGN.] =
471 g_param_spec_enumcxx . . $ g_param_spec_enum(bfeb217b5dc6c0ac). ("alignment", NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:419:9`!, NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:419:9`!,
472 PANGO_TYPE_ALIGNMENTcxx . . $ `<external>/8512660167370014205/pango-enum-types.h:87:9`!,
473 PANGO_ALIGN_LEFTcxx . . $ PANGO_ALIGN_LEFT.,
474 GTK_PARAM_READWRITEcxx . . $ `gtk/gtkprivate.h:44:9`!|G_PARAM_EXPLICIT_NOTIFYcxx . . $ G_PARAM_EXPLICIT_NOTIFY.);
475
476 /**
477 * GtkCellRendererText:placeholder-text:
478 *
479 * The text that will be displayed in the `GtkCellRenderer` if
480 * `GtkCellRendererText:editable` is %TRUE and the cell is empty.
481 */
482 text_cell_renderer_propscxx . . $ text_cell_renderer_props.[PROP_PLACEHOLDER_TEXTcxx . . $ PROP_PLACEHOLDER_TEXT.] =
483 g_param_spec_stringcxx . . $ g_param_spec_string(378e8746be5cd899). ("placeholder-text", NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:419:9`!, NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:419:9`!,
484 NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:419:9`!,
485 GTK_PARAM_READWRITEcxx . . $ `gtk/gtkprivate.h:44:9`!);
486
487 /* Style props are set or not */
488
489 #define ADD_SET_PROPcxx . . $ `gtk/deprecated/gtkcellrenderertext.c:489:9`!(propname, propval, nick, blurb) text_cell_renderer_props[propval] = g_param_spec_boolean (propname, nick, blurb, FALSEcxx . . $ `<external>/12741050725406041920/gmacros.h:967:9`!, GTK_PARAM_READWRITEcxx . . $ `gtk/gtkprivate.h:44:9`!)
490
491 ADD_SET_PROPcxx . . $ `gtk/deprecated/gtkcellrenderertext.c:489:9`! ("background-set", PROP_BACKGROUND_SET, NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:419:9`!, NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:419:9`!);
492
493 ADD_SET_PROPcxx . . $ `gtk/deprecated/gtkcellrenderertext.c:489:9`! ("foreground-set", PROP_FOREGROUND_SET, NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:419:9`!, NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:419:9`!);
494
495 ADD_SET_PROPcxx . . $ `gtk/deprecated/gtkcellrenderertext.c:489:9`! ("editable-set", PROP_EDITABLE_SET, NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:419:9`!, NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:419:9`!);
496
497 ADD_SET_PROPcxx . . $ `gtk/deprecated/gtkcellrenderertext.c:489:9`! ("family-set", PROP_FAMILY_SET, NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:419:9`!, NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:419:9`!);
498
499 ADD_SET_PROPcxx . . $ `gtk/deprecated/gtkcellrenderertext.c:489:9`! ("style-set", PROP_STYLE_SET, NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:419:9`!, NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:419:9`!);
500
501 ADD_SET_PROPcxx . . $ `gtk/deprecated/gtkcellrenderertext.c:489:9`! ("variant-set", PROP_VARIANT_SET, NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:419:9`!, NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:419:9`!);
502
503 ADD_SET_PROPcxx . . $ `gtk/deprecated/gtkcellrenderertext.c:489:9`! ("weight-set", PROP_WEIGHT_SET, NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:419:9`!, NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:419:9`!);
504
505 ADD_SET_PROPcxx . . $ `gtk/deprecated/gtkcellrenderertext.c:489:9`! ("stretch-set", PROP_STRETCH_SET, NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:419:9`!, NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:419:9`!);
506
507 ADD_SET_PROPcxx . . $ `gtk/deprecated/gtkcellrenderertext.c:489:9`! ("size-set", PROP_SIZE_SET, NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:419:9`!, NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:419:9`!);
508
509 ADD_SET_PROPcxx . . $ `gtk/deprecated/gtkcellrenderertext.c:489:9`! ("scale-set", PROP_SCALE_SET, NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:419:9`!, NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:419:9`!);
510
511 ADD_SET_PROPcxx . . $ `gtk/deprecated/gtkcellrenderertext.c:489:9`! ("rise-set", PROP_RISE_SET, NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:419:9`!, NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:419:9`!);
512
513 ADD_SET_PROPcxx . . $ `gtk/deprecated/gtkcellrenderertext.c:489:9`! ("strikethrough-set", PROP_STRIKETHROUGH_SET, NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:419:9`!, NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:419:9`!);
514
515 ADD_SET_PROPcxx . . $ `gtk/deprecated/gtkcellrenderertext.c:489:9`! ("underline-set", PROP_UNDERLINE_SET, NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:419:9`!, NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:419:9`!);
516
517 ADD_SET_PROPcxx . . $ `gtk/deprecated/gtkcellrenderertext.c:489:9`! ("language-set", PROP_LANGUAGE_SET, NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:419:9`!, NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:419:9`!);
518
519 ADD_SET_PROPcxx . . $ `gtk/deprecated/gtkcellrenderertext.c:489:9`! ("ellipsize-set", PROP_ELLIPSIZE_SET, NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:419:9`!, NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:419:9`!);
520
521 ADD_SET_PROPcxx . . $ `gtk/deprecated/gtkcellrenderertext.c:489:9`! ("align-set", PROP_ALIGN_SET, NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:419:9`!, NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:419:9`!);
522
523 g_object_class_install_propertiescxx . . $ g_object_class_install_properties(569d03e6a4088541). (object_class, LAST_PROPcxx . . $ LAST_PROP., text_cell_renderer_propscxx . . $ text_cell_renderer_props.);
524
525 /**
526 * GtkCellRendererText::edited:
527 * @renderer: the object which received the signal
528 * @path: the path identifying the edited cell
529 * @new_text: the new text
530 *
531 * This signal is emitted after @renderer has been edited.
532 *
533 * It is the responsibility of the application to update the model
534 * and store @new_text at the position indicated by @path.
535 */
536 text_cell_renderer_signalscxx . . $ text_cell_renderer_signals. [EDITEDcxx . . $ EDITED.] =
537 g_signal_newcxx . . $ g_signal_new(b0aa5e8090fb95c0). (I_cxx . . $ `gdk/gdkprivate.h:35:9`!("edited"),
538 G_OBJECT_CLASS_TYPEcxx . . $ `<external>/1341695927569185362/gobject.h:117:9`! (object_class),
539 G_SIGNAL_RUN_LASTcxx . . $ G_SIGNAL_RUN_LAST.,
540 G_STRUCT_OFFSETcxx . . $ `<external>/12741050725406041920/gmacros.h:1005:9`! (GtkCellRendererTextClass, edited),
541 NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:419:9`!, NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:419:9`!,
542 _gtk_marshal_VOID__STRING_STRINGcxx . . $ _gtk_marshal_VOID__STRING_STRING(cba270afb0f82555).,
543 G_TYPE_NONEcxx . . $ `<external>/9567554376676449156/gtype.h:72:9`!, 2,
544 G_TYPE_STRINGcxx . . $ `<external>/9567554376676449156/gtype.h:165:9`!,
545 G_TYPE_STRINGcxx . . $ `<external>/9567554376676449156/gtype.h:165:9`!);
546 g_signal_set_va_marshallercxx . . $ g_signal_set_va_marshaller(4fd870c04a9d6fe7). (text_cell_renderer_signalscxx . . $ text_cell_renderer_signals. [EDITEDcxx . . $ EDITED.],
547 G_OBJECT_CLASS_TYPEcxx . . $ `<external>/1341695927569185362/gobject.h:117:9`! (object_class),
548 _gtk_marshal_VOID__STRING_STRINGvcxx . . $ _gtk_marshal_VOID__STRING_STRINGv(d309f4be92d1737c).);
549 }
550
551 static void
552 gtk_cell_renderer_text_finalizecxx . . $ gtk_cell_renderer_text_finalize(6087475fa43034d3). (GObjectcxx . . $ GObject# *object)
553 {
554 GtkCellRendererTextcxx . . $ GtkCellRendererText# *celltext = GTK_CELL_RENDERER_TEXTcxx . . $ `gtk/deprecated/gtkcellrenderertext.h:32:9`! (object);
555 GtkCellRendererTextPrivatecxx . . $ GtkCellRendererTextPrivate# *priv = gtk_cell_renderer_text_get_instance_privatecxx . . $ gtk_cell_renderer_text_get_instance_private(b598819e4829a497). (celltext);
556
557 pango_font_description_freecxx . . $ pango_font_description_free(915e2822a6190560). (priv->fontcxx . . $ _GtkCellRendererTextPrivate#font.);
558
559 g_freecxx . . $ g_free(5d22bdacc48458e8). (priv->textcxx . . $ _GtkCellRendererTextPrivate#text.);
560 g_freecxx . . $ g_free(5d22bdacc48458e8). (priv->placeholder_textcxx . . $ _GtkCellRendererTextPrivate#placeholder_text.);
561
562 if (priv->extra_attrscxx . . $ _GtkCellRendererTextPrivate#extra_attrs.)
563 pango_attr_list_unrefcxx . . $ pango_attr_list_unref(c4bf0c0856846d1b). (priv->extra_attrscxx . . $ _GtkCellRendererTextPrivate#extra_attrs.);
564
565 if (priv->languagecxx . . $ _GtkCellRendererTextPrivate#language.)
566 g_object_unrefcxx . . $ g_object_unref(5d22bdacc48458e8). (priv->languagecxx . . $ _GtkCellRendererTextPrivate#language.);
567
568 g_clear_objectcxx . . $ `<external>/1341695927569185362/gobject.h:695:9`! (&priv->entry);
569
570 G_OBJECT_CLASScxx . . $ `<external>/1341695927569185362/gobject.h:61:9`! (gtk_cell_renderer_text_parent_class)->finalizecxx . . $ _GObjectClass#finalize. (object);
571 }
572
573 static PangoFontMaskcxx . . $ PangoFontMask#
574 get_property_font_set_maskcxx . . $ get_property_font_set_mask(e1b1c0ab772d2f8a). (guintcxx . . $ guint# prop_id)
575 {
576 switch (prop_id)
577 {
578 case PROP_FAMILY_SETcxx . . $ PROP_FAMILY_SET.:
579 return PANGO_FONT_MASK_FAMILYcxx . . $ PANGO_FONT_MASK_FAMILY.;
580 case PROP_STYLE_SETcxx . . $ PROP_STYLE_SET.:
581 return PANGO_FONT_MASK_STYLEcxx . . $ PANGO_FONT_MASK_STYLE.;
582 case PROP_VARIANT_SETcxx . . $ PROP_VARIANT_SET.:
583 return PANGO_FONT_MASK_VARIANTcxx . . $ PANGO_FONT_MASK_VARIANT.;
584 case PROP_WEIGHT_SETcxx . . $ PROP_WEIGHT_SET.:
585 return PANGO_FONT_MASK_WEIGHTcxx . . $ PANGO_FONT_MASK_WEIGHT.;
586 case PROP_STRETCH_SETcxx . . $ PROP_STRETCH_SET.:
587 return PANGO_FONT_MASK_STRETCHcxx . . $ PANGO_FONT_MASK_STRETCH.;
588 case PROP_SIZE_SETcxx . . $ PROP_SIZE_SET.:
589 return PANGO_FONT_MASK_SIZEcxx . . $ PANGO_FONT_MASK_SIZE.;
590 default:
591 return 0;
592 }
593 }
594
595 static void
596 gtk_cell_renderer_text_get_propertycxx . . $ gtk_cell_renderer_text_get_property(cee2c52f22407c66). (GObjectcxx . . $ GObject# *object,
597 guintcxx . . $ guint# param_id,
598 GValuecxx . . $ GValue# *value,
599 GParamSpeccxx . . $ GParamSpec# *pspec)
600 {
601 GtkCellRendererTextcxx . . $ GtkCellRendererText# *celltext = GTK_CELL_RENDERER_TEXTcxx . . $ `gtk/deprecated/gtkcellrenderertext.h:32:9`! (object);
602 GtkCellRendererTextPrivatecxx . . $ GtkCellRendererTextPrivate# *priv = gtk_cell_renderer_text_get_instance_privatecxx . . $ gtk_cell_renderer_text_get_instance_private(b598819e4829a497). (celltext);
603
604 switch (param_id)
605 {
606 case PROP_TEXTcxx . . $ PROP_TEXT.:
607 g_value_set_stringcxx . . $ g_value_set_string(65b9ea7708b82b9b). (value, priv->textcxx . . $ _GtkCellRendererTextPrivate#text.);
608 break;
609
610 case PROP_ATTRIBUTEScxx . . $ PROP_ATTRIBUTES.:
611 g_value_set_boxedcxx . . $ g_value_set_boxed(806599f585dac18b). (value, priv->extra_attrscxx . . $ _GtkCellRendererTextPrivate#extra_attrs.);
612 break;
613
614 case PROP_SINGLE_PARAGRAPH_MODEcxx . . $ PROP_SINGLE_PARAGRAPH_MODE.:
615 g_value_set_booleancxx . . $ g_value_set_boolean(b698c61e8e30c4ea). (value, priv->single_paragraphcxx . . $ _GtkCellRendererTextPrivate#single_paragraph.);
616 break;
617
618 case PROP_BACKGROUND_RGBAcxx . . $ PROP_BACKGROUND_RGBA.:
619 g_value_set_boxedcxx . . $ g_value_set_boxed(806599f585dac18b). (value, &priv->backgroundcxx . . $ _GtkCellRendererTextPrivate#background.);
620 break;
621
622 case PROP_FOREGROUND_RGBAcxx . . $ PROP_FOREGROUND_RGBA.:
623 g_value_set_boxedcxx . . $ g_value_set_boxed(806599f585dac18b). (value, &priv->foregroundcxx . . $ _GtkCellRendererTextPrivate#foreground.);
624 break;
625
626 case PROP_FONTcxx . . $ PROP_FONT.:
627 g_value_take_stringcxx . . $ g_value_take_string(1934021d7ed92e84). (value, pango_font_description_to_stringcxx . . $ pango_font_description_to_string(ff16bbc4f3a30be8). (priv->fontcxx . . $ _GtkCellRendererTextPrivate#font.));
628 break;
629
630 case PROP_FONT_DESCcxx . . $ PROP_FONT_DESC.:
631 g_value_set_boxedcxx . . $ g_value_set_boxed(806599f585dac18b). (value, priv->fontcxx . . $ _GtkCellRendererTextPrivate#font.);
632 break;
633
634 case PROP_FAMILYcxx . . $ PROP_FAMILY.:
635 g_value_set_stringcxx . . $ g_value_set_string(65b9ea7708b82b9b). (value, pango_font_description_get_familycxx . . $ pango_font_description_get_family(75dd3c50999c21c3). (priv->fontcxx . . $ _GtkCellRendererTextPrivate#font.));
636 break;
637
638 case PROP_STYLEcxx . . $ PROP_STYLE.:
639 g_value_set_enumcxx . . $ g_value_set_enum(b698c61e8e30c4ea). (value, pango_font_description_get_stylecxx . . $ pango_font_description_get_style(416aa274a10bdaa4). (priv->fontcxx . . $ _GtkCellRendererTextPrivate#font.));
640 break;
641
642 case PROP_VARIANTcxx . . $ PROP_VARIANT.:
643 g_value_set_enumcxx . . $ g_value_set_enum(b698c61e8e30c4ea). (value, pango_font_description_get_variantcxx . . $ pango_font_description_get_variant(ec47c9053e4ae46d). (priv->fontcxx . . $ _GtkCellRendererTextPrivate#font.));
644 break;
645
646 case PROP_WEIGHTcxx . . $ PROP_WEIGHT.:
647 g_value_set_intcxx . . $ g_value_set_int(b698c61e8e30c4ea). (value, pango_font_description_get_weightcxx . . $ pango_font_description_get_weight(6f2e9f297dfdf6d6). (priv->fontcxx . . $ _GtkCellRendererTextPrivate#font.));
648 break;
649
650 case PROP_STRETCHcxx . . $ PROP_STRETCH.:
651 g_value_set_enumcxx . . $ g_value_set_enum(b698c61e8e30c4ea). (value, pango_font_description_get_stretchcxx . . $ pango_font_description_get_stretch(f8865e4762aabc7c). (priv->fontcxx . . $ _GtkCellRendererTextPrivate#font.));
652 break;
653
654 case PROP_SIZEcxx . . $ PROP_SIZE.:
655 g_value_set_intcxx . . $ g_value_set_int(b698c61e8e30c4ea). (value, pango_font_description_get_sizecxx . . $ pango_font_description_get_size(3ca9016730d4c6e6). (priv->fontcxx . . $ _GtkCellRendererTextPrivate#font.));
656 break;
657
658 case PROP_SIZE_POINTScxx . . $ PROP_SIZE_POINTS.:
659 g_value_set_doublecxx . . $ g_value_set_double(994eddfdeb9c9cc0). (value, ((double)pango_font_description_get_sizecxx . . $ pango_font_description_get_size(3ca9016730d4c6e6). (priv->fontcxx . . $ _GtkCellRendererTextPrivate#font.)) / (double)PANGO_SCALEcxx . . $ `<external>/16549852590339199443/pango-types.h:96:9`!);
660 break;
661
662 case PROP_SCALEcxx . . $ PROP_SCALE.:
663 g_value_set_doublecxx . . $ g_value_set_double(994eddfdeb9c9cc0). (value, priv->font_scalecxx . . $ _GtkCellRendererTextPrivate#font_scale.);
664 break;
665
666 case PROP_EDITABLEcxx . . $ PROP_EDITABLE.:
667 g_value_set_booleancxx . . $ g_value_set_boolean(b698c61e8e30c4ea). (value, priv->editablecxx . . $ _GtkCellRendererTextPrivate#editable.);
668 break;
669
670 case PROP_STRIKETHROUGHcxx . . $ PROP_STRIKETHROUGH.:
671 g_value_set_booleancxx . . $ g_value_set_boolean(b698c61e8e30c4ea). (value, priv->strikethroughcxx . . $ _GtkCellRendererTextPrivate#strikethrough.);
672 break;
673
674 case PROP_UNDERLINEcxx . . $ PROP_UNDERLINE.:
675 g_value_set_enumcxx . . $ g_value_set_enum(b698c61e8e30c4ea). (value, priv->underline_stylecxx . . $ _GtkCellRendererTextPrivate#underline_style.);
676 break;
677
678 case PROP_RISEcxx . . $ PROP_RISE.:
679 g_value_set_intcxx . . $ g_value_set_int(b698c61e8e30c4ea). (value, priv->risecxx . . $ _GtkCellRendererTextPrivate#rise.);
680 break;
681
682 case PROP_LANGUAGEcxx . . $ PROP_LANGUAGE.:
683 g_value_set_static_stringcxx . . $ g_value_set_static_string(65b9ea7708b82b9b). (value, pango_language_to_stringcxx . . $ `<external>/14546590751925307241/pango-language.h:52:9`! (priv->language));
684 break;
685
686 case PROP_ELLIPSIZEcxx . . $ PROP_ELLIPSIZE.:
687 g_value_set_enumcxx . . $ g_value_set_enum(b698c61e8e30c4ea). (value, priv->ellipsizecxx . . $ _GtkCellRendererTextPrivate#ellipsize.);
688 break;
689
690 case PROP_WRAP_MODEcxx . . $ PROP_WRAP_MODE.:
691 g_value_set_enumcxx . . $ g_value_set_enum(b698c61e8e30c4ea). (value, priv->wrap_modecxx . . $ _GtkCellRendererTextPrivate#wrap_mode.);
692 break;
693
694 case PROP_WRAP_WIDTHcxx . . $ PROP_WRAP_WIDTH.:
695 g_value_set_intcxx . . $ g_value_set_int(b698c61e8e30c4ea). (value, priv->wrap_widthcxx . . $ _GtkCellRendererTextPrivate#wrap_width.);
696 break;
697
698 case PROP_ALIGNcxx . . $ PROP_ALIGN.:
699 g_value_set_enumcxx . . $ g_value_set_enum(b698c61e8e30c4ea). (value, priv->aligncxx . . $ _GtkCellRendererTextPrivate#align.);
700 break;
701
702 case PROP_BACKGROUND_SETcxx . . $ PROP_BACKGROUND_SET.:
703 g_value_set_booleancxx . . $ g_value_set_boolean(b698c61e8e30c4ea). (value, priv->background_setcxx . . $ _GtkCellRendererTextPrivate#background_set.);
704 break;
705
706 case PROP_FOREGROUND_SETcxx . . $ PROP_FOREGROUND_SET.:
707 g_value_set_booleancxx . . $ g_value_set_boolean(b698c61e8e30c4ea). (value, priv->foreground_setcxx . . $ _GtkCellRendererTextPrivate#foreground_set.);
708 break;
709
710 case PROP_FAMILY_SETcxx . . $ PROP_FAMILY_SET.:
711 case PROP_STYLE_SETcxx . . $ PROP_STYLE_SET.:
712 case PROP_VARIANT_SETcxx . . $ PROP_VARIANT_SET.:
713 case PROP_WEIGHT_SETcxx . . $ PROP_WEIGHT_SET.:
714 case PROP_STRETCH_SETcxx . . $ PROP_STRETCH_SET.:
715 case PROP_SIZE_SETcxx . . $ PROP_SIZE_SET.:
716 {
717 PangoFontMaskcxx . . $ PangoFontMask# mask = get_property_font_set_maskcxx . . $ get_property_font_set_mask(e1b1c0ab772d2f8a). (param_id);
718 g_value_set_booleancxx . . $ g_value_set_boolean(b698c61e8e30c4ea). (value, (pango_font_description_get_set_fieldscxx . . $ pango_font_description_get_set_fields(5014320f1e99c9df). (priv->fontcxx . . $ _GtkCellRendererTextPrivate#font.) & mask) != 0);
719
720 break;
721 }
722
723 case PROP_SCALE_SETcxx . . $ PROP_SCALE_SET.:
724 g_value_set_booleancxx . . $ g_value_set_boolean(b698c61e8e30c4ea). (value, priv->scale_setcxx . . $ _GtkCellRendererTextPrivate#scale_set.);
725 break;
726
727 case PROP_EDITABLE_SETcxx . . $ PROP_EDITABLE_SET.:
728 g_value_set_booleancxx . . $ g_value_set_boolean(b698c61e8e30c4ea). (value, priv->editable_setcxx . . $ _GtkCellRendererTextPrivate#editable_set.);
729 break;
730
731 case PROP_STRIKETHROUGH_SETcxx . . $ PROP_STRIKETHROUGH_SET.:
732 g_value_set_booleancxx . . $ g_value_set_boolean(b698c61e8e30c4ea). (value, priv->strikethrough_setcxx . . $ _GtkCellRendererTextPrivate#strikethrough_set.);
733 break;
734
735 case PROP_UNDERLINE_SETcxx . . $ PROP_UNDERLINE_SET.:
736 g_value_set_booleancxx . . $ g_value_set_boolean(b698c61e8e30c4ea). (value, priv->underline_setcxx . . $ _GtkCellRendererTextPrivate#underline_set.);
737 break;
738
739 case PROP_RISE_SETcxx . . $ PROP_RISE_SET.:
740 g_value_set_booleancxx . . $ g_value_set_boolean(b698c61e8e30c4ea). (value, priv->rise_setcxx . . $ _GtkCellRendererTextPrivate#rise_set.);
741 break;
742
743 case PROP_LANGUAGE_SETcxx . . $ PROP_LANGUAGE_SET.:
744 g_value_set_booleancxx . . $ g_value_set_boolean(b698c61e8e30c4ea). (value, priv->language_setcxx . . $ _GtkCellRendererTextPrivate#language_set.);
745 break;
746
747 case PROP_ELLIPSIZE_SETcxx . . $ PROP_ELLIPSIZE_SET.:
748 g_value_set_booleancxx . . $ g_value_set_boolean(b698c61e8e30c4ea). (value, priv->ellipsize_setcxx . . $ _GtkCellRendererTextPrivate#ellipsize_set.);
749 break;
750
751 case PROP_ALIGN_SETcxx . . $ PROP_ALIGN_SET.:
752 g_value_set_booleancxx . . $ g_value_set_boolean(b698c61e8e30c4ea). (value, priv->align_setcxx . . $ _GtkCellRendererTextPrivate#align_set.);
753 break;
754
755 case PROP_WIDTH_CHARScxx . . $ PROP_WIDTH_CHARS.:
756 g_value_set_intcxx . . $ g_value_set_int(b698c61e8e30c4ea). (value, priv->width_charscxx . . $ _GtkCellRendererTextPrivate#width_chars.);
757 break;
758
759 case PROP_MAX_WIDTH_CHARScxx . . $ PROP_MAX_WIDTH_CHARS.:
760 g_value_set_intcxx . . $ g_value_set_int(b698c61e8e30c4ea). (value, priv->max_width_charscxx . . $ _GtkCellRendererTextPrivate#max_width_chars.);
761 break;
762
763 case PROP_PLACEHOLDER_TEXTcxx . . $ PROP_PLACEHOLDER_TEXT.:
764 g_value_set_stringcxx . . $ g_value_set_string(65b9ea7708b82b9b). (value, priv->placeholder_textcxx . . $ _GtkCellRendererTextPrivate#placeholder_text.);
765 break;
766
767 case PROP_BACKGROUNDcxx . . $ PROP_BACKGROUND.:
768 case PROP_FOREGROUNDcxx . . $ PROP_FOREGROUND.:
769 case PROP_MARKUPcxx . . $ PROP_MARKUP.:
770 default:
771 G_OBJECT_WARN_INVALID_PROPERTY_IDcxx . . $ `<external>/1341695927569185362/gobject.h:690:9`! (object, param_id, pspec);
772 break;
773 }
774 }
775
776
777 static void
778 set_bg_colorcxx . . $ set_bg_color(fdeb62374671c25f). (GtkCellRendererTextcxx . . $ GtkCellRendererText# *celltext,
779 GdkRGBAcxx . . $ GdkRGBA# *rgba)
780 {
781 GtkCellRendererTextPrivatecxx . . $ GtkCellRendererTextPrivate# *priv = gtk_cell_renderer_text_get_instance_privatecxx . . $ gtk_cell_renderer_text_get_instance_private(b598819e4829a497). (celltext);
782
783 if (rgba)
784 {
785 if (!priv->background_setcxx . . $ _GtkCellRendererTextPrivate#background_set.)
786 {
787 priv->background_setcxx . . $ _GtkCellRendererTextPrivate#background_set. = TRUEcxx . . $ `<external>/12741050725406041920/gmacros.h:971:9`!;
788 g_object_notify_by_pspeccxx . . $ g_object_notify_by_pspec(89706f8943b9e738). (G_OBJECTcxx . . $ `<external>/1341695927569185362/gobject.h:54:9`! (celltext), text_cell_renderer_propscxx . . $ text_cell_renderer_props.[PROP_BACKGROUND_SETcxx . . $ PROP_BACKGROUND_SET.]);
789 }
790
791 priv->backgroundcxx . . $ _GtkCellRendererTextPrivate#background. = *rgba;
792 }
793 else
794 {
795 if (priv->background_setcxx . . $ _GtkCellRendererTextPrivate#background_set.)
796 {
797 priv->background_setcxx . . $ _GtkCellRendererTextPrivate#background_set. = FALSEcxx . . $ `<external>/12741050725406041920/gmacros.h:967:9`!;
798 g_object_notify_by_pspeccxx . . $ g_object_notify_by_pspec(89706f8943b9e738). (G_OBJECTcxx . . $ `<external>/1341695927569185362/gobject.h:54:9`! (celltext), text_cell_renderer_propscxx . . $ text_cell_renderer_props.[PROP_BACKGROUND_SETcxx . . $ PROP_BACKGROUND_SET.]);
799 }
800 }
801 }
802
803 static void
804 set_fg_colorcxx . . $ set_fg_color(fdeb62374671c25f). (GtkCellRendererTextcxx . . $ GtkCellRendererText# *celltext,
805 GdkRGBAcxx . . $ GdkRGBA# *rgba)
806 {
807 GtkCellRendererTextPrivatecxx . . $ GtkCellRendererTextPrivate# *priv = gtk_cell_renderer_text_get_instance_privatecxx . . $ gtk_cell_renderer_text_get_instance_private(b598819e4829a497). (celltext);
808
809 if (rgba)
810 {
811 if (!priv->foreground_setcxx . . $ _GtkCellRendererTextPrivate#foreground_set.)
812 {
813 priv->foreground_setcxx . . $ _GtkCellRendererTextPrivate#foreground_set. = TRUEcxx . . $ `<external>/12741050725406041920/gmacros.h:971:9`!;
814 g_object_notify_by_pspeccxx . . $ g_object_notify_by_pspec(89706f8943b9e738). (G_OBJECTcxx . . $ `<external>/1341695927569185362/gobject.h:54:9`! (celltext), text_cell_renderer_propscxx . . $ text_cell_renderer_props.[PROP_FOREGROUND_SETcxx . . $ PROP_FOREGROUND_SET.]);
815 }
816
817 priv->foregroundcxx . . $ _GtkCellRendererTextPrivate#foreground. = *rgba;
818 }
819 else
820 {
821 if (priv->foreground_setcxx . . $ _GtkCellRendererTextPrivate#foreground_set.)
822 {
823 priv->foreground_setcxx . . $ _GtkCellRendererTextPrivate#foreground_set. = FALSEcxx . . $ `<external>/12741050725406041920/gmacros.h:967:9`!;
824 g_object_notify_by_pspeccxx . . $ g_object_notify_by_pspec(89706f8943b9e738). (G_OBJECTcxx . . $ `<external>/1341695927569185362/gobject.h:54:9`! (celltext), text_cell_renderer_propscxx . . $ text_cell_renderer_props.[PROP_FOREGROUND_SETcxx . . $ PROP_FOREGROUND_SET.]);
825 }
826 }
827 }
828
829 static PangoFontMaskcxx . . $ PangoFontMask#
830 set_font_desc_fieldscxx . . $ set_font_desc_fields(56221e8d2996f128). (PangoFontDescriptioncxx . . $ PangoFontDescription# *desc,
831 PangoFontMaskcxx . . $ PangoFontMask# to_set)
832 {
833 PangoFontMaskcxx . . $ PangoFontMask# changed_mask = 0;
834
835 if (to_set & PANGO_FONT_MASK_FAMILYcxx . . $ PANGO_FONT_MASK_FAMILY.)
836 {
837 const char *family = pango_font_description_get_familycxx . . $ pango_font_description_get_family(75dd3c50999c21c3). (desc);
838 if (!family)
839 {
840 family = "sans";
841 changed_mask |= PANGO_FONT_MASK_FAMILYcxx . . $ PANGO_FONT_MASK_FAMILY.;
842 }
843
844 pango_font_description_set_familycxx . . $ pango_font_description_set_family(6d49faefa5f0bd82). (desc, family);
845 }
846 if (to_set & PANGO_FONT_MASK_STYLEcxx . . $ PANGO_FONT_MASK_STYLE.)
847 pango_font_description_set_stylecxx . . $ pango_font_description_set_style(67cd1e25c071908). (desc, pango_font_description_get_stylecxx . . $ pango_font_description_get_style(416aa274a10bdaa4). (desc));
848 if (to_set & PANGO_FONT_MASK_VARIANTcxx . . $ PANGO_FONT_MASK_VARIANT.)
849 pango_font_description_set_variantcxx . . $ pango_font_description_set_variant(d5e5894bbc38311e). (desc, pango_font_description_get_variantcxx . . $ pango_font_description_get_variant(ec47c9053e4ae46d). (desc));
850 if (to_set & PANGO_FONT_MASK_WEIGHTcxx . . $ PANGO_FONT_MASK_WEIGHT.)
851 pango_font_description_set_weightcxx . . $ pango_font_description_set_weight(e0a9672fffe4b843). (desc, pango_font_description_get_weightcxx . . $ pango_font_description_get_weight(6f2e9f297dfdf6d6). (desc));
852 if (to_set & PANGO_FONT_MASK_STRETCHcxx . . $ PANGO_FONT_MASK_STRETCH.)
853 pango_font_description_set_stretchcxx . . $ pango_font_description_set_stretch(341ed8b85fa84591). (desc, pango_font_description_get_stretchcxx . . $ pango_font_description_get_stretch(f8865e4762aabc7c). (desc));
854 if (to_set & PANGO_FONT_MASK_SIZEcxx . . $ PANGO_FONT_MASK_SIZE.)
855 {
856 int size = pango_font_description_get_sizecxx . . $ pango_font_description_get_size(3ca9016730d4c6e6). (desc);
857 if (size <= 0)
858 {
859 size = 10 * PANGO_SCALEcxx . . $ `<external>/16549852590339199443/pango-types.h:96:9`!;
860 changed_mask |= PANGO_FONT_MASK_SIZEcxx . . $ PANGO_FONT_MASK_SIZE.;
861 }
862
863 pango_font_description_set_sizecxx . . $ pango_font_description_set_size(3fc07385aedb63f8). (desc, size);
864 }
865
866 return changed_mask;
867 }
868
869 static void
870 notify_set_changedcxx . . $ notify_set_changed(ccc1f550fda4ffb2). (GObjectcxx . . $ GObject# *object,
871 PangoFontMaskcxx . . $ PangoFontMask# changed_mask)
872 {
873 if (changed_mask & PANGO_FONT_MASK_FAMILYcxx . . $ PANGO_FONT_MASK_FAMILY.)
874 g_object_notify_by_pspeccxx . . $ g_object_notify_by_pspec(89706f8943b9e738). (object, text_cell_renderer_propscxx . . $ text_cell_renderer_props.[PROP_FAMILY_SETcxx . . $ PROP_FAMILY_SET.]);
875 if (changed_mask & PANGO_FONT_MASK_STYLEcxx . . $ PANGO_FONT_MASK_STYLE.)
876 g_object_notify_by_pspeccxx . . $ g_object_notify_by_pspec(89706f8943b9e738). (object, text_cell_renderer_propscxx . . $ text_cell_renderer_props.[PROP_STYLE_SETcxx . . $ PROP_STYLE_SET.]);
877 if (changed_mask & PANGO_FONT_MASK_VARIANTcxx . . $ PANGO_FONT_MASK_VARIANT.)
878 g_object_notify_by_pspeccxx . . $ g_object_notify_by_pspec(89706f8943b9e738). (object, text_cell_renderer_propscxx . . $ text_cell_renderer_props.[PROP_VARIANT_SETcxx . . $ PROP_VARIANT_SET.]);
879 if (changed_mask & PANGO_FONT_MASK_WEIGHTcxx . . $ PANGO_FONT_MASK_WEIGHT.)
880 g_object_notify_by_pspeccxx . . $ g_object_notify_by_pspec(89706f8943b9e738). (object, text_cell_renderer_propscxx . . $ text_cell_renderer_props.[PROP_WEIGHT_SETcxx . . $ PROP_WEIGHT_SET.]);
881 if (changed_mask & PANGO_FONT_MASK_STRETCHcxx . . $ PANGO_FONT_MASK_STRETCH.)
882 g_object_notify_by_pspeccxx . . $ g_object_notify_by_pspec(89706f8943b9e738). (object, text_cell_renderer_propscxx . . $ text_cell_renderer_props.[PROP_STRETCH_SETcxx . . $ PROP_STRETCH_SET.]);
883 if (changed_mask & PANGO_FONT_MASK_SIZEcxx . . $ PANGO_FONT_MASK_SIZE.)
884 g_object_notify_by_pspeccxx . . $ g_object_notify_by_pspec(89706f8943b9e738). (object, text_cell_renderer_propscxx . . $ text_cell_renderer_props.[PROP_SIZE_SETcxx . . $ PROP_SIZE_SET.]);
885 }
886
887 static void
888 notify_fields_changedcxx . . $ notify_fields_changed(ccc1f550fda4ffb2). (GObjectcxx . . $ GObject# *object,
889 PangoFontMaskcxx . . $ PangoFontMask# changed_mask)
890 {
891 if (changed_mask & PANGO_FONT_MASK_FAMILYcxx . . $ PANGO_FONT_MASK_FAMILY.)
892 g_object_notify_by_pspeccxx . . $ g_object_notify_by_pspec(89706f8943b9e738). (object, text_cell_renderer_propscxx . . $ text_cell_renderer_props.[PROP_FAMILYcxx . . $ PROP_FAMILY.]);
893 if (changed_mask & PANGO_FONT_MASK_STYLEcxx . . $ PANGO_FONT_MASK_STYLE.)
894 g_object_notify_by_pspeccxx . . $ g_object_notify_by_pspec(89706f8943b9e738). (object, text_cell_renderer_propscxx . . $ text_cell_renderer_props.[PROP_STYLEcxx . . $ PROP_STYLE.]);
895 if (changed_mask & PANGO_FONT_MASK_VARIANTcxx . . $ PANGO_FONT_MASK_VARIANT.)
896 g_object_notify_by_pspeccxx . . $ g_object_notify_by_pspec(89706f8943b9e738). (object, text_cell_renderer_propscxx . . $ text_cell_renderer_props.[PROP_VARIANTcxx . . $ PROP_VARIANT.]);
897 if (changed_mask & PANGO_FONT_MASK_WEIGHTcxx . . $ PANGO_FONT_MASK_WEIGHT.)
898 g_object_notify_by_pspeccxx . . $ g_object_notify_by_pspec(89706f8943b9e738). (object, text_cell_renderer_propscxx . . $ text_cell_renderer_props.[PROP_WEIGHTcxx . . $ PROP_WEIGHT.]);
899 if (changed_mask & PANGO_FONT_MASK_STRETCHcxx . . $ PANGO_FONT_MASK_STRETCH.)
900 g_object_notify_by_pspeccxx . . $ g_object_notify_by_pspec(89706f8943b9e738). (object, text_cell_renderer_propscxx . . $ text_cell_renderer_props.[PROP_STRETCHcxx . . $ PROP_STRETCH.]);
901 if (changed_mask & PANGO_FONT_MASK_SIZEcxx . . $ PANGO_FONT_MASK_SIZE.)
902 {
903 g_object_notify_by_pspeccxx . . $ g_object_notify_by_pspec(89706f8943b9e738). (object, text_cell_renderer_propscxx . . $ text_cell_renderer_props.[PROP_SIZEcxx . . $ PROP_SIZE.]);
904 g_object_notify_by_pspeccxx . . $ g_object_notify_by_pspec(89706f8943b9e738). (object, text_cell_renderer_propscxx . . $ text_cell_renderer_props.[PROP_SIZE_POINTScxx . . $ PROP_SIZE_POINTS.]);
905 }
906 }
907
908 static void
909 set_font_descriptioncxx . . $ set_font_description(6ec51af483e6002d). (GtkCellRendererTextcxx . . $ GtkCellRendererText# *celltext,
910 PangoFontDescriptioncxx . . $ PangoFontDescription# *font_desc)
911 {
912 GtkCellRendererTextPrivatecxx . . $ GtkCellRendererTextPrivate# *priv = gtk_cell_renderer_text_get_instance_privatecxx . . $ gtk_cell_renderer_text_get_instance_private(b598819e4829a497). (celltext);
913 GObjectcxx . . $ GObject# *object = G_OBJECTcxx . . $ `<external>/1341695927569185362/gobject.h:54:9`! (celltext);
914 PangoFontDescriptioncxx . . $ PangoFontDescription# *new_font_desc;
915 PangoFontMaskcxx . . $ PangoFontMask# old_mask, new_mask, changed_mask, set_changed_mask;
916
917 if (font_desc)
918 new_font_desc = pango_font_description_copycxx . . $ pango_font_description_copy(bc35b1ffeb7057c6). (font_desc);
919 else
920 new_font_desc = pango_font_description_newcxx . . $ pango_font_description_new(5a4f9ca8a83a4873). ();
921
922 old_mask = pango_font_description_get_set_fieldscxx . . $ pango_font_description_get_set_fields(5014320f1e99c9df). (priv->fontcxx . . $ _GtkCellRendererTextPrivate#font.);
923 new_mask = pango_font_description_get_set_fieldscxx . . $ pango_font_description_get_set_fields(5014320f1e99c9df). (new_font_desc);
924
925 changed_mask = old_mask | new_mask;
926 set_changed_mask = old_mask ^ new_mask;
927
928 pango_font_description_freecxx . . $ pango_font_description_free(915e2822a6190560). (priv->fontcxx . . $ _GtkCellRendererTextPrivate#font.);
929 priv->fontcxx . . $ _GtkCellRendererTextPrivate#font. = new_font_desc;
930
931 g_object_freeze_notifycxx . . $ g_object_freeze_notify(6087475fa43034d3). (object);
932
933 g_object_notify_by_pspeccxx . . $ g_object_notify_by_pspec(89706f8943b9e738). (object, text_cell_renderer_propscxx . . $ text_cell_renderer_props.[PROP_FONT_DESCcxx . . $ PROP_FONT_DESC.]);
934 g_object_notify_by_pspeccxx . . $ g_object_notify_by_pspec(89706f8943b9e738). (object, text_cell_renderer_propscxx . . $ text_cell_renderer_props.[PROP_FONTcxx . . $ PROP_FONT.]);
935
936 notify_fields_changedcxx . . $ notify_fields_changed(ccc1f550fda4ffb2). (object, changed_mask);
937 notify_set_changedcxx . . $ notify_set_changed(ccc1f550fda4ffb2). (object, set_changed_mask);
938
939 g_object_thaw_notifycxx . . $ g_object_thaw_notify(6087475fa43034d3). (object);
940 }
941
942 static void
943 gtk_cell_renderer_text_set_propertycxx . . $ gtk_cell_renderer_text_set_property(d7c4bb29f36c0dc4). (GObjectcxx . . $ GObject# *object,
944 guintcxx . . $ guint# param_id,
945 const GValuecxx . . $ GValue# *value,
946 GParamSpeccxx . . $ GParamSpec# *pspec)
947 {
948 GtkCellRendererTextcxx . . $ GtkCellRendererText# *celltext = GTK_CELL_RENDERER_TEXTcxx . . $ `gtk/deprecated/gtkcellrenderertext.h:32:9`! (object);
949 GtkCellRendererTextPrivatecxx . . $ GtkCellRendererTextPrivate# *priv = gtk_cell_renderer_text_get_instance_privatecxx . . $ gtk_cell_renderer_text_get_instance_private(b598819e4829a497). (celltext);
950
951 switch (param_id)
952 {
953 case PROP_TEXTcxx . . $ PROP_TEXT.:
954 g_freecxx . . $ g_free(5d22bdacc48458e8). (priv->textcxx . . $ _GtkCellRendererTextPrivate#text.);
955
956 if (priv->markup_setcxx . . $ _GtkCellRendererTextPrivate#markup_set.)
957 {
958 if (priv->extra_attrscxx . . $ _GtkCellRendererTextPrivate#extra_attrs.)
959 pango_attr_list_unrefcxx . . $ pango_attr_list_unref(c4bf0c0856846d1b). (priv->extra_attrscxx . . $ _GtkCellRendererTextPrivate#extra_attrs.);
960 priv->extra_attrscxx . . $ _GtkCellRendererTextPrivate#extra_attrs. = NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:419:9`!;
961 priv->markup_setcxx . . $ _GtkCellRendererTextPrivate#markup_set. = FALSEcxx . . $ `<external>/12741050725406041920/gmacros.h:967:9`!;
962 }
963
964 priv->textcxx . . $ _GtkCellRendererTextPrivate#text. = g_value_dup_stringcxx . . $ g_value_dup_string(602930317b8318e8). (value);
965 g_object_notify_by_pspeccxx . . $ g_object_notify_by_pspec(89706f8943b9e738). (object, pspec);
966 break;
967
968 case PROP_ATTRIBUTEScxx . . $ PROP_ATTRIBUTES.:
969 if (priv->extra_attrscxx . . $ _GtkCellRendererTextPrivate#extra_attrs.)
970 pango_attr_list_unrefcxx . . $ pango_attr_list_unref(c4bf0c0856846d1b). (priv->extra_attrscxx . . $ _GtkCellRendererTextPrivate#extra_attrs.);
971
972 priv->extra_attrscxx . . $ _GtkCellRendererTextPrivate#extra_attrs. = g_value_get_boxedcxx . . $ g_value_get_boxed(e12dff36056c2cce). (value);
973 if (priv->extra_attrscxx . . $ _GtkCellRendererTextPrivate#extra_attrs.)
974 pango_attr_list_refcxx . . $ pango_attr_list_ref(a08ff48611643c1a). (priv->extra_attrscxx . . $ _GtkCellRendererTextPrivate#extra_attrs.);
975 break;
976 case PROP_MARKUPcxx . . $ PROP_MARKUP.:
977 {
978 const char *str;
979 char *text = NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:419:9`!;
980 GErrorcxx . . $ GError# *error = NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:419:9`!;
981 PangoAttrListcxx . . $ PangoAttrList# *attrs = NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:419:9`!;
982
983 str = g_value_get_stringcxx . . $ g_value_get_string(cc0a2be2b8f7bdc8). (value);
984 if (str && !pango_parse_markupcxx . . $ pango_parse_markup(f9f004ffc964b354). (str, -1, 0, &attrs, &text, NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:419:9`!, &error))
985 {
986 g_warningcxx . . $ `<external>/5169755362661750954/gmessages.h:340:9`! ("Failed to set text from markup due to error parsing markup: %s",
987 error->message);
988 g_error_freecxx . . $ g_error_free(2ff7d11a2ecc01bd). (error);
989 return;
990 }
991
992 g_freecxx . . $ g_free(5d22bdacc48458e8). (priv->textcxx . . $ _GtkCellRendererTextPrivate#text.);
993
994 if (priv->extra_attrscxx . . $ _GtkCellRendererTextPrivate#extra_attrs.)
995 pango_attr_list_unrefcxx . . $ pango_attr_list_unref(c4bf0c0856846d1b). (priv->extra_attrscxx . . $ _GtkCellRendererTextPrivate#extra_attrs.);
996
997 priv->textcxx . . $ _GtkCellRendererTextPrivate#text. = text;
998 priv->extra_attrscxx . . $ _GtkCellRendererTextPrivate#extra_attrs. = attrs;
999 priv->markup_setcxx . . $ _GtkCellRendererTextPrivate#markup_set. = TRUEcxx . . $ `<external>/12741050725406041920/gmacros.h:971:9`!;
1000 }
1001 break;
1002
1003 case PROP_SINGLE_PARAGRAPH_MODEcxx . . $ PROP_SINGLE_PARAGRAPH_MODE.:
1004 if (priv->single_paragraphcxx . . $ _GtkCellRendererTextPrivate#single_paragraph. != g_value_get_booleancxx . . $ g_value_get_boolean(f890c5c75ead5b21). (value))
1005 {
1006 priv->single_paragraphcxx . . $ _GtkCellRendererTextPrivate#single_paragraph. = g_value_get_booleancxx . . $ g_value_get_boolean(f890c5c75ead5b21). (value);
1007 g_object_notify_by_pspeccxx . . $ g_object_notify_by_pspec(89706f8943b9e738). (object, pspec);
1008 }
1009 break;
1010
1011 case PROP_BACKGROUNDcxx . . $ PROP_BACKGROUND.:
1012 {
1013 GdkRGBAcxx . . $ GdkRGBA# rgba;
1014
1015 if (!g_value_get_stringcxx . . $ g_value_get_string(cc0a2be2b8f7bdc8). (value))
1016 set_bg_colorcxx . . $ set_bg_color(fdeb62374671c25f). (celltext, NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:419:9`!); /* reset to background_set to FALSE */
1017 else if (gdk_rgba_parsecxx . . $ gdk_rgba_parse(482ef11efa4439a6). (&rgba, g_value_get_stringcxx . . $ g_value_get_string(cc0a2be2b8f7bdc8). (value)))
1018 set_bg_colorcxx . . $ set_bg_color(fdeb62374671c25f). (celltext, &rgba);
1019 else
1020 g_warningcxx . . $ `<external>/5169755362661750954/gmessages.h:340:9`! ("Don't know color '%s'", g_value_get_string (value));
1021 }
1022 break;
1023
1024 case PROP_FOREGROUNDcxx . . $ PROP_FOREGROUND.:
1025 {
1026 GdkRGBAcxx . . $ GdkRGBA# rgba;
1027
1028 if (!g_value_get_stringcxx . . $ g_value_get_string(cc0a2be2b8f7bdc8). (value))
1029 set_fg_colorcxx . . $ set_fg_color(fdeb62374671c25f). (celltext, NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:419:9`!); /* reset to foreground_set to FALSE */
1030 else if (gdk_rgba_parsecxx . . $ gdk_rgba_parse(482ef11efa4439a6). (&rgba, g_value_get_stringcxx . . $ g_value_get_string(cc0a2be2b8f7bdc8). (value)))
1031 set_fg_colorcxx . . $ set_fg_color(fdeb62374671c25f). (celltext, &rgba);
1032 else
1033 g_warningcxx . . $ `<external>/5169755362661750954/gmessages.h:340:9`! ("Don't know color '%s'", g_value_get_string (value));
1034 }
1035 break;
1036
1037 case PROP_BACKGROUND_RGBAcxx . . $ PROP_BACKGROUND_RGBA.:
1038 set_bg_colorcxx . . $ set_bg_color(fdeb62374671c25f). (celltext, g_value_get_boxedcxx . . $ g_value_get_boxed(e12dff36056c2cce). (value));
1039 break;
1040
1041 case PROP_FOREGROUND_RGBAcxx . . $ PROP_FOREGROUND_RGBA.:
1042 set_fg_colorcxx . . $ set_fg_color(fdeb62374671c25f). (celltext, g_value_get_boxedcxx . . $ g_value_get_boxed(e12dff36056c2cce). (value));
1043 break;
1044
1045 case PROP_FONTcxx . . $ PROP_FONT.:
1046 {
1047 PangoFontDescriptioncxx . . $ PangoFontDescription# *font_desc = NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:419:9`!;
1048 const char *name;
1049
1050 name = g_value_get_stringcxx . . $ g_value_get_string(cc0a2be2b8f7bdc8). (value);
1051
1052 if (name)
1053 font_desc = pango_font_description_from_stringcxx . . $ pango_font_description_from_string(9fd9ad5a7e9d5b6b). (name);
1054
1055 set_font_descriptioncxx . . $ set_font_description(6ec51af483e6002d). (celltext, font_desc);
1056
1057 pango_font_description_freecxx . . $ pango_font_description_free(915e2822a6190560). (font_desc);
1058
1059 if (priv->fixed_height_rowscxx . . $ _GtkCellRendererTextPrivate#fixed_height_rows. != -1)
1060 priv->calc_fixed_heightcxx . . $ _GtkCellRendererTextPrivate#calc_fixed_height. = TRUEcxx . . $ `<external>/12741050725406041920/gmacros.h:971:9`!;
1061 }
1062 break;
1063
1064 case PROP_FONT_DESCcxx . . $ PROP_FONT_DESC.:
1065 set_font_descriptioncxx . . $ set_font_description(6ec51af483e6002d). (celltext, g_value_get_boxedcxx . . $ g_value_get_boxed(e12dff36056c2cce). (value));
1066
1067 if (priv->fixed_height_rowscxx . . $ _GtkCellRendererTextPrivate#fixed_height_rows. != -1)
1068 priv->calc_fixed_heightcxx . . $ _GtkCellRendererTextPrivate#calc_fixed_height. = TRUEcxx . . $ `<external>/12741050725406041920/gmacros.h:971:9`!;
1069 break;
1070
1071 case PROP_FAMILYcxx . . $ PROP_FAMILY.:
1072 case PROP_STYLEcxx . . $ PROP_STYLE.:
1073 case PROP_VARIANTcxx . . $ PROP_VARIANT.:
1074 case PROP_WEIGHTcxx . . $ PROP_WEIGHT.:
1075 case PROP_STRETCHcxx . . $ PROP_STRETCH.:
1076 case PROP_SIZEcxx . . $ PROP_SIZE.:
1077 case PROP_SIZE_POINTScxx . . $ PROP_SIZE_POINTS.:
1078 {
1079 PangoFontMaskcxx . . $ PangoFontMask# old_set_mask = pango_font_description_get_set_fieldscxx . . $ pango_font_description_get_set_fields(5014320f1e99c9df). (priv->fontcxx . . $ _GtkCellRendererTextPrivate#font.);
1080
1081 switch (param_id)
1082 {
1083 case PROP_FAMILYcxx . . $ PROP_FAMILY.:
1084 pango_font_description_set_familycxx . . $ pango_font_description_set_family(6d49faefa5f0bd82). (priv->fontcxx . . $ _GtkCellRendererTextPrivate#font.,
1085 g_value_get_stringcxx . . $ g_value_get_string(cc0a2be2b8f7bdc8). (value));
1086 break;
1087 case PROP_STYLEcxx . . $ PROP_STYLE.:
1088 pango_font_description_set_stylecxx . . $ pango_font_description_set_style(67cd1e25c071908). (priv->fontcxx . . $ _GtkCellRendererTextPrivate#font.,
1089 g_value_get_enumcxx . . $ g_value_get_enum(f890c5c75ead5b21). (value));
1090 break;
1091 case PROP_VARIANTcxx . . $ PROP_VARIANT.:
1092 pango_font_description_set_variantcxx . . $ pango_font_description_set_variant(d5e5894bbc38311e). (priv->fontcxx . . $ _GtkCellRendererTextPrivate#font.,
1093 g_value_get_enumcxx . . $ g_value_get_enum(f890c5c75ead5b21). (value));
1094 break;
1095 case PROP_WEIGHTcxx . . $ PROP_WEIGHT.:
1096 pango_font_description_set_weightcxx . . $ pango_font_description_set_weight(e0a9672fffe4b843). (priv->fontcxx . . $ _GtkCellRendererTextPrivate#font.,
1097 g_value_get_intcxx . . $ g_value_get_int(f890c5c75ead5b21). (value));
1098 break;
1099 case PROP_STRETCHcxx . . $ PROP_STRETCH.:
1100 pango_font_description_set_stretchcxx . . $ pango_font_description_set_stretch(341ed8b85fa84591). (priv->fontcxx . . $ _GtkCellRendererTextPrivate#font.,
1101 g_value_get_enumcxx . . $ g_value_get_enum(f890c5c75ead5b21). (value));
1102 break;
1103 case PROP_SIZEcxx . . $ PROP_SIZE.:
1104 pango_font_description_set_sizecxx . . $ pango_font_description_set_size(3fc07385aedb63f8). (priv->fontcxx . . $ _GtkCellRendererTextPrivate#font.,
1105 g_value_get_intcxx . . $ g_value_get_int(f890c5c75ead5b21). (value));
1106 g_object_notify_by_pspeccxx . . $ g_object_notify_by_pspec(89706f8943b9e738). (object, pspec);
1107 break;
1108 case PROP_SIZE_POINTScxx . . $ PROP_SIZE_POINTS.:
1109 pango_font_description_set_sizecxx . . $ pango_font_description_set_size(3fc07385aedb63f8). (priv->fontcxx . . $ _GtkCellRendererTextPrivate#font.,
1110 g_value_get_doublecxx . . $ g_value_get_double(5c6b000bff87b62c). (value) * PANGO_SCALEcxx . . $ `<external>/16549852590339199443/pango-types.h:96:9`!);
1111 g_object_notify_by_pspeccxx . . $ g_object_notify_by_pspec(89706f8943b9e738). (object, pspec);
1112 break;
1113 default:
1114 break;
1115 }
1116
1117 if (priv->fixed_height_rowscxx . . $ _GtkCellRendererTextPrivate#fixed_height_rows. != -1)
1118 priv->calc_fixed_heightcxx . . $ _GtkCellRendererTextPrivate#calc_fixed_height. = TRUEcxx . . $ `<external>/12741050725406041920/gmacros.h:971:9`!;
1119
1120 notify_set_changedcxx . . $ notify_set_changed(ccc1f550fda4ffb2). (object, old_set_mask & pango_font_description_get_set_fieldscxx . . $ pango_font_description_get_set_fields(5014320f1e99c9df). (priv->fontcxx . . $ _GtkCellRendererTextPrivate#font.));
1121 g_object_notify_by_pspeccxx . . $ g_object_notify_by_pspec(89706f8943b9e738). (object, text_cell_renderer_propscxx . . $ text_cell_renderer_props.[PROP_FONT_DESCcxx . . $ PROP_FONT_DESC.]);
1122 g_object_notify_by_pspeccxx . . $ g_object_notify_by_pspec(89706f8943b9e738). (object, text_cell_renderer_propscxx . . $ text_cell_renderer_props.[PROP_FONTcxx . . $ PROP_FONT.]);
1123
1124 break;
1125 }
1126
1127 case PROP_SCALEcxx . . $ PROP_SCALE.:
1128 priv->font_scalecxx . . $ _GtkCellRendererTextPrivate#font_scale. = g_value_get_doublecxx . . $ g_value_get_double(5c6b000bff87b62c). (value);
1129 priv->scale_setcxx . . $ _GtkCellRendererTextPrivate#scale_set. = TRUEcxx . . $ `<external>/12741050725406041920/gmacros.h:971:9`!;
1130 if (priv->fixed_height_rowscxx . . $ _GtkCellRendererTextPrivate#fixed_height_rows. != -1)
1131 priv->calc_fixed_heightcxx . . $ _GtkCellRendererTextPrivate#calc_fixed_height. = TRUEcxx . . $ `<external>/12741050725406041920/gmacros.h:971:9`!;
1132 g_object_notify_by_pspeccxx . . $ g_object_notify_by_pspec(89706f8943b9e738). (object, text_cell_renderer_propscxx . . $ text_cell_renderer_props.[PROP_SCALE_SETcxx . . $ PROP_SCALE_SET.]);
1133 break;
1134
1135 case PROP_EDITABLEcxx . . $ PROP_EDITABLE.:
1136 priv->editablecxx . . $ _GtkCellRendererTextPrivate#editable. = g_value_get_booleancxx . . $ g_value_get_boolean(f890c5c75ead5b21). (value);
1137 priv->editable_setcxx . . $ _GtkCellRendererTextPrivate#editable_set. = TRUEcxx . . $ `<external>/12741050725406041920/gmacros.h:971:9`!;
1138 if (priv->editablecxx . . $ _GtkCellRendererTextPrivate#editable.)
1139 g_object_setcxx . . $ g_object_set(1ac911bdc4e9a14d). (celltext, "mode", GTK_CELL_RENDERER_MODE_EDITABLEcxx . . $ GTK_CELL_RENDERER_MODE_EDITABLE., NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:419:9`!);
1140 else
1141 g_object_setcxx . . $ g_object_set(1ac911bdc4e9a14d). (celltext, "mode", GTK_CELL_RENDERER_MODE_INERTcxx . . $ GTK_CELL_RENDERER_MODE_INERT., NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:419:9`!);
1142 g_object_notify_by_pspeccxx . . $ g_object_notify_by_pspec(89706f8943b9e738). (object, text_cell_renderer_propscxx . . $ text_cell_renderer_props.[PROP_EDITABLE_SETcxx . . $ PROP_EDITABLE_SET.]);
1143 break;
1144
1145 case PROP_STRIKETHROUGHcxx . . $ PROP_STRIKETHROUGH.:
1146 priv->strikethroughcxx . . $ _GtkCellRendererTextPrivate#strikethrough. = g_value_get_booleancxx . . $ g_value_get_boolean(f890c5c75ead5b21). (value);
1147 priv->strikethrough_setcxx . . $ _GtkCellRendererTextPrivate#strikethrough_set. = TRUEcxx . . $ `<external>/12741050725406041920/gmacros.h:971:9`!;
1148 g_object_notify_by_pspeccxx . . $ g_object_notify_by_pspec(89706f8943b9e738). (object, text_cell_renderer_propscxx . . $ text_cell_renderer_props.[PROP_STRIKETHROUGH_SETcxx . . $ PROP_STRIKETHROUGH_SET.]);
1149 break;
1150
1151 case PROP_UNDERLINEcxx . . $ PROP_UNDERLINE.:
1152 priv->underline_stylecxx . . $ _GtkCellRendererTextPrivate#underline_style. = g_value_get_enumcxx . . $ g_value_get_enum(f890c5c75ead5b21). (value);
1153 priv->underline_setcxx . . $ _GtkCellRendererTextPrivate#underline_set. = TRUEcxx . . $ `<external>/12741050725406041920/gmacros.h:971:9`!;
1154 g_object_notify_by_pspeccxx . . $ g_object_notify_by_pspec(89706f8943b9e738). (object, text_cell_renderer_propscxx . . $ text_cell_renderer_props.[PROP_UNDERLINE_SETcxx . . $ PROP_UNDERLINE_SET.]);
1155
1156 break;
1157
1158 case PROP_RISEcxx . . $ PROP_RISE.:
1159 priv->risecxx . . $ _GtkCellRendererTextPrivate#rise. = g_value_get_intcxx . . $ g_value_get_int(f890c5c75ead5b21). (value);
1160 priv->rise_setcxx . . $ _GtkCellRendererTextPrivate#rise_set. = TRUEcxx . . $ `<external>/12741050725406041920/gmacros.h:971:9`!;
1161 g_object_notify_by_pspeccxx . . $ g_object_notify_by_pspec(89706f8943b9e738). (object, text_cell_renderer_propscxx . . $ text_cell_renderer_props.[PROP_RISE_SETcxx . . $ PROP_RISE_SET.]);
1162 if (priv->fixed_height_rowscxx . . $ _GtkCellRendererTextPrivate#fixed_height_rows. != -1)
1163 priv->calc_fixed_heightcxx . . $ _GtkCellRendererTextPrivate#calc_fixed_height. = TRUEcxx . . $ `<external>/12741050725406041920/gmacros.h:971:9`!;
1164 break;
1165
1166 case PROP_LANGUAGEcxx . . $ PROP_LANGUAGE.:
1167 priv->language_setcxx . . $ _GtkCellRendererTextPrivate#language_set. = TRUEcxx . . $ `<external>/12741050725406041920/gmacros.h:971:9`!;
1168 if (priv->languagecxx . . $ _GtkCellRendererTextPrivate#language.)
1169 g_object_unrefcxx . . $ g_object_unref(5d22bdacc48458e8). (priv->languagecxx . . $ _GtkCellRendererTextPrivate#language.);
1170 priv->languagecxx . . $ _GtkCellRendererTextPrivate#language. = pango_language_from_stringcxx . . $ pango_language_from_string(36c46e9999dce74a). (g_value_get_stringcxx . . $ g_value_get_string(cc0a2be2b8f7bdc8). (value));
1171 g_object_notify_by_pspeccxx . . $ g_object_notify_by_pspec(89706f8943b9e738). (object, text_cell_renderer_propscxx . . $ text_cell_renderer_props.[PROP_LANGUAGE_SETcxx . . $ PROP_LANGUAGE_SET.]);
1172 break;
1173
1174 case PROP_ELLIPSIZEcxx . . $ PROP_ELLIPSIZE.:
1175 priv->ellipsizecxx . . $ _GtkCellRendererTextPrivate#ellipsize. = g_value_get_enumcxx . . $ g_value_get_enum(f890c5c75ead5b21). (value);
1176 priv->ellipsize_setcxx . . $ _GtkCellRendererTextPrivate#ellipsize_set. = TRUEcxx . . $ `<external>/12741050725406041920/gmacros.h:971:9`!;
1177 g_object_notify_by_pspeccxx . . $ g_object_notify_by_pspec(89706f8943b9e738). (object, text_cell_renderer_propscxx . . $ text_cell_renderer_props.[PROP_ELLIPSIZE_SETcxx . . $ PROP_ELLIPSIZE_SET.]);
1178 break;
1179
1180 case PROP_WRAP_MODEcxx . . $ PROP_WRAP_MODE.:
1181 if (priv->wrap_modecxx . . $ _GtkCellRendererTextPrivate#wrap_mode. != g_value_get_enumcxx . . $ g_value_get_enum(f890c5c75ead5b21). (value))
1182 {
1183 priv->wrap_modecxx . . $ _GtkCellRendererTextPrivate#wrap_mode. = g_value_get_enumcxx . . $ g_value_get_enum(f890c5c75ead5b21). (value);
1184 g_object_notify_by_pspeccxx . . $ g_object_notify_by_pspec(89706f8943b9e738). (object, pspec);
1185 }
1186 break;
1187
1188 case PROP_WRAP_WIDTHcxx . . $ PROP_WRAP_WIDTH.:
1189 if (priv->wrap_widthcxx . . $ _GtkCellRendererTextPrivate#wrap_width. != g_value_get_intcxx . . $ g_value_get_int(f890c5c75ead5b21). (value))
1190 {
1191 priv->wrap_widthcxx . . $ _GtkCellRendererTextPrivate#wrap_width. = g_value_get_intcxx . . $ g_value_get_int(f890c5c75ead5b21). (value);
1192 g_object_notify_by_pspeccxx . . $ g_object_notify_by_pspec(89706f8943b9e738). (object, pspec);
1193 }
1194 break;
1195
1196 case PROP_WIDTH_CHARScxx . . $ PROP_WIDTH_CHARS.:
1197 if (priv->width_charscxx . . $ _GtkCellRendererTextPrivate#width_chars. != g_value_get_intcxx . . $ g_value_get_int(f890c5c75ead5b21). (value))
1198 {
1199 priv->width_charscxx . . $ _GtkCellRendererTextPrivate#width_chars. = g_value_get_intcxx . . $ g_value_get_int(f890c5c75ead5b21). (value);
1200 g_object_notify_by_pspeccxx . . $ g_object_notify_by_pspec(89706f8943b9e738). (object, pspec);
1201 }
1202 break;
1203
1204 case PROP_MAX_WIDTH_CHARScxx . . $ PROP_MAX_WIDTH_CHARS.:
1205 if (priv->max_width_charscxx . . $ _GtkCellRendererTextPrivate#max_width_chars. != g_value_get_intcxx . . $ g_value_get_int(f890c5c75ead5b21). (value))
1206 {
1207 priv->max_width_charscxx . . $ _GtkCellRendererTextPrivate#max_width_chars. = g_value_get_intcxx . . $ g_value_get_int(f890c5c75ead5b21). (value);
1208 g_object_notify_by_pspeccxx . . $ g_object_notify_by_pspec(89706f8943b9e738). (object, pspec);
1209 }
1210 break;
1211
1212 case PROP_ALIGNcxx . . $ PROP_ALIGN.:
1213 if (priv->aligncxx . . $ _GtkCellRendererTextPrivate#align. != g_value_get_enumcxx . . $ g_value_get_enum(f890c5c75ead5b21). (value))
1214 {
1215 priv->aligncxx . . $ _GtkCellRendererTextPrivate#align. = g_value_get_enumcxx . . $ g_value_get_enum(f890c5c75ead5b21). (value);
1216 g_object_notify_by_pspeccxx . . $ g_object_notify_by_pspec(89706f8943b9e738). (object, pspec);
1217 }
1218 priv->align_setcxx . . $ _GtkCellRendererTextPrivate#align_set. = TRUEcxx . . $ `<external>/12741050725406041920/gmacros.h:971:9`!;
1219 g_object_notify_by_pspeccxx . . $ g_object_notify_by_pspec(89706f8943b9e738). (object, text_cell_renderer_propscxx . . $ text_cell_renderer_props.[PROP_ALIGN_SETcxx . . $ PROP_ALIGN_SET.]);
1220 break;
1221
1222 case PROP_BACKGROUND_SETcxx . . $ PROP_BACKGROUND_SET.:
1223 priv->background_setcxx . . $ _GtkCellRendererTextPrivate#background_set. = g_value_get_booleancxx . . $ g_value_get_boolean(f890c5c75ead5b21). (value);
1224 break;
1225
1226 case PROP_FOREGROUND_SETcxx . . $ PROP_FOREGROUND_SET.:
1227 priv->foreground_setcxx . . $ _GtkCellRendererTextPrivate#foreground_set. = g_value_get_booleancxx . . $ g_value_get_boolean(f890c5c75ead5b21). (value);
1228 break;
1229
1230 case PROP_FAMILY_SETcxx . . $ PROP_FAMILY_SET.:
1231 case PROP_STYLE_SETcxx . . $ PROP_STYLE_SET.:
1232 case PROP_VARIANT_SETcxx . . $ PROP_VARIANT_SET.:
1233 case PROP_WEIGHT_SETcxx . . $ PROP_WEIGHT_SET.:
1234 case PROP_STRETCH_SETcxx . . $ PROP_STRETCH_SET.:
1235 case PROP_SIZE_SETcxx . . $ PROP_SIZE_SET.:
1236 if (!g_value_get_booleancxx . . $ g_value_get_boolean(f890c5c75ead5b21). (value))
1237 {
1238 pango_font_description_unset_fieldscxx . . $ pango_font_description_unset_fields(d1ba59288bfe86e0). (priv->fontcxx . . $ _GtkCellRendererTextPrivate#font.,
1239 get_property_font_set_maskcxx . . $ get_property_font_set_mask(e1b1c0ab772d2f8a). (param_id));
1240 }
1241 else
1242 {
1243 PangoFontMaskcxx . . $ PangoFontMask# changed_mask;
1244
1245 changed_mask = set_font_desc_fieldscxx . . $ set_font_desc_fields(56221e8d2996f128). (priv->fontcxx . . $ _GtkCellRendererTextPrivate#font.,
1246 get_property_font_set_maskcxx . . $ get_property_font_set_mask(e1b1c0ab772d2f8a). (param_id));
1247 notify_fields_changedcxx . . $ notify_fields_changed(ccc1f550fda4ffb2). (G_OBJECTcxx . . $ `<external>/1341695927569185362/gobject.h:54:9`! (celltext), changed_mask);
1248 }
1249 break;
1250
1251 case PROP_SCALE_SETcxx . . $ PROP_SCALE_SET.:
1252 priv->scale_setcxx . . $ _GtkCellRendererTextPrivate#scale_set. = g_value_get_booleancxx . . $ g_value_get_boolean(f890c5c75ead5b21). (value);
1253 break;
1254
1255 case PROP_EDITABLE_SETcxx . . $ PROP_EDITABLE_SET.:
1256 priv->editable_setcxx . . $ _GtkCellRendererTextPrivate#editable_set. = g_value_get_booleancxx . . $ g_value_get_boolean(f890c5c75ead5b21). (value);
1257 break;
1258
1259 case PROP_STRIKETHROUGH_SETcxx . . $ PROP_STRIKETHROUGH_SET.:
1260 priv->strikethrough_setcxx . . $ _GtkCellRendererTextPrivate#strikethrough_set. = g_value_get_booleancxx . . $ g_value_get_boolean(f890c5c75ead5b21). (value);
1261 break;
1262
1263 case PROP_UNDERLINE_SETcxx . . $ PROP_UNDERLINE_SET.:
1264 priv->underline_setcxx . . $ _GtkCellRendererTextPrivate#underline_set. = g_value_get_booleancxx . . $ g_value_get_boolean(f890c5c75ead5b21). (value);
1265 break;
1266
1267 case PROP_RISE_SETcxx . . $ PROP_RISE_SET.:
1268 priv->rise_setcxx . . $ _GtkCellRendererTextPrivate#rise_set. = g_value_get_booleancxx . . $ g_value_get_boolean(f890c5c75ead5b21). (value);
1269 break;
1270
1271 case PROP_LANGUAGE_SETcxx . . $ PROP_LANGUAGE_SET.:
1272 priv->language_setcxx . . $ _GtkCellRendererTextPrivate#language_set. = g_value_get_booleancxx . . $ g_value_get_boolean(f890c5c75ead5b21). (value);
1273 break;
1274
1275 case PROP_ELLIPSIZE_SETcxx . . $ PROP_ELLIPSIZE_SET.:
1276 priv->ellipsize_setcxx . . $ _GtkCellRendererTextPrivate#ellipsize_set. = g_value_get_booleancxx . . $ g_value_get_boolean(f890c5c75ead5b21). (value);
1277 break;
1278
1279 case PROP_ALIGN_SETcxx . . $ PROP_ALIGN_SET.:
1280 priv->align_setcxx . . $ _GtkCellRendererTextPrivate#align_set. = g_value_get_booleancxx . . $ g_value_get_boolean(f890c5c75ead5b21). (value);
1281 break;
1282
1283 case PROP_PLACEHOLDER_TEXTcxx . . $ PROP_PLACEHOLDER_TEXT.:
1284 g_freecxx . . $ g_free(5d22bdacc48458e8). (priv->placeholder_textcxx . . $ _GtkCellRendererTextPrivate#placeholder_text.);
1285 priv->placeholder_textcxx . . $ _GtkCellRendererTextPrivate#placeholder_text. = g_value_dup_stringcxx . . $ g_value_dup_string(602930317b8318e8). (value);
1286 break;
1287
1288 default:
1289 G_OBJECT_WARN_INVALID_PROPERTY_IDcxx . . $ `<external>/1341695927569185362/gobject.h:690:9`! (object, param_id, pspec);
1290 break;
1291 }
1292 }
1293
1294 /**
1295 * gtk_cell_renderer_text_new:
1296 *
1297 * Creates a new `GtkCellRendererText`. Adjust how text is drawn using
1298 * object properties. Object properties can be
1299 * set globally (with g_object_set()). Also, with `GtkTreeViewColumn`,
1300 * you can bind a property to a value in a `GtkTreeModel`. For example,
1301 * you can bind the “text” property on the cell renderer to a string
1302 * value in the model, thus rendering a different string in each row
1303 * of the `GtkTreeView`.
1304 *
1305 * Returns: the new cell renderer
1306 *
1307 * Deprecated: 4.10
1308 **/
1309 GtkCellRenderercxx . . $ GtkCellRenderer# *
1310 gtk_cell_renderer_text_newcxx . . $ gtk_cell_renderer_text_new(6d6b6a1a12ffe86f). (void)
1311 {
1312 return g_object_newcxx . . $ g_object_new(8485fe61b4be4c78). (GTK_TYPE_CELL_RENDERER_TEXTcxx . . $ `gtk/deprecated/gtkcellrenderertext.h:31:9`!, NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:419:9`!);
1313 }
1314
1315 static inline gbooleancxx . . $ gboolean#
1316 show_placeholder_textcxx . . $ show_placeholder_text(fe7d7d8549a9b5c3). (GtkCellRendererTextcxx . . $ GtkCellRendererText# *celltext)
1317 {
1318 GtkCellRendererTextPrivatecxx . . $ GtkCellRendererTextPrivate# *priv = gtk_cell_renderer_text_get_instance_privatecxx . . $ gtk_cell_renderer_text_get_instance_private(b598819e4829a497). (celltext);
1319
1320 return priv->editablecxx . . $ _GtkCellRendererTextPrivate#editable. && priv->placeholder_textcxx . . $ _GtkCellRendererTextPrivate#placeholder_text. &&
1321 (!priv->textcxx . . $ _GtkCellRendererTextPrivate#text. || !priv->textcxx . . $ _GtkCellRendererTextPrivate#text.[0]);
1322 }
1323
1324 static void
1325 add_attrcxx . . $ add_attr(db91f5ecbb0f813c). (PangoAttrListcxx . . $ PangoAttrList# *attr_list,
1326 PangoAttributecxx . . $ PangoAttribute# *attr)
1327 {
1328 attr->start_indexcxx . . $ _PangoAttribute#start_index. = 0;
1329 attr->end_indexcxx . . $ _PangoAttribute#end_index. = G_MAXINTcxx . . $ `<external>/10505296616216143549/glibconfig.h:39:9`!;
1330
1331 pango_attr_list_insertcxx . . $ pango_attr_list_insert(db91f5ecbb0f813c). (attr_list, attr);
1332 }
1333
1334 static PangoLayoutcxx . . $ PangoLayout#*
1335 get_layoutcxx . . $ get_layout(18da1ccf94b85106). (GtkCellRendererTextcxx . . $ GtkCellRendererText# *celltext,
1336 GtkWidgetcxx . . $ GtkWidget# *widget,
1337 const GdkRectanglecxx . . $ GdkRectangle# *cell_area,
1338 GtkCellRendererStatecxx . . $ GtkCellRendererState# flags)
1339 {
1340 GtkCellRendererTextPrivatecxx . . $ GtkCellRendererTextPrivate# *priv = gtk_cell_renderer_text_get_instance_privatecxx . . $ gtk_cell_renderer_text_get_instance_private(b598819e4829a497). (celltext);
1341 PangoAttrListcxx . . $ PangoAttrList# *attr_list;
1342 PangoLayoutcxx . . $ PangoLayout# *layout;
1343 PangoUnderlinecxx . . $ PangoUnderline# uline;
1344 int xpad;
1345 gbooleancxx . . $ gboolean# placeholder_layout = show_placeholder_textcxx . . $ show_placeholder_text(fe7d7d8549a9b5c3). (celltext);
1346
1347 layout = gtk_widget_create_pango_layoutcxx . . $ gtk_widget_create_pango_layout(e1804973e9b72966). (widget, placeholder_layout ?
1348 priv->placeholder_textcxx . . $ _GtkCellRendererTextPrivate#placeholder_text. : priv->textcxx . . $ _GtkCellRendererTextPrivate#text.);
1349
1350 gtk_cell_renderer_get_paddingcxx . . $ gtk_cell_renderer_get_padding(4d6cf81189c7015f). (GTK_CELL_RENDERERcxx . . $ `gtk/deprecated/gtkcellrenderer.h:77:9`! (celltext), &xpad, NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:419:9`!);
1351
1352 if (priv->extra_attrscxx . . $ _GtkCellRendererTextPrivate#extra_attrs.)
1353 attr_list = pango_attr_list_copycxx . . $ pango_attr_list_copy(a08ff48611643c1a). (priv->extra_attrscxx . . $ _GtkCellRendererTextPrivate#extra_attrs.);
1354 else
1355 attr_list = pango_attr_list_newcxx . . $ pango_attr_list_new(169bebe072f9142e). ();
1356
1357 pango_layout_set_single_paragraph_modecxx . . $ pango_layout_set_single_paragraph_mode(dc4bc9303c44cb0b). (layout, priv->single_paragraphcxx . . $ _GtkCellRendererTextPrivate#single_paragraph.);
1358
1359 if (!placeholder_layout && cell_area)
1360 {
1361 /* Add options that affect appearance but not size */
1362
1363 /* note that background doesn't go here, since it affects
1364 * background_area not the PangoLayout area
1365 */
1366
1367 if (priv->foreground_setcxx . . $ _GtkCellRendererTextPrivate#foreground_set.
1368 && (flags & GTK_CELL_RENDERER_SELECTEDcxx . . $ GTK_CELL_RENDERER_SELECTED.) == 0)
1369 {
1370 PangoColorcxx . . $ PangoColor# color;
1371 guint16cxx . . $ guint16# alpha;
1372
1373 color.redcxx . . $ _PangoColor#red. = CLAMPcxx . . $ `<external>/12741050725406041920/gmacros.h:984:9`! (priv->foreground.red * 65535. + 0.5, 0, 65535);
1374 color.greencxx . . $ _PangoColor#green. = CLAMPcxx . . $ `<external>/12741050725406041920/gmacros.h:984:9`! (priv->foreground.green * 65535. + 0.5, 0, 65535);
1375 color.bluecxx . . $ _PangoColor#blue. = CLAMPcxx . . $ `<external>/12741050725406041920/gmacros.h:984:9`! (priv->foreground.blue * 65535. + 0.5, 0, 65535);
1376 alpha = CLAMPcxx . . $ `<external>/12741050725406041920/gmacros.h:984:9`! (priv->foreground.alpha * 65535. + 0.5, 0, 65535);
1377
1378 add_attrcxx . . $ add_attr(db91f5ecbb0f813c). (attr_list,
1379 pango_attr_foreground_newcxx . . $ pango_attr_foreground_new(bcf6984e22aba7a7). (color.redcxx . . $ _PangoColor#red., color.greencxx . . $ _PangoColor#green., color.bluecxx . . $ _PangoColor#blue.));
1380
1381 add_attrcxx . . $ add_attr(db91f5ecbb0f813c). (attr_list, pango_attr_foreground_alpha_newcxx . . $ pango_attr_foreground_alpha_new(c31a1b50e6c3c86). (alpha));
1382 }
1383
1384 if (priv->strikethrough_setcxx . . $ _GtkCellRendererTextPrivate#strikethrough_set.)
1385 add_attrcxx . . $ add_attr(db91f5ecbb0f813c). (attr_list, pango_attr_strikethrough_newcxx . . $ pango_attr_strikethrough_new(ecbc85d15da7d62e). (priv->strikethroughcxx . . $ _GtkCellRendererTextPrivate#strikethrough.));
1386 }
1387 else if (placeholder_layout)
1388 {
1389 PangoColorcxx . . $ PangoColor# color;
1390 guint16cxx . . $ guint16# alpha;
1391 GtkStyleContextcxx . . $ GtkStyleContext# *context;
1392 GdkRGBAcxx . . $ GdkRGBA# fg = { 0.5, 0.5, 0.5, 1.0 };
1393
1394 context = gtk_widget_get_style_contextcxx . . $ gtk_widget_get_style_context(1a33cf1e9e8b4cb5). (widget);
1395 gtk_style_context_lookup_colorcxx . . $ gtk_style_context_lookup_color(2df9ad143b65ea5b). (context, "placeholder_text_color", &fg);
1396
1397 color.redcxx . . $ _PangoColor#red. = CLAMPcxx . . $ `<external>/12741050725406041920/gmacros.h:984:9`! (fg.red * 65535. + 0.5, 0, 65535);
1398 color.greencxx . . $ _PangoColor#green. = CLAMPcxx . . $ `<external>/12741050725406041920/gmacros.h:984:9`! (fg.green * 65535. + 0.5, 0, 65535);
1399 color.bluecxx . . $ _PangoColor#blue. = CLAMPcxx . . $ `<external>/12741050725406041920/gmacros.h:984:9`! (fg.blue * 65535. + 0.5, 0, 65535);
1400 alpha = CLAMPcxx . . $ `<external>/12741050725406041920/gmacros.h:984:9`! (fg.alpha * 65535. + 0.5, 0, 65535);
1401
1402 add_attrcxx . . $ add_attr(db91f5ecbb0f813c). (attr_list,
1403 pango_attr_foreground_newcxx . . $ pango_attr_foreground_new(bcf6984e22aba7a7). (color.redcxx . . $ _PangoColor#red., color.greencxx . . $ _PangoColor#green., color.bluecxx . . $ _PangoColor#blue.));
1404
1405 add_attrcxx . . $ add_attr(db91f5ecbb0f813c). (attr_list, pango_attr_foreground_alpha_newcxx . . $ pango_attr_foreground_alpha_new(c31a1b50e6c3c86). (alpha));
1406 }
1407
1408 add_attrcxx . . $ add_attr(db91f5ecbb0f813c). (attr_list, pango_attr_font_desc_newcxx . . $ pango_attr_font_desc_new(220d83650b1ac338). (priv->fontcxx . . $ _GtkCellRendererTextPrivate#font.));
1409
1410 if (priv->scale_setcxx . . $ _GtkCellRendererTextPrivate#scale_set. &&
1411 priv->font_scalecxx . . $ _GtkCellRendererTextPrivate#font_scale. != 1.0)
1412 add_attrcxx . . $ add_attr(db91f5ecbb0f813c). (attr_list, pango_attr_scale_newcxx . . $ pango_attr_scale_new(9bda95e294be66e). (priv->font_scalecxx . . $ _GtkCellRendererTextPrivate#font_scale.));
1413
1414 if (priv->underline_setcxx . . $ _GtkCellRendererTextPrivate#underline_set.)
1415 uline = priv->underline_stylecxx . . $ _GtkCellRendererTextPrivate#underline_style.;
1416 else
1417 uline = PANGO_UNDERLINE_NONEcxx . . $ PANGO_UNDERLINE_NONE.;
1418
1419 if (priv->language_setcxx . . $ _GtkCellRendererTextPrivate#language_set.)
1420 add_attrcxx . . $ add_attr(db91f5ecbb0f813c). (attr_list, pango_attr_language_newcxx . . $ pango_attr_language_new(fcdc978e2c66b49c). (priv->languagecxx . . $ _GtkCellRendererTextPrivate#language.));
1421
1422 if ((flags & GTK_CELL_RENDERER_PRELITcxx . . $ GTK_CELL_RENDERER_PRELIT.) == GTK_CELL_RENDERER_PRELITcxx . . $ GTK_CELL_RENDERER_PRELIT.)
1423 {
1424 switch (uline)
1425 {
1426 case PANGO_UNDERLINE_NONEcxx . . $ PANGO_UNDERLINE_NONE.:
1427 uline = PANGO_UNDERLINE_SINGLEcxx . . $ PANGO_UNDERLINE_SINGLE.;
1428 break;
1429
1430 case PANGO_UNDERLINE_SINGLEcxx . . $ PANGO_UNDERLINE_SINGLE.:
1431 uline = PANGO_UNDERLINE_DOUBLEcxx . . $ PANGO_UNDERLINE_DOUBLE.;
1432 break;
1433
1434 case PANGO_UNDERLINE_SINGLE_LINEcxx . . $ PANGO_UNDERLINE_SINGLE_LINE.:
1435 uline = PANGO_UNDERLINE_DOUBLE_LINEcxx . . $ PANGO_UNDERLINE_DOUBLE_LINE.;
1436 break;
1437
1438 case PANGO_UNDERLINE_DOUBLE_LINEcxx . . $ PANGO_UNDERLINE_DOUBLE_LINE.:
1439 case PANGO_UNDERLINE_ERROR_LINEcxx . . $ PANGO_UNDERLINE_ERROR_LINE.:
1440 break;
1441
1442 case PANGO_UNDERLINE_DOUBLEcxx . . $ PANGO_UNDERLINE_DOUBLE.:
1443 case PANGO_UNDERLINE_LOWcxx . . $ PANGO_UNDERLINE_LOW.:
1444 case PANGO_UNDERLINE_ERRORcxx . . $ PANGO_UNDERLINE_ERROR.:
1445 default:
1446 break;
1447 }
1448 }
1449
1450 if (uline != PANGO_UNDERLINE_NONEcxx . . $ PANGO_UNDERLINE_NONE.)
1451 add_attrcxx . . $ add_attr(db91f5ecbb0f813c). (attr_list, pango_attr_underline_newcxx . . $ pango_attr_underline_new(eeaaa085f243e08e). (priv->underline_stylecxx . . $ _GtkCellRendererTextPrivate#underline_style.));
1452
1453 if (priv->rise_setcxx . . $ _GtkCellRendererTextPrivate#rise_set.)
1454 add_attrcxx . . $ add_attr(db91f5ecbb0f813c). (attr_list, pango_attr_rise_newcxx . . $ pango_attr_rise_new(ecbc85d15da7d62e). (priv->risecxx . . $ _GtkCellRendererTextPrivate#rise.));
1455
1456 /* Now apply the attributes as they will effect the outcome
1457 * of pango_layout_get_extents() */
1458 pango_layout_set_attributescxx . . $ pango_layout_set_attributes(b6ddc5fc8bc1382). (layout, attr_list);
1459 pango_attr_list_unrefcxx . . $ pango_attr_list_unref(c4bf0c0856846d1b). (attr_list);
1460
1461 if (priv->ellipsize_setcxx . . $ _GtkCellRendererTextPrivate#ellipsize_set.)
1462 pango_layout_set_ellipsizecxx . . $ pango_layout_set_ellipsize(f91af10e808ea17f). (layout, priv->ellipsizecxx . . $ _GtkCellRendererTextPrivate#ellipsize.);
1463 else
1464 pango_layout_set_ellipsizecxx . . $ pango_layout_set_ellipsize(f91af10e808ea17f). (layout, PANGO_ELLIPSIZE_NONEcxx . . $ PANGO_ELLIPSIZE_NONE.);
1465
1466 if (priv->wrap_widthcxx . . $ _GtkCellRendererTextPrivate#wrap_width. != -1)
1467 {
1468 PangoRectanglecxx . . $ PangoRectangle# rect;
1469 int width, text_width;
1470
1471 pango_layout_get_extentscxx . . $ pango_layout_get_extents(387377cd6f424af2). (layout, NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:419:9`!, &rect);
1472 text_width = rect.widthcxx . . $ _PangoRectangle#width.;
1473
1474 if (cell_area)
1475 width = (cell_area->widthcxx . . $ _cairo_rectangle_int#width. - xpad * 2) * PANGO_SCALEcxx . . $ `<external>/16549852590339199443/pango-types.h:96:9`!;
1476 else
1477 width = priv->wrap_widthcxx . . $ _GtkCellRendererTextPrivate#wrap_width. * PANGO_SCALEcxx . . $ `<external>/16549852590339199443/pango-types.h:96:9`!;
1478
1479 width = MINcxx . . $ `<external>/12741050725406041920/gmacros.h:978:9`! (width, text_width);
1480
1481 pango_layout_set_widthcxx . . $ pango_layout_set_width(dc4bc9303c44cb0b). (layout, width);
1482 pango_layout_set_wrapcxx . . $ pango_layout_set_wrap(1c7526d419bcfe09). (layout, priv->wrap_modecxx . . $ _GtkCellRendererTextPrivate#wrap_mode.);
1483 }
1484 else
1485 {
1486 pango_layout_set_widthcxx . . $ pango_layout_set_width(dc4bc9303c44cb0b). (layout, -1);
1487 pango_layout_set_wrapcxx . . $ pango_layout_set_wrap(1c7526d419bcfe09). (layout, PANGO_WRAP_CHARcxx . . $ PANGO_WRAP_CHAR.);
1488 }
1489
1490 if (priv->align_setcxx . . $ _GtkCellRendererTextPrivate#align_set.)
1491 pango_layout_set_alignmentcxx . . $ pango_layout_set_alignment(ce52377b35eb0c94). (layout, priv->aligncxx . . $ _GtkCellRendererTextPrivate#align.);
1492 else
1493 {
1494 PangoAlignmentcxx . . $ PangoAlignment# align;
1495
1496 if (gtk_widget_get_directioncxx . . $ gtk_widget_get_direction(a6537c3bfdacec30). (widget) == GTK_TEXT_DIR_RTLcxx . . $ GTK_TEXT_DIR_RTL.)
1497 align = PANGO_ALIGN_RIGHTcxx . . $ PANGO_ALIGN_RIGHT.;
1498 else
1499 align = PANGO_ALIGN_LEFTcxx . . $ PANGO_ALIGN_LEFT.;
1500
1501 pango_layout_set_alignmentcxx . . $ pango_layout_set_alignment(ce52377b35eb0c94). (layout, align);
1502 }
1503
1504 return layout;
1505 }
1506
1507
1508 static void
1509 get_sizecxx . . $ get_size(a80edd867e9d4312). (GtkCellRenderercxx . . $ GtkCellRenderer# *cell,
1510 GtkWidgetcxx . . $ GtkWidget# *widget,
1511 const GdkRectanglecxx . . $ GdkRectangle# *cell_area,
1512 PangoLayoutcxx . . $ PangoLayout# *layout,
1513 int *x_offset,
1514 int *y_offset,
1515 int *width,
1516 int *height)
1517 {
1518 GtkCellRendererTextcxx . . $ GtkCellRendererText# *celltext = GTK_CELL_RENDERER_TEXTcxx . . $ `gtk/deprecated/gtkcellrenderertext.h:32:9`! (cell);
1519 GtkCellRendererTextPrivatecxx . . $ GtkCellRendererTextPrivate# *priv = gtk_cell_renderer_text_get_instance_privatecxx . . $ gtk_cell_renderer_text_get_instance_private(b598819e4829a497). (celltext);
1520 PangoRectanglecxx . . $ PangoRectangle# rect;
1521 int xpad, ypad;
1522 int cell_width, cell_height;
1523 float xalign, yalign;
1524
1525 gtk_cell_renderer_get_paddingcxx . . $ gtk_cell_renderer_get_padding(4d6cf81189c7015f). (cell, &xpad, &ypad);
1526
1527 if (priv->calc_fixed_heightcxx . . $ _GtkCellRendererTextPrivate#calc_fixed_height.)
1528 {
1529 GtkStyleContextcxx . . $ GtkStyleContext# *style_context;
1530 PangoContextcxx . . $ PangoContext# *context;
1531 PangoFontMetricscxx . . $ PangoFontMetrics# *metrics;
1532 PangoFontDescriptioncxx . . $ PangoFontDescription# *font_desc;
1533 int row_height;
1534
1535 style_context = gtk_widget_get_style_contextcxx . . $ gtk_widget_get_style_context(1a33cf1e9e8b4cb5). (widget);
1536
1537 font_desc = gtk_css_style_get_pango_fontcxx . . $ gtk_css_style_get_pango_font(527bdc4ff8ac8e92). (gtk_style_context_lookup_stylecxx . . $ gtk_style_context_lookup_style(8f4b1944892a115c). (style_context));
1538 pango_font_description_merge_staticcxx . . $ pango_font_description_merge_static(fa1d4fe28aafcac0). (font_desc, priv->fontcxx . . $ _GtkCellRendererTextPrivate#font., TRUEcxx . . $ `<external>/12741050725406041920/gmacros.h:971:9`!);
1539
1540 if (priv->scale_setcxx . . $ _GtkCellRendererTextPrivate#scale_set.)
1541 pango_font_description_set_sizecxx . . $ pango_font_description_set_size(3fc07385aedb63f8). (font_desc,
1542 priv->font_scalecxx . . $ _GtkCellRendererTextPrivate#font_scale. * pango_font_description_get_sizecxx . . $ pango_font_description_get_size(3ca9016730d4c6e6). (font_desc));
1543
1544 context = gtk_widget_get_pango_contextcxx . . $ gtk_widget_get_pango_context(106cb576c7b84949). (widget);
1545
1546 metrics = pango_context_get_metricscxx . . $ pango_context_get_metrics(cdce0291782eec9). (context,
1547 font_desc,
1548 pango_context_get_languagecxx . . $ pango_context_get_language(94be47ed73c01c2c). (context));
1549 row_height = (pango_font_metrics_get_ascentcxx . . $ pango_font_metrics_get_ascent(2ff6b600e79c21c6). (metrics) +
1550 pango_font_metrics_get_descentcxx . . $ pango_font_metrics_get_descent(2ff6b600e79c21c6). (metrics));
1551 pango_font_metrics_unrefcxx . . $ pango_font_metrics_unref(81d751d76b5b3fd4). (metrics);
1552
1553 pango_font_description_freecxx . . $ pango_font_description_free(915e2822a6190560). (font_desc);
1554
1555 gtk_cell_renderer_get_fixed_sizecxx . . $ gtk_cell_renderer_get_fixed_size(4d6cf81189c7015f). (cell, &cell_width, &cell_height);
1556
1557 gtk_cell_renderer_set_fixed_sizecxx . . $ gtk_cell_renderer_set_fixed_size(a5ffd8d1e4aff98a). (cell,
1558 cell_width, 2 * ypad +
1559 priv->fixed_height_rowscxx . . $ _GtkCellRendererTextPrivate#fixed_height_rows. * PANGO_PIXELScxx . . $ `<external>/16549852590339199443/pango-types.h:97:9`! (row_height));
1560
1561 if (height)
1562 {
1563 *height = cell_height;
1564 height = NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:419:9`!;
1565 }
1566 priv->calc_fixed_heightcxx . . $ _GtkCellRendererTextPrivate#calc_fixed_height. = FALSEcxx . . $ `<external>/12741050725406041920/gmacros.h:967:9`!;
1567 if (width == NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:419:9`!)
1568 return;
1569 }
1570
1571 pango_layout_get_pixel_extentscxx . . $ pango_layout_get_pixel_extents(387377cd6f424af2). (layout, NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:419:9`!, &rect);
1572
1573 gtk_cell_renderer_get_alignmentcxx . . $ gtk_cell_renderer_get_alignment(dac41238e53330e0). (cell, &xalign, &yalign);
1574
1575 rect.heightcxx . . $ _PangoRectangle#height. = MINcxx . . $ `<external>/12741050725406041920/gmacros.h:978:9`! (rect.height, cell_area->height - 2 * ypad);
1576 rect.widthcxx . . $ _PangoRectangle#width. = MINcxx . . $ `<external>/12741050725406041920/gmacros.h:978:9`! (rect.width, cell_area->width - 2 * xpad);
1577
1578 if (gtk_widget_get_directioncxx . . $ gtk_widget_get_direction(a6537c3bfdacec30). (widget) == GTK_TEXT_DIR_RTLcxx . . $ GTK_TEXT_DIR_RTL.)
1579 *x_offset = (1.0 - xalign) * (cell_area->widthcxx . . $ _cairo_rectangle_int#width. - (rect.widthcxx . . $ _PangoRectangle#width. + (2 * xpad)));
1580 else
1581 *x_offset = xalign * (cell_area->widthcxx . . $ _cairo_rectangle_int#width. - (rect.widthcxx . . $ _PangoRectangle#width. + (2 * xpad)));
1582
1583 if ((priv->ellipsize_setcxx . . $ _GtkCellRendererTextPrivate#ellipsize_set. && priv->ellipsizecxx . . $ _GtkCellRendererTextPrivate#ellipsize. != PANGO_ELLIPSIZE_NONEcxx . . $ PANGO_ELLIPSIZE_NONE.) || priv->wrap_widthcxx . . $ _GtkCellRendererTextPrivate#wrap_width. != -1)
1584 *x_offset = MAXcxx . . $ `<external>/12741050725406041920/gmacros.h:975:9`!(*x_offset, 0);
1585
1586 *y_offset = yalign * (cell_area->heightcxx . . $ _cairo_rectangle_int#height. - (rect.heightcxx . . $ _PangoRectangle#height. + (2 * ypad)));
1587 *y_offset = MAXcxx . . $ `<external>/12741050725406041920/gmacros.h:975:9`! (*y_offset, 0);
1588
1589 if (height)
1590 *height = ypad * 2 + rect.heightcxx . . $ _PangoRectangle#height.;
1591
1592 if (width)
1593 *width = xpad * 2 + rect.widthcxx . . $ _PangoRectangle#width.;
1594 }
1595
1596 static void
1597 gtk_cell_renderer_text_snapshotcxx . . $ gtk_cell_renderer_text_snapshot(34bfa7962255c36). (GtkCellRenderercxx . . $ GtkCellRenderer# *cell,
1598 GtkSnapshotcxx . . $ GtkSnapshot# *snapshot,
1599 GtkWidgetcxx . . $ GtkWidget# *widget,
1600 const GdkRectanglecxx . . $ GdkRectangle# *background_area,
1601 const GdkRectanglecxx . . $ GdkRectangle# *cell_area,
1602 GtkCellRendererStatecxx . . $ GtkCellRendererState# flags)
1603
1604 {
1605 GtkCellRendererTextcxx . . $ GtkCellRendererText# *celltext = GTK_CELL_RENDERER_TEXTcxx . . $ `gtk/deprecated/gtkcellrenderertext.h:32:9`! (cell);
1606 GtkCellRendererTextPrivatecxx . . $ GtkCellRendererTextPrivate# *priv = gtk_cell_renderer_text_get_instance_privatecxx . . $ gtk_cell_renderer_text_get_instance_private(b598819e4829a497). (celltext);
1607 GtkStyleContextcxx . . $ GtkStyleContext# *context;
1608 PangoLayoutcxx . . $ PangoLayout# *layout;
1609 int x_offset = 0;
1610 int y_offset = 0;
1611 int xpad, ypad;
1612 PangoRectanglecxx . . $ PangoRectangle# rect;
1613
1614 layout = get_layoutcxx . . $ get_layout(18da1ccf94b85106). (celltext, widget, cell_area, flags);
1615 get_sizecxx . . $ get_size(a80edd867e9d4312). (cell, widget, cell_area, layout, &x_offset, &y_offset, NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:419:9`!, NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:419:9`!);
1616 context = gtk_widget_get_style_contextcxx . . $ gtk_widget_get_style_context(1a33cf1e9e8b4cb5). (widget);
1617
1618 if (priv->background_setcxx . . $ _GtkCellRendererTextPrivate#background_set. && (flags & GTK_CELL_RENDERER_SELECTEDcxx . . $ GTK_CELL_RENDERER_SELECTED.) == 0)
1619 {
1620 gtk_snapshot_append_colorcxx . . $ gtk_snapshot_append_color(402330aed7850122). (snapshot,
1621 &priv->backgroundcxx . . $ _GtkCellRendererTextPrivate#background.,
1622 &GRAPHENE_RECT_INITcxx . . $ `<external>/7539008420172022992/graphene-rect.h:50:9`!(
1623 background_area->x, background_area->y,
1624 background_area->width, background_area->height
1625 ));
1626 }
1627
1628 gtk_cell_renderer_get_paddingcxx . . $ gtk_cell_renderer_get_padding(4d6cf81189c7015f). (cell, &xpad, &ypad);
1629
1630 if (priv->ellipsize_setcxx . . $ _GtkCellRendererTextPrivate#ellipsize_set. && priv->ellipsizecxx . . $ _GtkCellRendererTextPrivate#ellipsize. != PANGO_ELLIPSIZE_NONEcxx . . $ PANGO_ELLIPSIZE_NONE.)
1631 pango_layout_set_widthcxx . . $ pango_layout_set_width(dc4bc9303c44cb0b). (layout,
1632 (cell_area->widthcxx . . $ _cairo_rectangle_int#width. - x_offset - 2 * xpad) * PANGO_SCALEcxx . . $ `<external>/16549852590339199443/pango-types.h:96:9`!);
1633 else if (priv->wrap_widthcxx . . $ _GtkCellRendererTextPrivate#wrap_width. == -1)
1634 pango_layout_set_widthcxx . . $ pango_layout_set_width(dc4bc9303c44cb0b). (layout, -1);
1635
1636 pango_layout_get_pixel_extentscxx . . $ pango_layout_get_pixel_extents(387377cd6f424af2). (layout, NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:419:9`!, &rect);
1637 x_offset = x_offset - rect.xcxx . . $ _PangoRectangle#x.;
1638
1639 gtk_snapshot_push_clipcxx . . $ gtk_snapshot_push_clip(f2e77ce91ee65beb). (snapshot,
1640 &GRAPHENE_RECT_INITcxx . . $ `<external>/7539008420172022992/graphene-rect.h:50:9`!(
1641 cell_area->x, cell_area->y,
1642 cell_area->width, cell_area->height
1643 ));
1644
1645 gtk_snapshot_render_layoutcxx . . $ gtk_snapshot_render_layout(190e97d974abf3c6). (snapshot, context,
1646 cell_area->xcxx . . $ _cairo_rectangle_int#x. + x_offset + xpad,
1647 cell_area->ycxx . . $ _cairo_rectangle_int#y. + y_offset + ypad,
1648 layout);
1649
1650 gtk_snapshot_popcxx . . $ gtk_snapshot_pop(afbd0a0317d5665f). (snapshot);
1651
1652 g_object_unrefcxx . . $ g_object_unref(5d22bdacc48458e8). (layout);
1653 }
1654
1655 static void
1656 gtk_cell_renderer_text_editing_donecxx . . $ gtk_cell_renderer_text_editing_done(fe0413adfcf09f66). (GtkCellEditablecxx . . $ GtkCellEditable# *entry,
1657 gpointercxx . . $ gpointer# data)
1658 {
1659 GtkCellRendererTextcxx . . $ GtkCellRendererText# *celltext = GTK_CELL_RENDERER_TEXTcxx . . $ `gtk/deprecated/gtkcellrenderertext.h:32:9`! (data);
1660 GtkCellRendererTextPrivatecxx . . $ GtkCellRendererTextPrivate# *priv = gtk_cell_renderer_text_get_instance_privatecxx . . $ gtk_cell_renderer_text_get_instance_private(b598819e4829a497). (celltext);
1661 const char *path;
1662 const char *new_text;
1663 gbooleancxx . . $ gboolean# canceled;
1664
1665 g_clear_objectcxx . . $ `<external>/1341695927569185362/gobject.h:695:9`! (&priv->entry);
1666
1667 if (priv->focus_out_idcxx . . $ _GtkCellRendererTextPrivate#focus_out_id. > 0)
1668 {
1669 g_signal_handler_disconnectcxx . . $ g_signal_handler_disconnect(5500c4293b1bbef0). (entry, priv->focus_out_idcxx . . $ _GtkCellRendererTextPrivate#focus_out_id.);
1670 priv->focus_out_idcxx . . $ _GtkCellRendererTextPrivate#focus_out_id. = 0;
1671 }
1672
1673 if (priv->entry_menu_popdown_timeoutcxx . . $ _GtkCellRendererTextPrivate#entry_menu_popdown_timeout.)
1674 {
1675 g_source_removecxx . . $ g_source_remove(4c679297bf94b9eb). (priv->entry_menu_popdown_timeoutcxx . . $ _GtkCellRendererTextPrivate#entry_menu_popdown_timeout.);
1676 priv->entry_menu_popdown_timeoutcxx . . $ _GtkCellRendererTextPrivate#entry_menu_popdown_timeout. = 0;
1677 }
1678
1679 g_object_getcxx . . $ g_object_get(1ac911bdc4e9a14d). (entry,
1680 "editing-canceled", &canceled,
1681 NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:419:9`!);
1682 gtk_cell_renderer_stop_editingcxx . . $ gtk_cell_renderer_stop_editing(ce63b40b733b81ac). (GTK_CELL_RENDERERcxx . . $ `gtk/deprecated/gtkcellrenderer.h:77:9`! (data), canceled);
1683
1684 if (canceled)
1685 return;
1686
1687 path = g_object_get_datacxx . . $ g_object_get_data(973400aee2f864c2). (G_OBJECTcxx . . $ `<external>/1341695927569185362/gobject.h:54:9`! (entry), GTK_CELL_RENDERER_TEXT_PATHcxx . . $ `gtk/deprecated/gtkcellrenderertext.c:165:9`!);
1688 new_text = gtk_editable_get_textcxx . . $ gtk_editable_get_text(87ef08b8498f8205). (GTK_EDITABLEcxx . . $ `gtk/gtkeditable.h:38:9`! (entry));
1689 g_signal_emitcxx . . $ g_signal_emit(cc3f7c2ba1c6a182). (data, text_cell_renderer_signalscxx . . $ text_cell_renderer_signals.[EDITEDcxx . . $ EDITED.], 0, path, new_text);
1690 }
1691
1692 static void
1693 gtk_cell_renderer_text_focus_changedcxx . . $ gtk_cell_renderer_text_focus_changed(e6f813de8be39d8a). (GtkWidgetcxx . . $ GtkWidget# *entry,
1694 GParamSpeccxx . . $ GParamSpec# *pspec,
1695 gpointercxx . . $ gpointer# data)
1696 {
1697 if (gtk_widget_has_focuscxx . . $ gtk_widget_has_focus(9247ef2dc26c5426). (entry) ||
1698 gtk_widget_has_focuscxx . . $ gtk_widget_has_focus(9247ef2dc26c5426). (GTK_WIDGETcxx . . $ `gtk/gtkwidget.h:44:9`! (gtk_entry_get_text_widget (GTK_ENTRYcxx . . $ `gtk/gtkentry.h:46:9`! (entry)))))
1699 return;
1700
1701 g_object_setcxx . . $ g_object_set(1ac911bdc4e9a14d). (entry,
1702 "editing-canceled", TRUEcxx . . $ `<external>/12741050725406041920/gmacros.h:971:9`!,
1703 NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:419:9`!);
1704 gtk_cell_editable_editing_donecxx . . $ gtk_cell_editable_editing_done(403137d4a64484c8). (GTK_CELL_EDITABLEcxx . . $ `gtk/deprecated/gtkcelleditable.h:29:9`! (entry));
1705 gtk_cell_editable_remove_widgetcxx . . $ gtk_cell_editable_remove_widget(403137d4a64484c8). (GTK_CELL_EDITABLEcxx . . $ `gtk/deprecated/gtkcelleditable.h:29:9`! (entry));
1706 }
1707
1708 static GtkCellEditablecxx . . $ GtkCellEditable# *
1709 gtk_cell_renderer_text_start_editingcxx . . $ gtk_cell_renderer_text_start_editing(ea43edb464ffc494). (GtkCellRenderercxx . . $ GtkCellRenderer# *cell,
1710 GdkEventcxx . . $ GdkEvent# *event,
1711 GtkWidgetcxx . . $ GtkWidget# *widget,
1712 const char *path,
1713 const GdkRectanglecxx . . $ GdkRectangle# *background_area,
1714 const GdkRectanglecxx . . $ GdkRectangle# *cell_area,
1715 GtkCellRendererStatecxx . . $ GtkCellRendererState# flags)
1716 {
1717 GtkCellRendererTextcxx . . $ GtkCellRendererText# *celltext = GTK_CELL_RENDERER_TEXTcxx . . $ `gtk/deprecated/gtkcellrenderertext.h:32:9`! (cell);
1718 GtkCellRendererTextPrivatecxx . . $ GtkCellRendererTextPrivate# *priv = gtk_cell_renderer_text_get_instance_privatecxx . . $ gtk_cell_renderer_text_get_instance_private(b598819e4829a497). (celltext);
1719 float xalign, yalign;
1720
1721 /* If the cell isn't editable we return NULL. */
1722 if (!priv->editablecxx . . $ _GtkCellRendererTextPrivate#editable.)
1723 return NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:419:9`!;
1724
1725 gtk_cell_renderer_get_alignmentcxx . . $ gtk_cell_renderer_get_alignment(dac41238e53330e0). (cell, &xalign, &yalign);
1726
1727 priv->entrycxx . . $ _GtkCellRendererTextPrivate#entry. = gtk_entry_newcxx . . $ gtk_entry_new(2369ce5e9f2c7dfd). ();
1728 g_object_ref_sinkcxx . . $ `<external>/1341695927569185362/gobject.h:534:9`! (G_OBJECTcxx . . $ `<external>/1341695927569185362/gobject.h:54:9`! (priv->entry));
1729
1730 gtk_entry_set_has_framecxx . . $ gtk_entry_set_has_frame(71e6cb16516f1bad). (GTK_ENTRYcxx . . $ `gtk/gtkentry.h:46:9`! (priv->entry), FALSEcxx . . $ `<external>/12741050725406041920/gmacros.h:967:9`!);
1731 gtk_entry_set_alignmentcxx . . $ gtk_entry_set_alignment(a235fca93f5b598c). (GTK_ENTRYcxx . . $ `gtk/gtkentry.h:46:9`! (priv->entry), xalign);
1732 gtk_editable_set_width_charscxx . . $ gtk_editable_set_width_chars(c4414a4cda320010). (GTK_EDITABLEcxx . . $ `gtk/gtkeditable.h:38:9`! (priv->entry), 5);
1733
1734 if (priv->textcxx . . $ _GtkCellRendererTextPrivate#text.)
1735 gtk_editable_set_textcxx . . $ gtk_editable_set_text(dd7674303aab4ac4). (GTK_EDITABLEcxx . . $ `gtk/gtkeditable.h:38:9`! (priv->entry), priv->textcxx . . $ _GtkCellRendererTextPrivate#text.);
1736 g_object_set_data_fullcxx . . $ g_object_set_data_full(218df00be1d2a06c). (G_OBJECTcxx . . $ `<external>/1341695927569185362/gobject.h:54:9`! (priv->entry), I_cxx . . $ `gdk/gdkprivate.h:35:9`!(GTK_CELL_RENDERER_TEXT_PATHcxx . . $ `gtk/deprecated/gtkcellrenderertext.c:165:9`!), g_strdupcxx . . $ `<external>/7822753393113922331/gstrfuncs.h:324:9`! (path), g_freecxx . . $ g_free(5d22bdacc48458e8).);
1737
1738 gtk_editable_select_regioncxx . . $ gtk_editable_select_region(a69517a240ab817a). (GTK_EDITABLEcxx . . $ `gtk/gtkeditable.h:38:9`! (priv->entry), 0, -1);
1739
1740 priv->in_entry_menucxx . . $ _GtkCellRendererTextPrivate#in_entry_menu. = FALSEcxx . . $ `<external>/12741050725406041920/gmacros.h:967:9`!;
1741 if (priv->entry_menu_popdown_timeoutcxx . . $ _GtkCellRendererTextPrivate#entry_menu_popdown_timeout.)
1742 {
1743 g_source_removecxx . . $ g_source_remove(4c679297bf94b9eb). (priv->entry_menu_popdown_timeoutcxx . . $ _GtkCellRendererTextPrivate#entry_menu_popdown_timeout.);
1744 priv->entry_menu_popdown_timeoutcxx . . $ _GtkCellRendererTextPrivate#entry_menu_popdown_timeout. = 0;
1745 }
1746
1747 g_signal_connectcxx . . $ `<external>/15952772511652638895/gsignal.h:548:9`! (priv->entry, "editing-done",
1748 G_CALLBACKcxx . . $ `<external>/16473872192229286895/gclosure.h:73:9`! (gtk_cell_renderer_text_editing_done), celltext);
1749 priv->focus_out_idcxx . . $ _GtkCellRendererTextPrivate#focus_out_id. = g_signal_connect_aftercxx . . $ `<external>/15952772511652638895/gsignal.h:571:9`! (priv->entry, "notify::has-focus",
1750 G_CALLBACKcxx . . $ `<external>/16473872192229286895/gclosure.h:73:9`! (gtk_cell_renderer_text_focus_changed),
1751 celltext);
1752
1753 return GTK_CELL_EDITABLEcxx . . $ `gtk/deprecated/gtkcelleditable.h:29:9`! (priv->entry);
1754 }
1755
1756 /**
1757 * gtk_cell_renderer_text_set_fixed_height_from_font:
1758 * @renderer: A `GtkCellRendererText`
1759 * @number_of_rows: Number of rows of text each cell renderer is allocated, or -1
1760 *
1761 * Sets the height of a renderer to explicitly be determined by the “font” and
1762 * “y_pad” property set on it. Further changes in these properties do not
1763 * affect the height, so they must be accompanied by a subsequent call to this
1764 * function. Using this function is inflexible, and should really only be used
1765 * if calculating the size of a cell is too slow (ie, a massive number of cells
1766 * displayed). If @number_of_rows is -1, then the fixed height is unset, and
1767 * the height is determined by the properties again.
1768 *
1769 * Deprecated: 4.10
1770 **/
1771 void
1772 gtk_cell_renderer_text_set_fixed_height_from_fontcxx . . $ gtk_cell_renderer_text_set_fixed_height_from_font(f4d0d014a024cfb0). (GtkCellRendererTextcxx . . $ GtkCellRendererText# *renderer,
1773 int number_of_rows)
1774 {
1775 GtkCellRendererTextPrivatecxx . . $ GtkCellRendererTextPrivate# *priv = gtk_cell_renderer_text_get_instance_privatecxx . . $ gtk_cell_renderer_text_get_instance_private(b598819e4829a497). (renderer);
1776 GtkCellRenderercxx . . $ GtkCellRenderer# *cell = GTK_CELL_RENDERERcxx . . $ `gtk/deprecated/gtkcellrenderer.h:77:9`! (renderer);
1777
1778 g_return_if_failcxx . . $ `<external>/5169755362661750954/gmessages.h:652:9`! (GTK_IS_CELL_RENDERER_TEXTcxx . . $ `gtk/deprecated/gtkcellrenderertext.h:34:9`! (renderer));
1779 g_return_if_failcxx . . $ `<external>/5169755362661750954/gmessages.h:652:9`! (number_of_rows == -1 || number_of_rows > 0);
1780
1781 if (number_of_rows == -1)
1782 {
1783 int width, height;
1784
1785 gtk_cell_renderer_get_fixed_sizecxx . . $ gtk_cell_renderer_get_fixed_size(4d6cf81189c7015f). (cell, &width, &height);
1786 gtk_cell_renderer_set_fixed_sizecxx . . $ gtk_cell_renderer_set_fixed_size(a5ffd8d1e4aff98a). (cell, width, -1);
1787 }
1788 else
1789 {
1790 priv->fixed_height_rowscxx . . $ _GtkCellRendererTextPrivate#fixed_height_rows. = number_of_rows;
1791 priv->calc_fixed_heightcxx . . $ _GtkCellRendererTextPrivate#calc_fixed_height. = TRUEcxx . . $ `<external>/12741050725406041920/gmacros.h:971:9`!;
1792 }
1793 }
1794
1795 static void
1796 gtk_cell_renderer_text_get_preferred_widthcxx . . $ gtk_cell_renderer_text_get_preferred_width(d5efea385435c9de). (GtkCellRenderercxx . . $ GtkCellRenderer# *cell,
1797 GtkWidgetcxx . . $ GtkWidget# *widget,
1798 int *minimum_size,
1799 int *natural_size)
1800 {
1801 GtkCellRendererTextcxx . . $ GtkCellRendererText# *celltext = GTK_CELL_RENDERER_TEXTcxx . . $ `gtk/deprecated/gtkcellrenderertext.h:32:9`! (cell);
1802 GtkCellRendererTextPrivatecxx . . $ GtkCellRendererTextPrivate# *priv = gtk_cell_renderer_text_get_instance_privatecxx . . $ gtk_cell_renderer_text_get_instance_private(b598819e4829a497). (celltext);
1803 PangoLayoutcxx . . $ PangoLayout# *layout;
1804 PangoContextcxx . . $ PangoContext# *context;
1805 PangoFontMetricscxx . . $ PangoFontMetrics# *metrics;
1806 PangoRectanglecxx . . $ PangoRectangle# rect;
1807 int char_width, text_width, ellipsize_chars, xpad;
1808 int min_width, nat_width;
1809
1810 /* "width-chars" Hard-coded minimum width:
1811 * - minimum size should be MAX (width-chars, strlen ("..."));
1812 * - natural size should be MAX (width-chars, strlen (label->text));
1813 *
1814 * "wrap-width" User specified natural wrap width
1815 * - minimum size should be MAX (width-chars, 0)
1816 * - natural size should be MIN (wrap-width, strlen (label->text))
1817 */
1818 gtk_cell_renderer_get_paddingcxx . . $ gtk_cell_renderer_get_padding(4d6cf81189c7015f). (cell, &xpad, NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:419:9`!);
1819
1820 layout = get_layoutcxx . . $ get_layout(18da1ccf94b85106). (celltext, widget, NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:419:9`!, 0);
1821
1822 /* Fetch the length of the complete unwrapped text */
1823 pango_layout_set_widthcxx . . $ pango_layout_set_width(dc4bc9303c44cb0b). (layout, -1);
1824 pango_layout_get_extentscxx . . $ pango_layout_get_extents(387377cd6f424af2). (layout, NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:419:9`!, &rect);
1825 text_width = rect.widthcxx . . $ _PangoRectangle#width.;
1826
1827 /* Fetch the average size of a character */
1828 context = pango_layout_get_contextcxx . . $ pango_layout_get_context(2a2e0adaaef4fc4b). (layout);
1829 metrics = pango_context_get_metricscxx . . $ pango_context_get_metrics(cdce0291782eec9). (context,
1830 pango_context_get_font_descriptioncxx . . $ pango_context_get_font_description(5241773e215fe5f0). (context),
1831 pango_context_get_languagecxx . . $ pango_context_get_language(94be47ed73c01c2c). (context));
1832
1833 char_width = pango_font_metrics_get_approximate_char_widthcxx . . $ pango_font_metrics_get_approximate_char_width(2ff6b600e79c21c6). (metrics);
1834
1835 pango_font_metrics_unrefcxx . . $ pango_font_metrics_unref(81d751d76b5b3fd4). (metrics);
1836 g_object_unrefcxx . . $ g_object_unref(5d22bdacc48458e8). (layout);
1837
1838 /* enforce minimum width for ellipsized labels at ~3 chars */
1839 if (priv->ellipsize_setcxx . . $ _GtkCellRendererTextPrivate#ellipsize_set. && priv->ellipsizecxx . . $ _GtkCellRendererTextPrivate#ellipsize. != PANGO_ELLIPSIZE_NONEcxx . . $ PANGO_ELLIPSIZE_NONE.)
1840 ellipsize_chars = 3;
1841 else
1842 ellipsize_chars = 0;
1843
1844 if ((priv->ellipsize_setcxx . . $ _GtkCellRendererTextPrivate#ellipsize_set. && priv->ellipsizecxx . . $ _GtkCellRendererTextPrivate#ellipsize. != PANGO_ELLIPSIZE_NONEcxx . . $ PANGO_ELLIPSIZE_NONE.) || priv->width_charscxx . . $ _GtkCellRendererTextPrivate#width_chars. > 0)
1845 min_width = xpad * 2 +
1846 MINcxx . . $ `<external>/12741050725406041920/gmacros.h:978:9`! (PANGO_PIXELS_CEILcxx . . $ `<external>/16549852590339199443/pango-types.h:99:9`! (text_width),
1847 (PANGO_PIXELScxx . . $ `<external>/16549852590339199443/pango-types.h:97:9`! (char_width) * MAXcxx . . $ `<external>/12741050725406041920/gmacros.h:975:9`! (priv->width_chars, ellipsize_chars)));
1848 /* If no width-chars set, minimum for wrapping text will be the wrap-width */
1849 else if (priv->wrap_widthcxx . . $ _GtkCellRendererTextPrivate#wrap_width. > -1)
1850 min_width = xpad * 2 + rect.xcxx . . $ _PangoRectangle#x. + MINcxx . . $ `<external>/12741050725406041920/gmacros.h:978:9`! (PANGO_PIXELS_CEILcxx . . $ `<external>/16549852590339199443/pango-types.h:99:9`! (text_width), priv->wrap_width);
1851 else
1852 min_width = xpad * 2 + rect.xcxx . . $ _PangoRectangle#x. + PANGO_PIXELS_CEILcxx . . $ `<external>/16549852590339199443/pango-types.h:99:9`! (text_width);
1853
1854 if (priv->width_charscxx . . $ _GtkCellRendererTextPrivate#width_chars. > 0)
1855 nat_width = xpad * 2 +
1856 MAXcxx . . $ `<external>/12741050725406041920/gmacros.h:975:9`! ((PANGO_PIXELScxx . . $ `<external>/16549852590339199443/pango-types.h:97:9`! (char_width) * priv->width_chars), PANGO_PIXELS_CEILcxx . . $ `<external>/16549852590339199443/pango-types.h:99:9`! (text_width));
1857 else
1858 nat_width = xpad * 2 + PANGO_PIXELS_CEILcxx . . $ `<external>/16549852590339199443/pango-types.h:99:9`! (text_width);
1859
1860 nat_width = MAXcxx . . $ `<external>/12741050725406041920/gmacros.h:975:9`! (nat_width, min_width);
1861
1862 if (priv->max_width_charscxx . . $ _GtkCellRendererTextPrivate#max_width_chars. > 0)
1863 {
1864 int max_width = xpad * 2 + PANGO_PIXELScxx . . $ `<external>/16549852590339199443/pango-types.h:97:9`! (char_width) * priv->max_width_charscxx . . $ _GtkCellRendererTextPrivate#max_width_chars.;
1865
1866 min_width = MINcxx . . $ `<external>/12741050725406041920/gmacros.h:978:9`! (min_width, max_width);
1867 nat_width = MINcxx . . $ `<external>/12741050725406041920/gmacros.h:978:9`! (nat_width, max_width);
1868 }
1869
1870 if (minimum_size)
1871 *minimum_size = min_width;
1872
1873 if (natural_size)
1874 *natural_size = nat_width;
1875 }
1876
1877 static void
1878 gtk_cell_renderer_text_get_preferred_height_for_widthcxx . . $ gtk_cell_renderer_text_get_preferred_height_for_width(1257a0e0f3e3349e). (GtkCellRenderercxx . . $ GtkCellRenderer# *cell,
1879 GtkWidgetcxx . . $ GtkWidget# *widget,
1880 int width,
1881 int *minimum_height,
1882 int *natural_height)
1883 {
1884 GtkCellRendererTextcxx . . $ GtkCellRendererText# *celltext = GTK_CELL_RENDERER_TEXTcxx . . $ `gtk/deprecated/gtkcellrenderertext.h:32:9`! (cell);
1885 PangoLayoutcxx . . $ PangoLayout# *layout;
1886 int text_height, xpad, ypad;
1887
1888 gtk_cell_renderer_get_paddingcxx . . $ gtk_cell_renderer_get_padding(4d6cf81189c7015f). (cell, &xpad, &ypad);
1889
1890 layout = get_layoutcxx . . $ get_layout(18da1ccf94b85106). (celltext, widget, NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:419:9`!, 0);
1891
1892 pango_layout_set_widthcxx . . $ pango_layout_set_width(dc4bc9303c44cb0b). (layout, (width - xpad * 2) * PANGO_SCALEcxx . . $ `<external>/16549852590339199443/pango-types.h:96:9`!);
1893 pango_layout_get_pixel_sizecxx . . $ pango_layout_get_pixel_size(4e8562eb28bfa385). (layout, NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:419:9`!, &text_height);
1894
1895 if (minimum_height)
1896 *minimum_height = text_height + ypad * 2;
1897
1898 if (natural_height)
1899 *natural_height = text_height + ypad * 2;
1900
1901 g_object_unrefcxx . . $ g_object_unref(5d22bdacc48458e8). (layout);
1902 }
1903
1904 static void
1905 gtk_cell_renderer_text_get_preferred_heightcxx . . $ gtk_cell_renderer_text_get_preferred_height(d5efea385435c9de). (GtkCellRenderercxx . . $ GtkCellRenderer# *cell,
1906 GtkWidgetcxx . . $ GtkWidget# *widget,
1907 int *minimum_size,
1908 int *natural_size)
1909 {
1910 int min_width;
1911
1912 /* Thankfully cell renderers dont rotate, so they only have to do
1913 * height-for-width and not the opposite. Here we have only to return
1914 * the height for the base minimum width of the renderer.
1915 *
1916 * Note this code path won't be followed by GtkTreeView which is
1917 * height-for-width specifically.
1918 */
1919 gtk_cell_renderer_get_preferred_widthcxx . . $ gtk_cell_renderer_get_preferred_width(d5efea385435c9de). (cell, widget, &min_width, NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:419:9`!);
1920 gtk_cell_renderer_text_get_preferred_height_for_widthcxx . . $ gtk_cell_renderer_text_get_preferred_height_for_width(1257a0e0f3e3349e). (cell, widget, min_width,
1921 minimum_size, natural_size);
1922 }
1923
1924 static void
1925 gtk_cell_renderer_text_get_aligned_areacxx . . $ gtk_cell_renderer_text_get_aligned_area(65ae412043e58747). (GtkCellRenderercxx . . $ GtkCellRenderer# *cell,
1926 GtkWidgetcxx . . $ GtkWidget# *widget,
1927 GtkCellRendererStatecxx . . $ GtkCellRendererState# flags,
1928 const GdkRectanglecxx . . $ GdkRectangle# *cell_area,
1929 GdkRectanglecxx . . $ GdkRectangle# *aligned_area)
1930 {
1931 GtkCellRendererTextcxx . . $ GtkCellRendererText# *celltext = GTK_CELL_RENDERER_TEXTcxx . . $ `gtk/deprecated/gtkcellrenderertext.h:32:9`! (cell);
1932 PangoLayoutcxx . . $ PangoLayout# *layout;
1933 int x_offset = 0;
1934 int y_offset = 0;
1935
1936 layout = get_layoutcxx . . $ get_layout(18da1ccf94b85106). (celltext, widget, cell_area, flags);
1937 get_sizecxx . . $ get_size(a80edd867e9d4312). (cell, widget, cell_area, layout, &x_offset, &y_offset,
1938 &aligned_area->widthcxx . . $ _cairo_rectangle_int#width., &aligned_area->heightcxx . . $ _cairo_rectangle_int#height.);
1939
1940 aligned_area->xcxx . . $ _cairo_rectangle_int#x. = cell_area->xcxx . . $ _cairo_rectangle_int#x. + x_offset;
1941 aligned_area->ycxx . . $ _cairo_rectangle_int#y. = cell_area->ycxx . . $ _cairo_rectangle_int#y. + y_offset;
1942
1943 g_object_unrefcxx . . $ g_object_unref(5d22bdacc48458e8). (layout);
1944 }