Install ardour as a binary, a script and a set of shared
[ardour.git] / libs / gtkmm2 / gtk / gtkmm / cellrenderertext.h
1 // -*- c++ -*-
2 // Generated by gtkmmproc -- DO NOT MODIFY!
3 #ifndef _GTKMM_CELLRENDERERTEXT_H
4 #define _GTKMM_CELLRENDERERTEXT_H
5
6 #include <glibmm.h>
7
8 /* $Id$ */
9
10 /* Copyright (C) 1998-2002 The gtkmm Development Team
11  *
12  * This library is free software; you can redistribute it and/or
13  * modify it under the terms of the GNU Library General Public
14  * License as published by the Free Software Foundation; either
15  * version 2 of the License, or (at your option) any later version.
16  *
17  * This library is distributed in the hope that it will be useful,
18  * but WITHOUT ANY WARRANTY; without even the implied warranty of
19  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
20  * Library General Public License for more details.
21  *
22  * You should have received a copy of the GNU Library General Public
23  * License along with this library; if not, write to the Free
24  * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
25  */
26
27 #include <gtkmm/cellrenderer.h>
28 #include <pangomm/attrlist.h>
29 #include <pangomm/fontdescription.h>
30
31
32 #ifndef DOXYGEN_SHOULD_SKIP_THIS
33 typedef struct _GtkCellRendererText GtkCellRendererText;
34 typedef struct _GtkCellRendererTextClass GtkCellRendererTextClass;
35 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
36
37
38 namespace Gtk
39 { class CellRendererText_Class; } // namespace Gtk
40 namespace Gtk
41 {
42
43 /** Renders text in a cell.
44  *
45  * @ingroup TreeView
46  */
47
48 class CellRendererText : public CellRenderer
49 {
50   public:
51 #ifndef DOXYGEN_SHOULD_SKIP_THIS
52   typedef CellRendererText CppObjectType;
53   typedef CellRendererText_Class CppClassType;
54   typedef GtkCellRendererText BaseObjectType;
55   typedef GtkCellRendererTextClass BaseClassType;
56 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
57
58   virtual ~CellRendererText();
59
60 #ifndef DOXYGEN_SHOULD_SKIP_THIS
61
62 private:
63   friend class CellRendererText_Class;
64   static CppClassType cellrenderertext_class_;
65
66   // noncopyable
67   CellRendererText(const CellRendererText&);
68   CellRendererText& operator=(const CellRendererText&);
69
70 protected:
71   explicit CellRendererText(const Glib::ConstructParams& construct_params);
72   explicit CellRendererText(GtkCellRendererText* castitem);
73
74 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
75
76 public:
77 #ifndef DOXYGEN_SHOULD_SKIP_THIS
78   static GType get_type()      G_GNUC_CONST;
79   static GType get_base_type() G_GNUC_CONST;
80 #endif
81
82   ///Provides access to the underlying C GtkObject.
83   GtkCellRendererText*       gobj()       { return reinterpret_cast<GtkCellRendererText*>(gobject_); }
84
85   ///Provides access to the underlying C GtkObject.
86   const GtkCellRendererText* gobj() const { return reinterpret_cast<GtkCellRendererText*>(gobject_); }
87
88
89 public:
90   //C++ methods used to invoke GTK+ virtual functions:
91
92 protected:
93   //GTK+ Virtual Functions (override these to change behaviour):
94
95   //Default Signal Handlers::
96   virtual void on_edited(const Glib::ustring& path, const Glib::ustring& new_text);
97
98
99 private:
100
101 public:
102   CellRendererText();
103
104   
105   /** Sets the height of a renderer to explicitly be determined by the "font" and
106    * "y_pad" property set on it.  Further changes in these properties do not
107    * affect the height, so they must be accompanied by a subsequent call to this
108    * function.  Using this function is unflexible, and should really only be used
109    * if calculating the size of a cell is too slow (ie, a massive number of cells
110    * displayed).  If @a number_of_rows  is -1, then the fixed height is unset, and
111    * the height is determined by the properties again.
112    * @param number_of_rows Number of rows of text each cell renderer is allocated, or -1.
113    */
114   void set_fixed_height_from_font(int number_of_rows);
115
116   
117   Glib::SignalProxy2< void,const Glib::ustring&,const Glib::ustring& > signal_edited();
118
119
120   /** Text to render.
121    *
122    * You rarely need to use properties because there are get_ and set_ methods for almost all of them.
123    * @return A PropertyProxy that allows you to get or set the property of the value, or receive notification when
124    * the value of the property changes.
125    */
126   Glib::PropertyProxy<Glib::ustring> property_text() ;
127
128 /** Text to render.
129    *
130    * You rarely need to use properties because there are get_ and set_ methods for almost all of them.
131    * @return A PropertyProxy that allows you to get or set the property of the value, or receive notification when
132    * the value of the property changes.
133    */
134   Glib::PropertyProxy_ReadOnly<Glib::ustring> property_text() const;
135
136   /** Marked up text to render.
137    *
138    * You rarely need to use properties because there are get_ and set_ methods for almost all of them.
139    * @return A PropertyProxy that allows you to get or set the property of the value, or receive notification when
140    * the value of the property changes.
141    */
142   Glib::PropertyProxy_WriteOnly<Glib::ustring> property_markup() ;
143
144 /** Marked up text to render.
145    *
146    * You rarely need to use properties because there are get_ and set_ methods for almost all of them.
147    * @return A PropertyProxy that allows you to get or set the property of the value, or receive notification when
148    * the value of the property changes.
149    */
150   Glib::PropertyProxy_ReadOnly<Glib::ustring> property_markup() const;
151
152   /** A list of style attributes to apply to the text of the renderer.
153    *
154    * You rarely need to use properties because there are get_ and set_ methods for almost all of them.
155    * @return A PropertyProxy that allows you to get or set the property of the value, or receive notification when
156    * the value of the property changes.
157    */
158   Glib::PropertyProxy<Pango::AttrList> property_attributes() ;
159
160 /** A list of style attributes to apply to the text of the renderer.
161    *
162    * You rarely need to use properties because there are get_ and set_ methods for almost all of them.
163    * @return A PropertyProxy that allows you to get or set the property of the value, or receive notification when
164    * the value of the property changes.
165    */
166   Glib::PropertyProxy_ReadOnly<Pango::AttrList> property_attributes() const;
167
168   /** Background color as a string.
169    *
170    * You rarely need to use properties because there are get_ and set_ methods for almost all of them.
171    * @return A PropertyProxy that allows you to get or set the property of the value, or receive notification when
172    * the value of the property changes.
173    */
174   Glib::PropertyProxy_WriteOnly<Glib::ustring> property_background() ;
175
176 /** Background color as a string.
177    *
178    * You rarely need to use properties because there are get_ and set_ methods for almost all of them.
179    * @return A PropertyProxy that allows you to get or set the property of the value, or receive notification when
180    * the value of the property changes.
181    */
182   Glib::PropertyProxy_ReadOnly<Glib::ustring> property_background() const;
183
184   /** Foreground color as a string.
185    *
186    * You rarely need to use properties because there are get_ and set_ methods for almost all of them.
187    * @return A PropertyProxy that allows you to get or set the property of the value, or receive notification when
188    * the value of the property changes.
189    */
190   Glib::PropertyProxy_WriteOnly<Glib::ustring> property_foreground() ;
191
192 /** Foreground color as a string.
193    *
194    * You rarely need to use properties because there are get_ and set_ methods for almost all of them.
195    * @return A PropertyProxy that allows you to get or set the property of the value, or receive notification when
196    * the value of the property changes.
197    */
198   Glib::PropertyProxy_ReadOnly<Glib::ustring> property_foreground() const;
199
200   /** Background color as a GdkColor.
201    *
202    * You rarely need to use properties because there are get_ and set_ methods for almost all of them.
203    * @return A PropertyProxy that allows you to get or set the property of the value, or receive notification when
204    * the value of the property changes.
205    */
206   Glib::PropertyProxy<Gdk::Color> property_background_gdk() ;
207
208 /** Background color as a GdkColor.
209    *
210    * You rarely need to use properties because there are get_ and set_ methods for almost all of them.
211    * @return A PropertyProxy that allows you to get or set the property of the value, or receive notification when
212    * the value of the property changes.
213    */
214   Glib::PropertyProxy_ReadOnly<Gdk::Color> property_background_gdk() const;
215
216   /** Foreground color as a GdkColor.
217    *
218    * You rarely need to use properties because there are get_ and set_ methods for almost all of them.
219    * @return A PropertyProxy that allows you to get or set the property of the value, or receive notification when
220    * the value of the property changes.
221    */
222   Glib::PropertyProxy<Gdk::Color> property_foreground_gdk() ;
223
224 /** Foreground color as a GdkColor.
225    *
226    * You rarely need to use properties because there are get_ and set_ methods for almost all of them.
227    * @return A PropertyProxy that allows you to get or set the property of the value, or receive notification when
228    * the value of the property changes.
229    */
230   Glib::PropertyProxy_ReadOnly<Gdk::Color> property_foreground_gdk() const;
231
232   /** Font description as a string.
233    *
234    * You rarely need to use properties because there are get_ and set_ methods for almost all of them.
235    * @return A PropertyProxy that allows you to get or set the property of the value, or receive notification when
236    * the value of the property changes.
237    */
238   Glib::PropertyProxy<Glib::ustring> property_font() ;
239
240 /** Font description as a string.
241    *
242    * You rarely need to use properties because there are get_ and set_ methods for almost all of them.
243    * @return A PropertyProxy that allows you to get or set the property of the value, or receive notification when
244    * the value of the property changes.
245    */
246   Glib::PropertyProxy_ReadOnly<Glib::ustring> property_font() const;
247
248   /** Font description as a PangoFontDescription struct.
249    *
250    * You rarely need to use properties because there are get_ and set_ methods for almost all of them.
251    * @return A PropertyProxy that allows you to get or set the property of the value, or receive notification when
252    * the value of the property changes.
253    */
254   Glib::PropertyProxy<Pango::FontDescription> property_font_desc() ;
255
256 /** Font description as a PangoFontDescription struct.
257    *
258    * You rarely need to use properties because there are get_ and set_ methods for almost all of them.
259    * @return A PropertyProxy that allows you to get or set the property of the value, or receive notification when
260    * the value of the property changes.
261    */
262   Glib::PropertyProxy_ReadOnly<Pango::FontDescription> property_font_desc() const;
263
264   /** Name of the font family
265    *
266    * You rarely need to use properties because there are get_ and set_ methods for almost all of them.
267    * @return A PropertyProxy that allows you to get or set the property of the value, or receive notification when
268    * the value of the property changes.
269    */
270   Glib::PropertyProxy<Glib::ustring> property_family() ;
271
272 /** Name of the font family
273    *
274    * You rarely need to use properties because there are get_ and set_ methods for almost all of them.
275    * @return A PropertyProxy that allows you to get or set the property of the value, or receive notification when
276    * the value of the property changes.
277    */
278   Glib::PropertyProxy_ReadOnly<Glib::ustring> property_family() const;
279
280   /** Font style.
281    *
282    * You rarely need to use properties because there are get_ and set_ methods for almost all of them.
283    * @return A PropertyProxy that allows you to get or set the property of the value, or receive notification when
284    * the value of the property changes.
285    */
286   Glib::PropertyProxy<Pango::Style> property_style() ;
287
288 /** Font style.
289    *
290    * You rarely need to use properties because there are get_ and set_ methods for almost all of them.
291    * @return A PropertyProxy that allows you to get or set the property of the value, or receive notification when
292    * the value of the property changes.
293    */
294   Glib::PropertyProxy_ReadOnly<Pango::Style> property_style() const;
295
296   /** Font variant.
297    *
298    * You rarely need to use properties because there are get_ and set_ methods for almost all of them.
299    * @return A PropertyProxy that allows you to get or set the property of the value, or receive notification when
300    * the value of the property changes.
301    */
302   Glib::PropertyProxy<Pango::Variant> property_variant() ;
303
304 /** Font variant.
305    *
306    * You rarely need to use properties because there are get_ and set_ methods for almost all of them.
307    * @return A PropertyProxy that allows you to get or set the property of the value, or receive notification when
308    * the value of the property changes.
309    */
310   Glib::PropertyProxy_ReadOnly<Pango::Variant> property_variant() const;
311
312   /** Font weight.
313    *
314    * You rarely need to use properties because there are get_ and set_ methods for almost all of them.
315    * @return A PropertyProxy that allows you to get or set the property of the value, or receive notification when
316    * the value of the property changes.
317    */
318   Glib::PropertyProxy<int> property_weight() ;
319
320 /** Font weight.
321    *
322    * You rarely need to use properties because there are get_ and set_ methods for almost all of them.
323    * @return A PropertyProxy that allows you to get or set the property of the value, or receive notification when
324    * the value of the property changes.
325    */
326   Glib::PropertyProxy_ReadOnly<int> property_weight() const;
327
328   /** Font stretch.
329    *
330    * You rarely need to use properties because there are get_ and set_ methods for almost all of them.
331    * @return A PropertyProxy that allows you to get or set the property of the value, or receive notification when
332    * the value of the property changes.
333    */
334   Glib::PropertyProxy<Pango::Stretch> property_stretch() ;
335
336 /** Font stretch.
337    *
338    * You rarely need to use properties because there are get_ and set_ methods for almost all of them.
339    * @return A PropertyProxy that allows you to get or set the property of the value, or receive notification when
340    * the value of the property changes.
341    */
342   Glib::PropertyProxy_ReadOnly<Pango::Stretch> property_stretch() const;
343
344   /** Font size.
345    *
346    * You rarely need to use properties because there are get_ and set_ methods for almost all of them.
347    * @return A PropertyProxy that allows you to get or set the property of the value, or receive notification when
348    * the value of the property changes.
349    */
350   Glib::PropertyProxy<int> property_size() ;
351
352 /** Font size.
353    *
354    * You rarely need to use properties because there are get_ and set_ methods for almost all of them.
355    * @return A PropertyProxy that allows you to get or set the property of the value, or receive notification when
356    * the value of the property changes.
357    */
358   Glib::PropertyProxy_ReadOnly<int> property_size() const;
359
360   /** Font size in points.
361    *
362    * You rarely need to use properties because there are get_ and set_ methods for almost all of them.
363    * @return A PropertyProxy that allows you to get or set the property of the value, or receive notification when
364    * the value of the property changes.
365    */
366   Glib::PropertyProxy<double> property_size_points() ;
367
368 /** Font size in points.
369    *
370    * You rarely need to use properties because there are get_ and set_ methods for almost all of them.
371    * @return A PropertyProxy that allows you to get or set the property of the value, or receive notification when
372    * the value of the property changes.
373    */
374   Glib::PropertyProxy_ReadOnly<double> property_size_points() const;
375
376   /** Font scaling factor.
377    *
378    * You rarely need to use properties because there are get_ and set_ methods for almost all of them.
379    * @return A PropertyProxy that allows you to get or set the property of the value, or receive notification when
380    * the value of the property changes.
381    */
382   Glib::PropertyProxy<double> property_scale() ;
383
384 /** Font scaling factor.
385    *
386    * You rarely need to use properties because there are get_ and set_ methods for almost all of them.
387    * @return A PropertyProxy that allows you to get or set the property of the value, or receive notification when
388    * the value of the property changes.
389    */
390   Glib::PropertyProxy_ReadOnly<double> property_scale() const;
391
392   /** Whether the text can be modified by the user.
393    *
394    * You rarely need to use properties because there are get_ and set_ methods for almost all of them.
395    * @return A PropertyProxy that allows you to get or set the property of the value, or receive notification when
396    * the value of the property changes.
397    */
398   Glib::PropertyProxy<bool> property_editable() ;
399
400 /** Whether the text can be modified by the user.
401    *
402    * You rarely need to use properties because there are get_ and set_ methods for almost all of them.
403    * @return A PropertyProxy that allows you to get or set the property of the value, or receive notification when
404    * the value of the property changes.
405    */
406   Glib::PropertyProxy_ReadOnly<bool> property_editable() const;
407
408   /** Whether to strike through the text.
409    *
410    * You rarely need to use properties because there are get_ and set_ methods for almost all of them.
411    * @return A PropertyProxy that allows you to get or set the property of the value, or receive notification when
412    * the value of the property changes.
413    */
414   Glib::PropertyProxy<bool> property_strikethrough() ;
415
416 /** Whether to strike through the text.
417    *
418    * You rarely need to use properties because there are get_ and set_ methods for almost all of them.
419    * @return A PropertyProxy that allows you to get or set the property of the value, or receive notification when
420    * the value of the property changes.
421    */
422   Glib::PropertyProxy_ReadOnly<bool> property_strikethrough() const;
423
424   /** Style of underline for this text.
425    *
426    * You rarely need to use properties because there are get_ and set_ methods for almost all of them.
427    * @return A PropertyProxy that allows you to get or set the property of the value, or receive notification when
428    * the value of the property changes.
429    */
430   Glib::PropertyProxy<Pango::Underline> property_underline() ;
431
432 /** Style of underline for this text.
433    *
434    * You rarely need to use properties because there are get_ and set_ methods for almost all of them.
435    * @return A PropertyProxy that allows you to get or set the property of the value, or receive notification when
436    * the value of the property changes.
437    */
438   Glib::PropertyProxy_ReadOnly<Pango::Underline> property_underline() const;
439
440   /** Offset of text above the baseline (below the baseline if rise is negative).
441    *
442    * You rarely need to use properties because there are get_ and set_ methods for almost all of them.
443    * @return A PropertyProxy that allows you to get or set the property of the value, or receive notification when
444    * the value of the property changes.
445    */
446   Glib::PropertyProxy<int> property_rise() ;
447
448 /** Offset of text above the baseline (below the baseline if rise is negative).
449    *
450    * You rarely need to use properties because there are get_ and set_ methods for almost all of them.
451    * @return A PropertyProxy that allows you to get or set the property of the value, or receive notification when
452    * the value of the property changes.
453    */
454   Glib::PropertyProxy_ReadOnly<int> property_rise() const;
455
456   /** The language this text is in
457    *
458    * You rarely need to use properties because there are get_ and set_ methods for almost all of them.
459    * @return A PropertyProxy that allows you to get or set the property of the value, or receive notification when
460    * the value of the property changes.
461    */
462   Glib::PropertyProxy<Glib::ustring> property_language() ;
463
464 /** The language this text is in
465    *
466    * You rarely need to use properties because there are get_ and set_ methods for almost all of them.
467    * @return A PropertyProxy that allows you to get or set the property of the value, or receive notification when
468    * the value of the property changes.
469    */
470   Glib::PropertyProxy_ReadOnly<Glib::ustring> property_language() const;
471
472   /** The preferred place to ellipsize the string
473    *
474    * You rarely need to use properties because there are get_ and set_ methods for almost all of them.
475    * @return A PropertyProxy that allows you to get or set the property of the value, or receive notification when
476    * the value of the property changes.
477    */
478   Glib::PropertyProxy<bool> property_ellipsize() ;
479
480 /** The preferred place to ellipsize the string
481    *
482    * You rarely need to use properties because there are get_ and set_ methods for almost all of them.
483    * @return A PropertyProxy that allows you to get or set the property of the value, or receive notification when
484    * the value of the property changes.
485    */
486   Glib::PropertyProxy_ReadOnly<bool> property_ellipsize() const;
487
488   /** Whether this tag affects the background color.
489    *
490    * You rarely need to use properties because there are get_ and set_ methods for almost all of them.
491    * @return A PropertyProxy that allows you to get or set the property of the value, or receive notification when
492    * the value of the property changes.
493    */
494   Glib::PropertyProxy<bool> property_background_set() ;
495
496 /** Whether this tag affects the background color.
497    *
498    * You rarely need to use properties because there are get_ and set_ methods for almost all of them.
499    * @return A PropertyProxy that allows you to get or set the property of the value, or receive notification when
500    * the value of the property changes.
501    */
502   Glib::PropertyProxy_ReadOnly<bool> property_background_set() const;
503
504   /** Whether this tag affects the foreground color.
505    *
506    * You rarely need to use properties because there are get_ and set_ methods for almost all of them.
507    * @return A PropertyProxy that allows you to get or set the property of the value, or receive notification when
508    * the value of the property changes.
509    */
510   Glib::PropertyProxy<bool> property_foreground_set() ;
511
512 /** Whether this tag affects the foreground color.
513    *
514    * You rarely need to use properties because there are get_ and set_ methods for almost all of them.
515    * @return A PropertyProxy that allows you to get or set the property of the value, or receive notification when
516    * the value of the property changes.
517    */
518   Glib::PropertyProxy_ReadOnly<bool> property_foreground_set() const;
519
520   /** Whether this tag affects the font family.
521    *
522    * You rarely need to use properties because there are get_ and set_ methods for almost all of them.
523    * @return A PropertyProxy that allows you to get or set the property of the value, or receive notification when
524    * the value of the property changes.
525    */
526   Glib::PropertyProxy<bool> property_family_set() ;
527
528 /** Whether this tag affects the font family.
529    *
530    * You rarely need to use properties because there are get_ and set_ methods for almost all of them.
531    * @return A PropertyProxy that allows you to get or set the property of the value, or receive notification when
532    * the value of the property changes.
533    */
534   Glib::PropertyProxy_ReadOnly<bool> property_family_set() const;
535
536   /** Whether this tag affects the font style.
537    *
538    * You rarely need to use properties because there are get_ and set_ methods for almost all of them.
539    * @return A PropertyProxy that allows you to get or set the property of the value, or receive notification when
540    * the value of the property changes.
541    */
542   Glib::PropertyProxy<bool> property_style_set() ;
543
544 /** Whether this tag affects the font style.
545    *
546    * You rarely need to use properties because there are get_ and set_ methods for almost all of them.
547    * @return A PropertyProxy that allows you to get or set the property of the value, or receive notification when
548    * the value of the property changes.
549    */
550   Glib::PropertyProxy_ReadOnly<bool> property_style_set() const;
551
552   /** Whether this tag affects the font variant.
553    *
554    * You rarely need to use properties because there are get_ and set_ methods for almost all of them.
555    * @return A PropertyProxy that allows you to get or set the property of the value, or receive notification when
556    * the value of the property changes.
557    */
558   Glib::PropertyProxy<bool> property_variant_set() ;
559
560 /** Whether this tag affects the font variant.
561    *
562    * You rarely need to use properties because there are get_ and set_ methods for almost all of them.
563    * @return A PropertyProxy that allows you to get or set the property of the value, or receive notification when
564    * the value of the property changes.
565    */
566   Glib::PropertyProxy_ReadOnly<bool> property_variant_set() const;
567
568   /** Whether this tag affects the font weight.
569    *
570    * You rarely need to use properties because there are get_ and set_ methods for almost all of them.
571    * @return A PropertyProxy that allows you to get or set the property of the value, or receive notification when
572    * the value of the property changes.
573    */
574   Glib::PropertyProxy<bool> property_weight_set() ;
575
576 /** Whether this tag affects the font weight.
577    *
578    * You rarely need to use properties because there are get_ and set_ methods for almost all of them.
579    * @return A PropertyProxy that allows you to get or set the property of the value, or receive notification when
580    * the value of the property changes.
581    */
582   Glib::PropertyProxy_ReadOnly<bool> property_weight_set() const;
583
584   /** Whether this tag affects the font stretch.
585    *
586    * You rarely need to use properties because there are get_ and set_ methods for almost all of them.
587    * @return A PropertyProxy that allows you to get or set the property of the value, or receive notification when
588    * the value of the property changes.
589    */
590   Glib::PropertyProxy<bool> property_stretch_set() ;
591
592 /** Whether this tag affects the font stretch.
593    *
594    * You rarely need to use properties because there are get_ and set_ methods for almost all of them.
595    * @return A PropertyProxy that allows you to get or set the property of the value, or receive notification when
596    * the value of the property changes.
597    */
598   Glib::PropertyProxy_ReadOnly<bool> property_stretch_set() const;
599
600   /** Whether this tag affects the font size.
601    *
602    * You rarely need to use properties because there are get_ and set_ methods for almost all of them.
603    * @return A PropertyProxy that allows you to get or set the property of the value, or receive notification when
604    * the value of the property changes.
605    */
606   Glib::PropertyProxy<bool> property_size_set() ;
607
608 /** Whether this tag affects the font size.
609    *
610    * You rarely need to use properties because there are get_ and set_ methods for almost all of them.
611    * @return A PropertyProxy that allows you to get or set the property of the value, or receive notification when
612    * the value of the property changes.
613    */
614   Glib::PropertyProxy_ReadOnly<bool> property_size_set() const;
615
616   /** Whether this tag scales the font size by a factor.
617    *
618    * You rarely need to use properties because there are get_ and set_ methods for almost all of them.
619    * @return A PropertyProxy that allows you to get or set the property of the value, or receive notification when
620    * the value of the property changes.
621    */
622   Glib::PropertyProxy<bool> property_scale_set() ;
623
624 /** Whether this tag scales the font size by a factor.
625    *
626    * You rarely need to use properties because there are get_ and set_ methods for almost all of them.
627    * @return A PropertyProxy that allows you to get or set the property of the value, or receive notification when
628    * the value of the property changes.
629    */
630   Glib::PropertyProxy_ReadOnly<bool> property_scale_set() const;
631
632   /** Whether this tag affects text editability.
633    *
634    * You rarely need to use properties because there are get_ and set_ methods for almost all of them.
635    * @return A PropertyProxy that allows you to get or set the property of the value, or receive notification when
636    * the value of the property changes.
637    */
638   Glib::PropertyProxy<bool> property_editable_set() ;
639
640 /** Whether this tag affects text editability.
641    *
642    * You rarely need to use properties because there are get_ and set_ methods for almost all of them.
643    * @return A PropertyProxy that allows you to get or set the property of the value, or receive notification when
644    * the value of the property changes.
645    */
646   Glib::PropertyProxy_ReadOnly<bool> property_editable_set() const;
647
648   /** Whether this tag affects strikethrough.
649    *
650    * You rarely need to use properties because there are get_ and set_ methods for almost all of them.
651    * @return A PropertyProxy that allows you to get or set the property of the value, or receive notification when
652    * the value of the property changes.
653    */
654   Glib::PropertyProxy<bool> property_strikethrough_set() ;
655
656 /** Whether this tag affects strikethrough.
657    *
658    * You rarely need to use properties because there are get_ and set_ methods for almost all of them.
659    * @return A PropertyProxy that allows you to get or set the property of the value, or receive notification when
660    * the value of the property changes.
661    */
662   Glib::PropertyProxy_ReadOnly<bool> property_strikethrough_set() const;
663
664   /** Whether this tag affects underlining.
665    *
666    * You rarely need to use properties because there are get_ and set_ methods for almost all of them.
667    * @return A PropertyProxy that allows you to get or set the property of the value, or receive notification when
668    * the value of the property changes.
669    */
670   Glib::PropertyProxy<bool> property_underline_set() ;
671
672 /** Whether this tag affects underlining.
673    *
674    * You rarely need to use properties because there are get_ and set_ methods for almost all of them.
675    * @return A PropertyProxy that allows you to get or set the property of the value, or receive notification when
676    * the value of the property changes.
677    */
678   Glib::PropertyProxy_ReadOnly<bool> property_underline_set() const;
679
680   /** Whether this tag affects the rise.
681    *
682    * You rarely need to use properties because there are get_ and set_ methods for almost all of them.
683    * @return A PropertyProxy that allows you to get or set the property of the value, or receive notification when
684    * the value of the property changes.
685    */
686   Glib::PropertyProxy<bool> property_rise_set() ;
687
688 /** Whether this tag affects the rise.
689    *
690    * You rarely need to use properties because there are get_ and set_ methods for almost all of them.
691    * @return A PropertyProxy that allows you to get or set the property of the value, or receive notification when
692    * the value of the property changes.
693    */
694   Glib::PropertyProxy_ReadOnly<bool> property_rise_set() const;
695
696   /** Whether this tag affects the language the text is rendered as.
697    *
698    * You rarely need to use properties because there are get_ and set_ methods for almost all of them.
699    * @return A PropertyProxy that allows you to get or set the property of the value, or receive notification when
700    * the value of the property changes.
701    */
702   Glib::PropertyProxy<bool> property_language_set() ;
703
704 /** Whether this tag affects the language the text is rendered as.
705    *
706    * You rarely need to use properties because there are get_ and set_ methods for almost all of them.
707    * @return A PropertyProxy that allows you to get or set the property of the value, or receive notification when
708    * the value of the property changes.
709    */
710   Glib::PropertyProxy_ReadOnly<bool> property_language_set() const;
711
712   /** Whether this tag affects the ellipsize mode.
713    *
714    * You rarely need to use properties because there are get_ and set_ methods for almost all of them.
715    * @return A PropertyProxy that allows you to get or set the property of the value, or receive notification when
716    * the value of the property changes.
717    */
718   Glib::PropertyProxy<bool> property_ellipsize_set() ;
719
720 /** Whether this tag affects the ellipsize mode.
721    *
722    * You rarely need to use properties because there are get_ and set_ methods for almost all of them.
723    * @return A PropertyProxy that allows you to get or set the property of the value, or receive notification when
724    * the value of the property changes.
725    */
726   Glib::PropertyProxy_ReadOnly<bool> property_ellipsize_set() const;
727
728   /** Whether or not to keep all text in a single paragraph.
729    *
730    * You rarely need to use properties because there are get_ and set_ methods for almost all of them.
731    * @return A PropertyProxy that allows you to get or set the property of the value, or receive notification when
732    * the value of the property changes.
733    */
734   Glib::PropertyProxy<bool> property_single_paragraph_mode() ;
735
736 /** Whether or not to keep all text in a single paragraph.
737    *
738    * You rarely need to use properties because there are get_ and set_ methods for almost all of them.
739    * @return A PropertyProxy that allows you to get or set the property of the value, or receive notification when
740    * the value of the property changes.
741    */
742   Glib::PropertyProxy_ReadOnly<bool> property_single_paragraph_mode() const;
743
744   
745   virtual Glib::PropertyProxy_Base _property_renderable(); //override
746
747 protected:
748   /** Emits the "edited" signal.
749    * This is useful when implementing custom CellRenderers.
750    */
751   void edited(const Glib::ustring& path, const Glib::ustring& new_text);
752
753
754 };
755
756 } // namespace Gtk
757
758
759 namespace Glib
760 {
761   /** @relates Gtk::CellRendererText
762    * @param object The C instance
763    * @param take_copy False if the result should take ownership of the C instance. True if it should take a new copy or ref.
764    * @result A C++ instance that wraps this C instance.
765    */
766   Gtk::CellRendererText* wrap(GtkCellRendererText* object, bool take_copy = false);
767 }
768 #endif /* _GTKMM_CELLRENDERERTEXT_H */
769