3 #ifndef _LIBGNOMECANVASMM_TEXT_H
4 #define _LIBGNOMECANVASMM_TEXT_H
34 #include <pangomm/attrlist.h>
35 #include <gtkmm/enums.h>
36 #include <libgnomecanvas/gnome-canvas-text.h>
39 #ifndef DOXYGEN_SHOULD_SKIP_THIS
40 typedef struct _GnomeCanvasText GnomeCanvasText;
41 typedef struct _GnomeCanvasTextClass GnomeCanvasTextClass;
64 #ifndef DOXYGEN_SHOULD_SKIP_THIS
65 typedef Text CppObjectType;
66 typedef Text_Class CppClassType;
67 typedef GnomeCanvasText BaseObjectType;
68 typedef GnomeCanvasTextClass BaseClassType;
73 #ifndef DOXYGEN_SHOULD_SKIP_THIS
76 friend class Text_Class;
77 static CppClassType text_class_;
84 explicit Text(
const Glib::ConstructParams& construct_params);
85 explicit Text(GnomeCanvasText* castitem);
90 #ifndef DOXYGEN_SHOULD_SKIP_THIS
91 static GType get_type() G_GNUC_CONST;
92 static GType get_base_type() G_GNUC_CONST;
96 GnomeCanvasText*
gobj() {
return reinterpret_cast<GnomeCanvasText*
>(gobject_); }
99 const GnomeCanvasText*
gobj()
const {
return reinterpret_cast<GnomeCanvasText*
>(gobject_); }
104 #ifdef GLIBMM_VFUNCS_ENABLED
105 #endif //GLIBMM_VFUNCS_ENABLED
109 #ifdef GLIBMM_VFUNCS_ENABLED
110 #endif //GLIBMM_VFUNCS_ENABLED
113 #ifdef GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED
114 #endif //GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED
120 Text(
Group& parent,
double x,
double y,
const Glib::ustring& text);
123 #ifdef GLIBMM_PROPERTIES_ENABLED
131 #endif //#GLIBMM_PROPERTIES_ENABLED
133 #ifdef GLIBMM_PROPERTIES_ENABLED
140 Glib::PropertyProxy_ReadOnly<Glib::ustring>
property_text()
const;
141 #endif //#GLIBMM_PROPERTIES_ENABLED
143 #ifdef GLIBMM_PROPERTIES_ENABLED
151 #endif //#GLIBMM_PROPERTIES_ENABLED
154 #ifdef GLIBMM_PROPERTIES_ENABLED
162 #endif //#GLIBMM_PROPERTIES_ENABLED
164 #ifdef GLIBMM_PROPERTIES_ENABLED
171 Glib::PropertyProxy_ReadOnly<double>
property_x()
const;
172 #endif //#GLIBMM_PROPERTIES_ENABLED
174 #ifdef GLIBMM_PROPERTIES_ENABLED
182 #endif //#GLIBMM_PROPERTIES_ENABLED
184 #ifdef GLIBMM_PROPERTIES_ENABLED
191 Glib::PropertyProxy_ReadOnly<double>
property_y()
const;
192 #endif //#GLIBMM_PROPERTIES_ENABLED
194 #ifdef GLIBMM_PROPERTIES_ENABLED
202 #endif //#GLIBMM_PROPERTIES_ENABLED
204 #ifdef GLIBMM_PROPERTIES_ENABLED
211 Glib::PropertyProxy_ReadOnly<Glib::ustring>
property_font()
const;
212 #endif //#GLIBMM_PROPERTIES_ENABLED
214 #ifdef GLIBMM_PROPERTIES_ENABLED
222 #endif //#GLIBMM_PROPERTIES_ENABLED
224 #ifdef GLIBMM_PROPERTIES_ENABLED
232 #endif //#GLIBMM_PROPERTIES_ENABLED
234 #ifdef GLIBMM_PROPERTIES_ENABLED
242 #endif //#GLIBMM_PROPERTIES_ENABLED
244 #ifdef GLIBMM_PROPERTIES_ENABLED
252 #endif //#GLIBMM_PROPERTIES_ENABLED
254 #ifdef GLIBMM_PROPERTIES_ENABLED
262 #endif //#GLIBMM_PROPERTIES_ENABLED
264 #ifdef GLIBMM_PROPERTIES_ENABLED
272 #endif //#GLIBMM_PROPERTIES_ENABLED
274 #ifdef GLIBMM_PROPERTIES_ENABLED
282 #endif //#GLIBMM_PROPERTIES_ENABLED
284 #ifdef GLIBMM_PROPERTIES_ENABLED
292 #endif //#GLIBMM_PROPERTIES_ENABLED
294 #ifdef GLIBMM_PROPERTIES_ENABLED
302 #endif //#GLIBMM_PROPERTIES_ENABLED
304 #ifdef GLIBMM_PROPERTIES_ENABLED
311 Glib::PropertyProxy_ReadOnly<Pango::Style>
property_style()
const;
312 #endif //#GLIBMM_PROPERTIES_ENABLED
314 #ifdef GLIBMM_PROPERTIES_ENABLED
322 #endif //#GLIBMM_PROPERTIES_ENABLED
324 #ifdef GLIBMM_PROPERTIES_ENABLED
332 #endif //#GLIBMM_PROPERTIES_ENABLED
334 #ifdef GLIBMM_PROPERTIES_ENABLED
342 #endif //#GLIBMM_PROPERTIES_ENABLED
344 #ifdef GLIBMM_PROPERTIES_ENABLED
352 #endif //#GLIBMM_PROPERTIES_ENABLED
354 #ifdef GLIBMM_PROPERTIES_ENABLED
362 #endif //#GLIBMM_PROPERTIES_ENABLED
364 #ifdef GLIBMM_PROPERTIES_ENABLED
372 #endif //#GLIBMM_PROPERTIES_ENABLED
374 #ifdef GLIBMM_PROPERTIES_ENABLED
382 #endif //#GLIBMM_PROPERTIES_ENABLED
384 #ifdef GLIBMM_PROPERTIES_ENABLED
392 #endif //#GLIBMM_PROPERTIES_ENABLED
394 #ifdef GLIBMM_PROPERTIES_ENABLED
402 #endif //#GLIBMM_PROPERTIES_ENABLED
404 #ifdef GLIBMM_PROPERTIES_ENABLED
412 #endif //#GLIBMM_PROPERTIES_ENABLED
414 #ifdef GLIBMM_PROPERTIES_ENABLED
422 #endif //#GLIBMM_PROPERTIES_ENABLED
424 #ifdef GLIBMM_PROPERTIES_ENABLED
432 #endif //#GLIBMM_PROPERTIES_ENABLED
434 #ifdef GLIBMM_PROPERTIES_ENABLED
442 #endif //#GLIBMM_PROPERTIES_ENABLED
444 #ifdef GLIBMM_PROPERTIES_ENABLED
452 #endif //#GLIBMM_PROPERTIES_ENABLED
454 #ifdef GLIBMM_PROPERTIES_ENABLED
462 #endif //#GLIBMM_PROPERTIES_ENABLED
464 #ifdef GLIBMM_PROPERTIES_ENABLED
472 #endif //#GLIBMM_PROPERTIES_ENABLED
474 #ifdef GLIBMM_PROPERTIES_ENABLED
482 #endif //#GLIBMM_PROPERTIES_ENABLED
484 #ifdef GLIBMM_PROPERTIES_ENABLED
492 #endif //#GLIBMM_PROPERTIES_ENABLED
494 #ifdef GLIBMM_PROPERTIES_ENABLED
502 #endif //#GLIBMM_PROPERTIES_ENABLED
504 #ifdef GLIBMM_PROPERTIES_ENABLED
512 #endif //#GLIBMM_PROPERTIES_ENABLED
514 #ifdef GLIBMM_PROPERTIES_ENABLED
522 #endif //#GLIBMM_PROPERTIES_ENABLED
524 #ifdef GLIBMM_PROPERTIES_ENABLED
532 #endif //#GLIBMM_PROPERTIES_ENABLED
534 #ifdef GLIBMM_PROPERTIES_ENABLED
542 #endif //#GLIBMM_PROPERTIES_ENABLED
544 #ifdef GLIBMM_PROPERTIES_ENABLED
552 #endif //#GLIBMM_PROPERTIES_ENABLED
554 #ifdef GLIBMM_PROPERTIES_ENABLED
562 #endif //#GLIBMM_PROPERTIES_ENABLED
564 #ifdef GLIBMM_PROPERTIES_ENABLED
572 #endif //#GLIBMM_PROPERTIES_ENABLED
574 #ifdef GLIBMM_PROPERTIES_ENABLED
582 #endif //#GLIBMM_PROPERTIES_ENABLED
584 #ifdef GLIBMM_PROPERTIES_ENABLED
592 #endif //#GLIBMM_PROPERTIES_ENABLED
594 #ifdef GLIBMM_PROPERTIES_ENABLED
602 #endif //#GLIBMM_PROPERTIES_ENABLED
604 #ifdef GLIBMM_PROPERTIES_ENABLED
612 #endif //#GLIBMM_PROPERTIES_ENABLED
614 #ifdef GLIBMM_PROPERTIES_ENABLED
622 #endif //#GLIBMM_PROPERTIES_ENABLED
624 #ifdef GLIBMM_PROPERTIES_ENABLED
632 #endif //#GLIBMM_PROPERTIES_ENABLED
634 #ifdef GLIBMM_PROPERTIES_ENABLED
642 #endif //#GLIBMM_PROPERTIES_ENABLED
644 #ifdef GLIBMM_PROPERTIES_ENABLED
652 #endif //#GLIBMM_PROPERTIES_ENABLED
654 #ifdef GLIBMM_PROPERTIES_ENABLED
662 #endif //#GLIBMM_PROPERTIES_ENABLED
664 #ifdef GLIBMM_PROPERTIES_ENABLED
672 #endif //#GLIBMM_PROPERTIES_ENABLED
674 #ifdef GLIBMM_PROPERTIES_ENABLED
682 #endif //#GLIBMM_PROPERTIES_ENABLED
684 #ifdef GLIBMM_PROPERTIES_ENABLED
692 #endif //#GLIBMM_PROPERTIES_ENABLED
694 #ifdef GLIBMM_PROPERTIES_ENABLED
702 #endif //#GLIBMM_PROPERTIES_ENABLED
704 #ifdef GLIBMM_PROPERTIES_ENABLED
712 #endif //#GLIBMM_PROPERTIES_ENABLED
714 #ifdef GLIBMM_PROPERTIES_ENABLED
722 #endif //#GLIBMM_PROPERTIES_ENABLED
724 #ifdef GLIBMM_PROPERTIES_ENABLED
732 #endif //#GLIBMM_PROPERTIES_ENABLED
734 #ifdef GLIBMM_PROPERTIES_ENABLED
742 #endif //#GLIBMM_PROPERTIES_ENABLED
744 #ifdef GLIBMM_PROPERTIES_ENABLED
752 #endif //#GLIBMM_PROPERTIES_ENABLED
754 #ifdef GLIBMM_PROPERTIES_ENABLED
762 #endif //#GLIBMM_PROPERTIES_ENABLED
764 #ifdef GLIBMM_PROPERTIES_ENABLED
772 #endif //#GLIBMM_PROPERTIES_ENABLED
774 #ifdef GLIBMM_PROPERTIES_ENABLED
782 #endif //#GLIBMM_PROPERTIES_ENABLED
784 #ifdef GLIBMM_PROPERTIES_ENABLED
792 #endif //#GLIBMM_PROPERTIES_ENABLED
794 #ifdef GLIBMM_PROPERTIES_ENABLED
802 #endif //#GLIBMM_PROPERTIES_ENABLED
804 #ifdef GLIBMM_PROPERTIES_ENABLED
812 #endif //#GLIBMM_PROPERTIES_ENABLED
814 #ifdef GLIBMM_PROPERTIES_ENABLED
822 #endif //#GLIBMM_PROPERTIES_ENABLED
824 #ifdef GLIBMM_PROPERTIES_ENABLED
832 #endif //#GLIBMM_PROPERTIES_ENABLED
834 #ifdef GLIBMM_PROPERTIES_ENABLED
842 #endif //#GLIBMM_PROPERTIES_ENABLED
844 #ifdef GLIBMM_PROPERTIES_ENABLED
852 #endif //#GLIBMM_PROPERTIES_ENABLED
854 #ifdef GLIBMM_PROPERTIES_ENABLED
862 #endif //#GLIBMM_PROPERTIES_ENABLED
864 #ifdef GLIBMM_PROPERTIES_ENABLED
872 #endif //#GLIBMM_PROPERTIES_ENABLED
874 #ifdef GLIBMM_PROPERTIES_ENABLED
882 #endif //#GLIBMM_PROPERTIES_ENABLED
884 #ifdef GLIBMM_PROPERTIES_ENABLED
892 #endif //#GLIBMM_PROPERTIES_ENABLED
894 #ifdef GLIBMM_PROPERTIES_ENABLED
902 #endif //#GLIBMM_PROPERTIES_ENABLED
904 #ifdef GLIBMM_PROPERTIES_ENABLED
912 #endif //#GLIBMM_PROPERTIES_ENABLED
914 #ifdef GLIBMM_PROPERTIES_ENABLED
922 #endif //#GLIBMM_PROPERTIES_ENABLED
924 #ifdef GLIBMM_PROPERTIES_ENABLED
932 #endif //#GLIBMM_PROPERTIES_ENABLED
Glib::PropertyProxy< bool > property_underline_set()
Whether this tag affects underlining.
Glib::PropertyProxy< Glib::ustring > property_font()
Font description as a string.
Glib::PropertyProxy< Gdk::Color > property_fill_color_gdk()
Text color.
Text(Group &parent, double x, double y, const Glib::ustring &text)
const GnomeCanvasText * gobj() const
Provides access to the underlying C GtkObject.
Definition: text.h:99
Glib::PropertyProxy< double > property_clip_width()
You rarely need to use properties because there are get_ and set_ methods for almost all of them...
Glib::PropertyProxy< Glib::ustring > property_family()
Name of the font family.
Glib::PropertyProxy_WriteOnly< Glib::ustring > property_markup()
Marked up text to render.
Definition: affinetrans.h:29
Glib::PropertyProxy< Glib::ustring > property_text()
Text to render.
Glib::PropertyProxy< bool > property_size_set()
Whether this tag affects the font size.
Glib::PropertyProxy< bool > property_style_set()
Whether this tag affects the font style.
Glib::PropertyProxy< guint > property_fill_color_rgba()
Text color.
Glib::PropertyProxy< int > property_weight()
Font weight.
Glib::PropertyProxy< Pango::Style > property_style()
Font style.
Glib::PropertyProxy< int > property_rise()
Offset of text above the baseline (below the baseline if rise is negative).
Glib::PropertyProxy< bool > property_scale_set()
Whether this tag affects font scaling.
Glib::PropertyProxy< bool > property_clip()
You rarely need to use properties because there are get_ and set_ methods for almost all of them...
Glib::PropertyProxy< Pango::Variant > property_variant()
Font variant.
Glib::PropertyProxy< Pango::Underline > property_underline()
Style of underline for this text.
Glib::PropertyProxy< double > property_text_width()
Width of the rendered text.
Glib::PropertyProxy< bool > property_variant_set()
Whether this tag affects the font variant.
Glib::PropertyProxy< double > property_text_height()
Height of the rendered text.
Glib::PropertyProxy< int > property_size()
Font size.
Glib::PropertyProxy< Glib::RefPtr< Gdk::Bitmap > > property_fill_stipple()
You rarely need to use properties because there are get_ and set_ methods for almost all of them...
Glib::PropertyProxy< Glib::ustring > property_fill_color()
Text color.
GnomeCanvasText * gobj()
Provides access to the underlying C GtkObject.
Definition: text.h:96
Glib::PropertyProxy< bool > property_weight_set()
Whether this tag affects the font weight.
Glib::PropertyProxy< bool > property_rise_set()
Whether this tag affects the rise.
Glib::PropertyProxy< double > property_size_points()
Font size in points.
Glib::PropertyProxy< double > property_x()
You rarely need to use properties because there are get_ and set_ methods for almost all of them...
Glib::PropertyProxy< Pango::FontDescription > property_font_desc()
Font description as a PangoFontDescription struct.
Glib::PropertyProxy< bool > property_strikethrough()
Whether to strike through the text.
Glib::PropertyProxy< bool > property_family_set()
Whether this tag affects the font family.
Glib::PropertyProxy< Gtk::AnchorType > property_anchor()
You rarely need to use properties because there are get_ and set_ methods for almost all of them...
Glib::PropertyProxy< double > property_y()
You rarely need to use properties because there are get_ and set_ methods for almost all of them...
Glib::PropertyProxy< double > property_clip_height()
You rarely need to use properties because there are get_ and set_ methods for almost all of them...
Glib::PropertyProxy< bool > property_stretch_set()
Whether this tag affects the font stretch.
Glib::PropertyProxy< Pango::Weight > property_stretch()
Font stretch.
Glib::PropertyProxy< Gtk::Justification > property_justification()
You rarely need to use properties because there are get_ and set_ methods for almost all of them...
Glib::PropertyProxy< double > property_x_offset()
You rarely need to use properties because there are get_ and set_ methods for almost all of them...
Glib::PropertyProxy< bool > property_strikethrough_set()
Whether this tag affects strikethrough.
Glib::PropertyProxy< double > property_scale()
Size of font.
Glib::PropertyProxy< Pango::AttrList > property_attributes()
You rarely need to use properties because there are get_ and set_ methods for almost all of them...
Glib::PropertyProxy< double > property_y_offset()
You rarely need to use properties because there are get_ and set_ methods for almost all of them...