Ardour  9.0-pre0-386-g96ef4d20f2
cellrenderertext.h
Go to the documentation of this file.
1 // -*- c++ -*-
2 // Generated by gmmproc 2.45.3 -- DO NOT MODIFY!
3 #ifndef _GTKMM_CELLRENDERERTEXT_H
4 #define _GTKMM_CELLRENDERERTEXT_H
5 
6 
7 #include <glibmm/ustring.h>
8 #include <sigc++/sigc++.h>
9 
10 /* $Id: cellrenderertext.hg,v 1.7 2006/05/10 20:59:27 murrayc Exp $ */
11 
12 /* Copyright (C) 1998-2002 The gtkmm Development Team
13  *
14  * This library is free software; you can redistribute it and/or
15  * modify it under the terms of the GNU Lesser General Public
16  * License as published by the Free Software Foundation; either
17  * version 2.1 of the License, or (at your option) any later version.
18  *
19  * This library is distributed in the hope that it will be useful,
20  * but WITHOUT ANY WARRANTY; without even the implied warranty of
21  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
22  * Lesser General Public License for more details.
23  *
24  * You should have received a copy of the GNU Lesser General Public
25  * License along with this library; if not, write to the Free
26  * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
27  */
28 
29 #include <gtkmm/cellrenderer.h>
30 #include <pangomm/attrlist.h>
31 #include <pangomm/fontdescription.h>
32 
33 
34 #ifndef DOXYGEN_SHOULD_SKIP_THIS
37 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
38 
39 
40 namespace Gtk
41 { class CellRendererText_Class; } // namespace Gtk
42 namespace Gtk
43 {
44 
51 {
52  public:
53 #ifndef DOXYGEN_SHOULD_SKIP_THIS
54  typedef CellRendererText CppObjectType;
55  typedef CellRendererText_Class CppClassType;
56  typedef GtkCellRendererText BaseObjectType;
57  typedef GtkCellRendererTextClass BaseClassType;
58 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
59 
60  virtual ~CellRendererText();
61 
62 #ifndef DOXYGEN_SHOULD_SKIP_THIS
63 
64 private:
65  friend class CellRendererText_Class;
66  static CppClassType cellrenderertext_class_;
67 
68  // noncopyable
70  CellRendererText& operator=(const CellRendererText&);
71 
72 protected:
73  explicit CellRendererText(const Glib::ConstructParams& construct_params);
74  explicit CellRendererText(GtkCellRendererText* castitem);
75 
76 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
77 
78 public:
79 #ifndef DOXYGEN_SHOULD_SKIP_THIS
80  static GType get_type() G_GNUC_CONST;
81 
82 
83  static GType get_base_type() G_GNUC_CONST;
84 #endif
85 
87  GtkCellRendererText* gobj() { return reinterpret_cast<GtkCellRendererText*>(gobject_); }
88 
90  const GtkCellRendererText* gobj() const { return reinterpret_cast<GtkCellRendererText*>(gobject_); }
91 
92 
93 public:
94  //C++ methods used to invoke GTK+ virtual functions:
95 
96 protected:
97  //GTK+ Virtual Functions (override these to change behaviour):
98 
99  //Default Signal Handlers::
101  virtual void on_edited(const Glib::ustring& path, const Glib::ustring& new_text);
102 
103 
104 private:
105 
106 public:
108 
109 
120  void set_fixed_height_from_font(int number_of_rows);
121 
122 
129  Glib::SignalProxy2< void,const Glib::ustring&,const Glib::ustring& > signal_edited();
130 
131 
137  Glib::PropertyProxy< Glib::ustring > property_text() ;
138 
144  Glib::PropertyProxy_ReadOnly< Glib::ustring > property_text() const;
145 
151  Glib::PropertyProxy_WriteOnly< Glib::ustring > property_markup() ;
152 
153 
159  Glib::PropertyProxy< Pango::AttrList > property_attributes() ;
160 
166  Glib::PropertyProxy_ReadOnly< Pango::AttrList > property_attributes() const;
167 
173  Glib::PropertyProxy_WriteOnly< Glib::ustring > property_background() ;
174 
175 
181  Glib::PropertyProxy_WriteOnly< Glib::ustring > property_foreground() ;
182 
183 
189  Glib::PropertyProxy< Gdk::Color > property_background_gdk() ;
190 
196  Glib::PropertyProxy_ReadOnly< Gdk::Color > property_background_gdk() const;
197 
203  Glib::PropertyProxy< Gdk::Color > property_foreground_gdk() ;
204 
210  Glib::PropertyProxy_ReadOnly< Gdk::Color > property_foreground_gdk() const;
211 
217  Glib::PropertyProxy< Glib::ustring > property_font() ;
218 
224  Glib::PropertyProxy_ReadOnly< Glib::ustring > property_font() const;
225 
231  Glib::PropertyProxy< Pango::FontDescription > property_font_desc() ;
232 
238  Glib::PropertyProxy_ReadOnly< Pango::FontDescription > property_font_desc() const;
239 
245  Glib::PropertyProxy< Glib::ustring > property_family() ;
246 
252  Glib::PropertyProxy_ReadOnly< Glib::ustring > property_family() const;
253 
259  Glib::PropertyProxy< Pango::Style > property_style() ;
260 
266  Glib::PropertyProxy_ReadOnly< Pango::Style > property_style() const;
267 
273  Glib::PropertyProxy< Pango::Variant > property_variant() ;
274 
280  Glib::PropertyProxy_ReadOnly< Pango::Variant > property_variant() const;
281 
287  Glib::PropertyProxy< int > property_weight() ;
288 
294  Glib::PropertyProxy_ReadOnly< int > property_weight() const;
295 
301  Glib::PropertyProxy< Pango::Stretch > property_stretch() ;
302 
308  Glib::PropertyProxy_ReadOnly< Pango::Stretch > property_stretch() const;
309 
315  Glib::PropertyProxy< int > property_size() ;
316 
322  Glib::PropertyProxy_ReadOnly< int > property_size() const;
323 
329  Glib::PropertyProxy< double > property_size_points() ;
330 
336  Glib::PropertyProxy_ReadOnly< double > property_size_points() const;
337 
343  Glib::PropertyProxy< double > property_scale() ;
344 
350  Glib::PropertyProxy_ReadOnly< double > property_scale() const;
351 
357  Glib::PropertyProxy< bool > property_editable() ;
358 
364  Glib::PropertyProxy_ReadOnly< bool > property_editable() const;
365 
371  Glib::PropertyProxy< bool > property_strikethrough() ;
372 
378  Glib::PropertyProxy_ReadOnly< bool > property_strikethrough() const;
379 
385  Glib::PropertyProxy< Pango::Underline > property_underline() ;
386 
392  Glib::PropertyProxy_ReadOnly< Pango::Underline > property_underline() const;
393 
399  Glib::PropertyProxy< int > property_rise() ;
400 
406  Glib::PropertyProxy_ReadOnly< int > property_rise() const;
407 
413  Glib::PropertyProxy< Glib::ustring > property_language() ;
414 
420  Glib::PropertyProxy_ReadOnly< Glib::ustring > property_language() const;
421 
427  Glib::PropertyProxy< Pango::EllipsizeMode > property_ellipsize() ;
428 
434  Glib::PropertyProxy_ReadOnly< Pango::EllipsizeMode > property_ellipsize() const;
435 
441  Glib::PropertyProxy< int > property_width_chars() ;
442 
448  Glib::PropertyProxy_ReadOnly< int > property_width_chars() const;
449 
455  Glib::PropertyProxy< Pango::WrapMode > property_wrap_mode() ;
456 
462  Glib::PropertyProxy_ReadOnly< Pango::WrapMode > property_wrap_mode() const;
463 
469  Glib::PropertyProxy< int > property_wrap_width() ;
470 
476  Glib::PropertyProxy_ReadOnly< int > property_wrap_width() const;
477 
483  Glib::PropertyProxy< Pango::Alignment > property_alignment() ;
484 
490  Glib::PropertyProxy_ReadOnly< Pango::Alignment > property_alignment() const;
491 
497  Glib::PropertyProxy< bool > property_background_set() ;
498 
504  Glib::PropertyProxy_ReadOnly< bool > property_background_set() const;
505 
511  Glib::PropertyProxy< bool > property_foreground_set() ;
512 
518  Glib::PropertyProxy_ReadOnly< bool > property_foreground_set() const;
519 
525  Glib::PropertyProxy< bool > property_family_set() ;
526 
532  Glib::PropertyProxy_ReadOnly< bool > property_family_set() const;
533 
539  Glib::PropertyProxy< bool > property_style_set() ;
540 
546  Glib::PropertyProxy_ReadOnly< bool > property_style_set() const;
547 
553  Glib::PropertyProxy< bool > property_variant_set() ;
554 
560  Glib::PropertyProxy_ReadOnly< bool > property_variant_set() const;
561 
567  Glib::PropertyProxy< bool > property_weight_set() ;
568 
574  Glib::PropertyProxy_ReadOnly< bool > property_weight_set() const;
575 
581  Glib::PropertyProxy< bool > property_stretch_set() ;
582 
588  Glib::PropertyProxy_ReadOnly< bool > property_stretch_set() const;
589 
595  Glib::PropertyProxy< bool > property_size_set() ;
596 
602  Glib::PropertyProxy_ReadOnly< bool > property_size_set() const;
603 
609  Glib::PropertyProxy< bool > property_scale_set() ;
610 
616  Glib::PropertyProxy_ReadOnly< bool > property_scale_set() const;
617 
623  Glib::PropertyProxy< bool > property_editable_set() ;
624 
630  Glib::PropertyProxy_ReadOnly< bool > property_editable_set() const;
631 
637  Glib::PropertyProxy< bool > property_strikethrough_set() ;
638 
644  Glib::PropertyProxy_ReadOnly< bool > property_strikethrough_set() const;
645 
651  Glib::PropertyProxy< bool > property_underline_set() ;
652 
658  Glib::PropertyProxy_ReadOnly< bool > property_underline_set() const;
659 
665  Glib::PropertyProxy< bool > property_rise_set() ;
666 
672  Glib::PropertyProxy_ReadOnly< bool > property_rise_set() const;
673 
679  Glib::PropertyProxy< bool > property_language_set() ;
680 
686  Glib::PropertyProxy_ReadOnly< bool > property_language_set() const;
687 
693  Glib::PropertyProxy< bool > property_ellipsize_set() ;
694 
700  Glib::PropertyProxy_ReadOnly< bool > property_ellipsize_set() const;
701 
707  Glib::PropertyProxy< bool > property_single_paragraph_mode() ;
708 
714  Glib::PropertyProxy_ReadOnly< bool > property_single_paragraph_mode() const;
715 
716 
717  virtual Glib::PropertyProxy_Base _property_renderable();
718 
719 protected:
723  void edited(const Glib::ustring& path, const Glib::ustring& new_text);
724 
725 
726 };
727 
728 } // namespace Gtk
729 
730 
731 namespace Glib
732 {
741  Gtk::CellRendererText* wrap(GtkCellRendererText* object, bool take_copy = false);
742 } //namespace Glib
743 
744 
745 #endif /* _GTKMM_CELLRENDERERTEXT_H */
746 
Glib::PropertyProxy< double > property_scale()
Gtk::CellRendererText * wrap(GtkCellRendererText *object, bool take_copy=false)
Glib::PropertyProxy_ReadOnly< double > property_scale() const
Glib::PropertyProxy_ReadOnly< bool > property_editable() const
Glib::PropertyProxy< Gdk::Color > property_foreground_gdk()
Glib::PropertyProxy_ReadOnly< int > property_rise() const
Glib::PropertyProxy< int > property_width_chars()
Glib::PropertyProxy_ReadOnly< Pango::Alignment > property_alignment() const
virtual void on_edited(const Glib::ustring &path, const Glib::ustring &new_text)
This is a default handler for the signal signal_edited().
Glib::PropertyProxy_ReadOnly< Glib::ustring > property_font() const
Glib::PropertyProxy< Glib::ustring > property_text()
Glib::PropertyProxy_ReadOnly< bool > property_language_set() const
Glib::PropertyProxy_ReadOnly< Glib::ustring > property_family() const
Glib::PropertyProxy_WriteOnly< Glib::ustring > property_background()
Glib::PropertyProxy_WriteOnly< Glib::ustring > property_markup()
Glib::PropertyProxy< bool > property_size_set()
Glib::PropertyProxy_ReadOnly< Pango::Underline > property_underline() const
Glib::PropertyProxy< Glib::ustring > property_family()
Glib::PropertyProxy_ReadOnly< int > property_wrap_width() const
Glib::PropertyProxy< Pango::Variant > property_variant()
Glib::PropertyProxy< bool > property_foreground_set()
Glib::PropertyProxy< int > property_weight()
Glib::PropertyProxy_ReadOnly< bool > property_strikethrough() const
Glib::PropertyProxy_ReadOnly< Glib::ustring > property_language() const
Glib::PropertyProxy< bool > property_style_set()
Glib::PropertyProxy_ReadOnly< Pango::Stretch > property_stretch() const
Glib::PropertyProxy< Pango::Alignment > property_alignment()
Glib::PropertyProxy_ReadOnly< bool > property_underline_set() const
Glib::PropertyProxy< bool > property_scale_set()
Glib::PropertyProxy< Pango::Stretch > property_stretch()
Glib::PropertyProxy_ReadOnly< bool > property_background_set() const
Glib::PropertyProxy< bool > property_stretch_set()
Glib::PropertyProxy< Glib::ustring > property_font()
GtkCellRendererText * gobj()
Provides access to the underlying C GtkObject.
Glib::PropertyProxy_ReadOnly< Gdk::Color > property_foreground_gdk() const
Glib::PropertyProxy_ReadOnly< bool > property_scale_set() const
Glib::PropertyProxy< int > property_rise()
Glib::PropertyProxy< bool > property_variant_set()
Glib::PropertyProxy_ReadOnly< Glib::ustring > property_text() const
Glib::PropertyProxy< bool > property_strikethrough_set()
Glib::PropertyProxy_ReadOnly< bool > property_ellipsize_set() const
Glib::PropertyProxy_ReadOnly< bool > property_stretch_set() const
Glib::PropertyProxy< bool > property_editable()
Glib::PropertyProxy_ReadOnly< bool > property_editable_set() const
Glib::PropertyProxy_ReadOnly< bool > property_single_paragraph_mode() const
Glib::PropertyProxy< bool > property_underline_set()
void set_fixed_height_from_font(int number_of_rows)
Glib::PropertyProxy< bool > property_family_set()
Glib::PropertyProxy< bool > property_language_set()
Glib::PropertyProxy_ReadOnly< int > property_size() const
Glib::PropertyProxy< Pango::WrapMode > property_wrap_mode()
Glib::PropertyProxy_ReadOnly< bool > property_weight_set() const
Glib::PropertyProxy_ReadOnly< int > property_weight() const
Glib::PropertyProxy_ReadOnly< Pango::EllipsizeMode > property_ellipsize() const
Glib::PropertyProxy_ReadOnly< Pango::AttrList > property_attributes() const
Glib::PropertyProxy< int > property_wrap_width()
Glib::PropertyProxy< int > property_size()
const GtkCellRendererText * gobj() const
Provides access to the underlying C GtkObject.
Glib::PropertyProxy_ReadOnly< bool > property_style_set() const
Glib::PropertyProxy< bool > property_editable_set()
Glib::PropertyProxy< bool > property_weight_set()
Glib::PropertyProxy< double > property_size_points()
virtual Glib::PropertyProxy_Base _property_renderable()
Glib::PropertyProxy< bool > property_ellipsize_set()
virtual ~CellRendererText()
Glib::PropertyProxy< bool > property_single_paragraph_mode()
Glib::PropertyProxy_ReadOnly< Pango::Variant > property_variant() const
Glib::PropertyProxy_ReadOnly< bool > property_family_set() const
Glib::PropertyProxy< bool > property_rise_set()
Glib::PropertyProxy< bool > property_background_set()
Glib::PropertyProxy< Glib::ustring > property_language()
Glib::PropertyProxy_ReadOnly< Pango::FontDescription > property_font_desc() const
Glib::PropertyProxy< Pango::Underline > property_underline()
Glib::SignalProxy2< void, const Glib::ustring &, const Glib::ustring & > signal_edited()
Glib::PropertyProxy_ReadOnly< double > property_size_points() const
Glib::PropertyProxy_ReadOnly< bool > property_variant_set() const
Glib::PropertyProxy< Pango::EllipsizeMode > property_ellipsize()
Glib::PropertyProxy_ReadOnly< Pango::WrapMode > property_wrap_mode() const
Glib::PropertyProxy_ReadOnly< bool > property_size_set() const
Glib::PropertyProxy_ReadOnly< int > property_width_chars() const
Glib::PropertyProxy< Gdk::Color > property_background_gdk()
Glib::PropertyProxy_ReadOnly< Gdk::Color > property_background_gdk() const
Glib::PropertyProxy< bool > property_strikethrough()
Glib::PropertyProxy< Pango::AttrList > property_attributes()
Glib::PropertyProxy_ReadOnly< bool > property_foreground_set() const
Glib::PropertyProxy_ReadOnly< bool > property_rise_set() const
Glib::PropertyProxy_WriteOnly< Glib::ustring > property_foreground()
void edited(const Glib::ustring &path, const Glib::ustring &new_text)
Glib::PropertyProxy_ReadOnly< bool > property_strikethrough_set() const
Glib::PropertyProxy_ReadOnly< Pango::Style > property_style() const
Glib::PropertyProxy< Pango::FontDescription > property_font_desc()
Glib::PropertyProxy< Pango::Style > property_style()
Definition: ardour_ui.h:187