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
40typedef struct _GnomeCanvasText GnomeCanvasText;
41typedef 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
109#ifdef GLIBMM_VFUNCS_ENABLED
113#ifdef GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED
120 Text(
Group& parent,
double x,
double y,
const Glib::ustring& text);
123 #ifdef GLIBMM_PROPERTIES_ENABLED
133#ifdef GLIBMM_PROPERTIES_ENABLED
143 #ifdef GLIBMM_PROPERTIES_ENABLED
154 #ifdef GLIBMM_PROPERTIES_ENABLED
164#ifdef GLIBMM_PROPERTIES_ENABLED
174 #ifdef GLIBMM_PROPERTIES_ENABLED
184#ifdef GLIBMM_PROPERTIES_ENABLED
194 #ifdef GLIBMM_PROPERTIES_ENABLED
204#ifdef GLIBMM_PROPERTIES_ENABLED
214 #ifdef GLIBMM_PROPERTIES_ENABLED
224#ifdef GLIBMM_PROPERTIES_ENABLED
234 #ifdef GLIBMM_PROPERTIES_ENABLED
244#ifdef GLIBMM_PROPERTIES_ENABLED
254 #ifdef GLIBMM_PROPERTIES_ENABLED
264#ifdef GLIBMM_PROPERTIES_ENABLED
274 #ifdef GLIBMM_PROPERTIES_ENABLED
284#ifdef GLIBMM_PROPERTIES_ENABLED
294 #ifdef GLIBMM_PROPERTIES_ENABLED
304#ifdef GLIBMM_PROPERTIES_ENABLED
314 #ifdef GLIBMM_PROPERTIES_ENABLED
324#ifdef GLIBMM_PROPERTIES_ENABLED
334 #ifdef GLIBMM_PROPERTIES_ENABLED
344#ifdef GLIBMM_PROPERTIES_ENABLED
354 #ifdef GLIBMM_PROPERTIES_ENABLED
364#ifdef GLIBMM_PROPERTIES_ENABLED
374 #ifdef GLIBMM_PROPERTIES_ENABLED
384#ifdef GLIBMM_PROPERTIES_ENABLED
394 #ifdef GLIBMM_PROPERTIES_ENABLED
404#ifdef GLIBMM_PROPERTIES_ENABLED
414 #ifdef GLIBMM_PROPERTIES_ENABLED
424#ifdef GLIBMM_PROPERTIES_ENABLED
434 #ifdef GLIBMM_PROPERTIES_ENABLED
444#ifdef GLIBMM_PROPERTIES_ENABLED
454 #ifdef GLIBMM_PROPERTIES_ENABLED
464#ifdef GLIBMM_PROPERTIES_ENABLED
474 #ifdef GLIBMM_PROPERTIES_ENABLED
484#ifdef GLIBMM_PROPERTIES_ENABLED
494 #ifdef GLIBMM_PROPERTIES_ENABLED
504#ifdef GLIBMM_PROPERTIES_ENABLED
514 #ifdef GLIBMM_PROPERTIES_ENABLED
524#ifdef GLIBMM_PROPERTIES_ENABLED
534 #ifdef GLIBMM_PROPERTIES_ENABLED
544#ifdef GLIBMM_PROPERTIES_ENABLED
554 #ifdef GLIBMM_PROPERTIES_ENABLED
564#ifdef GLIBMM_PROPERTIES_ENABLED
574 #ifdef GLIBMM_PROPERTIES_ENABLED
584#ifdef GLIBMM_PROPERTIES_ENABLED
594 #ifdef GLIBMM_PROPERTIES_ENABLED
604#ifdef GLIBMM_PROPERTIES_ENABLED
614 #ifdef GLIBMM_PROPERTIES_ENABLED
624#ifdef GLIBMM_PROPERTIES_ENABLED
634 #ifdef GLIBMM_PROPERTIES_ENABLED
644#ifdef GLIBMM_PROPERTIES_ENABLED
654 #ifdef GLIBMM_PROPERTIES_ENABLED
664#ifdef GLIBMM_PROPERTIES_ENABLED
674 #ifdef GLIBMM_PROPERTIES_ENABLED
684#ifdef GLIBMM_PROPERTIES_ENABLED
694 #ifdef GLIBMM_PROPERTIES_ENABLED
704#ifdef GLIBMM_PROPERTIES_ENABLED
714 #ifdef GLIBMM_PROPERTIES_ENABLED
724#ifdef GLIBMM_PROPERTIES_ENABLED
734 #ifdef GLIBMM_PROPERTIES_ENABLED
744#ifdef GLIBMM_PROPERTIES_ENABLED
754 #ifdef GLIBMM_PROPERTIES_ENABLED
764#ifdef GLIBMM_PROPERTIES_ENABLED
774 #ifdef GLIBMM_PROPERTIES_ENABLED
784#ifdef GLIBMM_PROPERTIES_ENABLED
794 #ifdef GLIBMM_PROPERTIES_ENABLED
804#ifdef GLIBMM_PROPERTIES_ENABLED
814 #ifdef GLIBMM_PROPERTIES_ENABLED
824#ifdef GLIBMM_PROPERTIES_ENABLED
834 #ifdef GLIBMM_PROPERTIES_ENABLED
844#ifdef GLIBMM_PROPERTIES_ENABLED
854 #ifdef GLIBMM_PROPERTIES_ENABLED
864#ifdef GLIBMM_PROPERTIES_ENABLED
874 #ifdef GLIBMM_PROPERTIES_ENABLED
884#ifdef GLIBMM_PROPERTIES_ENABLED
894 #ifdef GLIBMM_PROPERTIES_ENABLED
904#ifdef GLIBMM_PROPERTIES_ENABLED
914 #ifdef GLIBMM_PROPERTIES_ENABLED
924#ifdef GLIBMM_PROPERTIES_ENABLED
Glib::PropertyProxy< Pango::Variant > property_variant()
Font variant.
Glib::PropertyProxy< int > property_size()
Font size.
Glib::PropertyProxy_ReadOnly< Glib::RefPtr< Gdk::Bitmap > > property_fill_stipple() const
You rarely need to use properties because there are get_ and set_ methods for almost all of them.
Glib::PropertyProxy< Glib::ustring > property_text()
Text to render.
Glib::PropertyProxy_ReadOnly< Glib::ustring > property_fill_color() const
Text color.
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< Glib::ustring > property_family()
Name of the font family.
Glib::PropertyProxy_ReadOnly< bool > property_strikethrough_set() const
Whether this tag affects strikethrough.
Glib::PropertyProxy_ReadOnly< int > property_size() const
Font size.
Glib::PropertyProxy_ReadOnly< Glib::ustring > property_family() const
Name of the font family.
GnomeCanvasText * gobj()
Provides access to the underlying C GtkObject.
Definition: text.h:96
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< int > property_rise()
Offset of text above the baseline (below the baseline if rise is negative).
Glib::PropertyProxy_ReadOnly< bool > property_stretch_set() const
Whether this tag affects the font stretch.
Glib::PropertyProxy_ReadOnly< bool > property_clip() const
You rarely need to use properties because there are get_ and set_ methods for almost all of them.
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< double > property_text_width()
Width of the rendered text.
Glib::PropertyProxy_ReadOnly< double > property_x() const
You rarely need to use properties because there are get_ and set_ methods for almost all of them.
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_ReadOnly< int > property_rise() const
Offset of text above the baseline (below the baseline if rise is negative).
Glib::PropertyProxy_ReadOnly< Gtk::AnchorType > property_anchor() const
You rarely need to use properties because there are get_ and set_ methods for almost all of them.
Glib::PropertyProxy_ReadOnly< bool > property_rise_set() const
Whether this tag affects the rise.
Glib::PropertyProxy_WriteOnly< Glib::ustring > property_markup()
Marked up text to render.
Glib::PropertyProxy< bool > property_stretch_set()
Whether this tag affects the font stretch.
Glib::PropertyProxy< guint > property_fill_color_rgba()
Text color.
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_ReadOnly< bool > property_variant_set() const
Whether this tag affects the font variant.
Glib::PropertyProxy< bool > property_weight_set()
Whether this tag affects the font weight.
Glib::PropertyProxy_ReadOnly< double > property_clip_height() const
You rarely need to use properties because there are get_ and set_ methods for almost all of them.
Glib::PropertyProxy_ReadOnly< Pango::FontDescription > property_font_desc() const
Font description as a PangoFontDescription struct.
Glib::PropertyProxy< bool > property_rise_set()
Whether this tag affects the rise.
Glib::PropertyProxy_ReadOnly< double > property_clip_width() const
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_ReadOnly< double > property_text_width() const
Width of the rendered text.
Glib::PropertyProxy_ReadOnly< bool > property_underline_set() const
Whether this tag affects underlining.
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< 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.
Gnome::Canvas::Text * wrap(GnomeCanvasText *object, bool take_copy=false)
A Glib::wrap() method for this object.
Glib::PropertyProxy_ReadOnly< Glib::ustring > property_font() const
Font description as a string.
Glib::PropertyProxy< Pango::Style > property_style()
Font style.
Glib::PropertyProxy_ReadOnly< double > property_size_points() const
Font size in points.
Glib::PropertyProxy< bool > property_style_set()
Whether this tag affects the font style.
Glib::PropertyProxy< Pango::FontDescription > property_font_desc()
Font description as a PangoFontDescription struct.
Glib::PropertyProxy< Glib::ustring > property_font()
Font description as a string.
Glib::PropertyProxy_ReadOnly< Pango::Weight > property_stretch() const
Font stretch.
Glib::PropertyProxy_ReadOnly< bool > property_strikethrough() const
Whether to strike through the text.
const GnomeCanvasText * gobj() const
Provides access to the underlying C GtkObject.
Definition: text.h:99
Glib::PropertyProxy< int > property_weight()
Font weight.
Glib::PropertyProxy_ReadOnly< Gtk::Justification > property_justification() const
You rarely need to use properties because there are get_ and set_ methods for almost all of them.
Glib::PropertyProxy_ReadOnly< double > property_text_height() const
Height of the rendered text.
Glib::PropertyProxy_ReadOnly< Pango::Style > property_style() const
Font style.
Glib::PropertyProxy_ReadOnly< bool > property_family_set() const
Whether this tag affects the font family.
Glib::PropertyProxy_ReadOnly< double > property_x_offset() const
You rarely need to use properties because there are get_ and set_ methods for almost all of them.
Glib::PropertyProxy< double > property_size_points()
Font size in points.
Glib::PropertyProxy_ReadOnly< Pango::Variant > property_variant() const
Font variant.
Glib::PropertyProxy< double > property_text_height()
Height of the rendered text.
Glib::PropertyProxy_ReadOnly< guint > property_fill_color_rgba() const
Text color.
Glib::PropertyProxy_ReadOnly< double > property_y_offset() const
You rarely need to use properties because there are get_ and set_ methods for almost all of them.
Glib::PropertyProxy< bool > property_strikethrough()
Whether to strike through the text.
Glib::PropertyProxy< Pango::Underline > property_underline()
Style of underline for this text.
Glib::PropertyProxy_ReadOnly< bool > property_scale_set() const
Whether this tag affects font scaling.
Glib::PropertyProxy< bool > property_size_set()
Whether this tag affects the font size.
Glib::PropertyProxy< double > property_y_offset()
You rarely need to use properties because there are get_ and set_ methods for almost all of them.
Glib::PropertyProxy_ReadOnly< bool > property_style_set() const
Whether this tag affects the font style.
Glib::PropertyProxy< bool > property_variant_set()
Whether this tag affects the font variant.
Glib::PropertyProxy_ReadOnly< Gdk::Color > property_fill_color_gdk() const
Text color.
Glib::PropertyProxy_ReadOnly< double > property_y() const
You rarely need to use properties because there are get_ and set_ methods for almost all of them.
Glib::PropertyProxy_ReadOnly< bool > property_weight_set() const
Whether this tag affects the font weight.
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_family_set()
Whether this tag affects the font family.
Glib::PropertyProxy_ReadOnly< double > property_scale() const
Size of font.
Glib::PropertyProxy< bool > property_scale_set()
Whether this tag affects font scaling.
Glib::PropertyProxy< Glib::ustring > property_fill_color()
Text color.
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_ReadOnly< Pango::Underline > property_underline() const
Style of underline for this text.
Glib::PropertyProxy< Pango::Weight > property_stretch()
Font stretch.
Glib::PropertyProxy_ReadOnly< Glib::ustring > property_text() const
Text to render.
Glib::PropertyProxy< bool > property_strikethrough_set()
Whether this tag affects strikethrough.
Glib::PropertyProxy_ReadOnly< int > property_weight() const
Font weight.
Glib::PropertyProxy_ReadOnly< Pango::AttrList > property_attributes() const
You rarely need to use properties because there are get_ and set_ methods for almost all of them.
Glib::PropertyProxy_ReadOnly< bool > property_size_set() const
Whether this tag affects the font size.
Glib::PropertyProxy< bool > property_underline_set()
Whether this tag affects underlining.
Text(Group &parent, double x, double y, const Glib::ustring &text)
Glib::PropertyProxy< double > property_scale()
Size of font.
Glib::PropertyProxy< Gdk::Color > property_fill_color_gdk()
Text color.
Definition: affinetrans.h:30