00001
00002
00003 #ifndef _LIBGNOMECANVASMM_TEXT_H
00004 #define _LIBGNOMECANVASMM_TEXT_H
00005
00006 #include <glibmm.h>
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030
00031
00032 #include <libgnomecanvasmm/item.h>
00033 #include <pangomm/attrlist.h>
00034 #include <gtkmm/enums.h>
00035 #include <libgnomecanvas/gnome-canvas-text.h>
00036
00037
00038 #ifndef DOXYGEN_SHOULD_SKIP_THIS
00039 typedef struct _GnomeCanvasText GnomeCanvasText;
00040 typedef struct _GnomeCanvasTextClass GnomeCanvasTextClass;
00041 #endif
00042
00043
00044 namespace Gnome
00045 {
00046
00047 namespace Canvas
00048 { class Text_Class; }
00049
00050 }
00051 namespace Gnome
00052 {
00053
00054 namespace Canvas
00055 {
00056
00057 class Group;
00058
00059
00060 class Text : public Item
00061 {
00062 public:
00063 #ifndef DOXYGEN_SHOULD_SKIP_THIS
00064 typedef Text CppObjectType;
00065 typedef Text_Class CppClassType;
00066 typedef GnomeCanvasText BaseObjectType;
00067 typedef GnomeCanvasTextClass BaseClassType;
00068 #endif
00069
00070 virtual ~Text();
00071
00072 #ifndef DOXYGEN_SHOULD_SKIP_THIS
00073
00074 private:
00075 friend class Text_Class;
00076 static CppClassType text_class_;
00077
00078
00079 Text(const Text&);
00080 Text& operator=(const Text&);
00081
00082 protected:
00083 explicit Text(const Glib::ConstructParams& construct_params);
00084 explicit Text(GnomeCanvasText* castitem);
00085
00086 #endif
00087
00088 public:
00089 #ifndef DOXYGEN_SHOULD_SKIP_THIS
00090 static GType get_type() G_GNUC_CONST;
00091 static GType get_base_type() G_GNUC_CONST;
00092 #endif
00093
00095 GnomeCanvasText* gobj() { return reinterpret_cast<GnomeCanvasText*>(gobject_); }
00096
00098 const GnomeCanvasText* gobj() const { return reinterpret_cast<GnomeCanvasText*>(gobject_); }
00099
00100
00101 public:
00102
00103
00104 protected:
00105
00106
00107
00108
00109
00110 private:
00111
00112 public:
00113 Text(Group& parent, double x, double y, const Glib::ustring& text);
00114 explicit Text(Group& parent);
00115
00122 Glib::PropertyProxy<Glib::ustring> property_text() ;
00123
00130 Glib::PropertyProxy_ReadOnly<Glib::ustring> property_text() const;
00131
00138 Glib::PropertyProxy_WriteOnly<Glib::ustring> property_markup() ;
00139
00140
00147 Glib::PropertyProxy<double> property_x() ;
00148
00155 Glib::PropertyProxy_ReadOnly<double> property_x() const;
00156
00163 Glib::PropertyProxy<double> property_y() ;
00164
00171 Glib::PropertyProxy_ReadOnly<double> property_y() const;
00172
00179 Glib::PropertyProxy<Glib::ustring> property_font() ;
00180
00187 Glib::PropertyProxy_ReadOnly<Glib::ustring> property_font() const;
00188
00195 Glib::PropertyProxy<Pango::FontDescription> property_font_desc() ;
00196
00203 Glib::PropertyProxy_ReadOnly<Pango::FontDescription> property_font_desc() const;
00204
00211 Glib::PropertyProxy<Glib::ustring> property_family() ;
00212
00219 Glib::PropertyProxy_ReadOnly<Glib::ustring> property_family() const;
00220
00227 Glib::PropertyProxy<bool> property_family_set() ;
00228
00235 Glib::PropertyProxy_ReadOnly<bool> property_family_set() const;
00236
00243 Glib::PropertyProxy<Pango::AttrList> property_attributes() ;
00244
00251 Glib::PropertyProxy_ReadOnly<Pango::AttrList> property_attributes() const;
00252
00259 Glib::PropertyProxy<Pango::Style> property_style() ;
00260
00267 Glib::PropertyProxy_ReadOnly<Pango::Style> property_style() const;
00268
00275 Glib::PropertyProxy<bool> property_style_set() ;
00276
00283 Glib::PropertyProxy_ReadOnly<bool> property_style_set() const;
00284
00291 Glib::PropertyProxy<Pango::Variant> property_variant() ;
00292
00299 Glib::PropertyProxy_ReadOnly<Pango::Variant> property_variant() const;
00300
00307 Glib::PropertyProxy<bool> property_variant_set() ;
00308
00315 Glib::PropertyProxy_ReadOnly<bool> property_variant_set() const;
00316
00323 Glib::PropertyProxy<int> property_weight() ;
00324
00331 Glib::PropertyProxy_ReadOnly<int> property_weight() const;
00332
00339 Glib::PropertyProxy<bool> property_weight_set() ;
00340
00347 Glib::PropertyProxy_ReadOnly<bool> property_weight_set() const;
00348
00355 Glib::PropertyProxy<Pango::Weight> property_stretch() ;
00356
00363 Glib::PropertyProxy_ReadOnly<Pango::Weight> property_stretch() const;
00364
00371 Glib::PropertyProxy<bool> property_stretch_set() ;
00372
00379 Glib::PropertyProxy_ReadOnly<bool> property_stretch_set() const;
00380
00387 Glib::PropertyProxy<int> property_size() ;
00388
00395 Glib::PropertyProxy_ReadOnly<int> property_size() const;
00396
00403 Glib::PropertyProxy<bool> property_size_set() ;
00404
00411 Glib::PropertyProxy_ReadOnly<bool> property_size_set() const;
00412
00419 Glib::PropertyProxy<double> property_size_points() ;
00420
00427 Glib::PropertyProxy_ReadOnly<double> property_size_points() const;
00428
00435 Glib::PropertyProxy<bool> property_strikethrough() ;
00436
00443 Glib::PropertyProxy_ReadOnly<bool> property_strikethrough() const;
00444
00451 Glib::PropertyProxy<bool> property_strikethrough_set() ;
00452
00459 Glib::PropertyProxy_ReadOnly<bool> property_strikethrough_set() const;
00460
00467 Glib::PropertyProxy<Pango::Underline> property_underline() ;
00468
00475 Glib::PropertyProxy_ReadOnly<Pango::Underline> property_underline() const;
00476
00483 Glib::PropertyProxy<bool> property_underline_set() ;
00484
00491 Glib::PropertyProxy_ReadOnly<bool> property_underline_set() const;
00492
00499 Glib::PropertyProxy<int> property_rise() ;
00500
00507 Glib::PropertyProxy_ReadOnly<int> property_rise() const;
00508
00515 Glib::PropertyProxy<bool> property_rise_set() ;
00516
00523 Glib::PropertyProxy_ReadOnly<bool> property_rise_set() const;
00524
00531 Glib::PropertyProxy<double> property_scale() ;
00532
00539 Glib::PropertyProxy_ReadOnly<double> property_scale() const;
00540
00547 Glib::PropertyProxy<bool> property_scale_set() ;
00548
00555 Glib::PropertyProxy_ReadOnly<bool> property_scale_set() const;
00556
00563 Glib::PropertyProxy<Gtk::AnchorType> property_anchor() ;
00564
00571 Glib::PropertyProxy_ReadOnly<Gtk::AnchorType> property_anchor() const;
00572
00579 Glib::PropertyProxy<Gtk::Justification> property_justification() ;
00580
00587 Glib::PropertyProxy_ReadOnly<Gtk::Justification> property_justification() const;
00588
00595 Glib::PropertyProxy<double> property_clip_width() ;
00596
00603 Glib::PropertyProxy_ReadOnly<double> property_clip_width() const;
00604
00611 Glib::PropertyProxy<double> property_clip_height() ;
00612
00619 Glib::PropertyProxy_ReadOnly<double> property_clip_height() const;
00620
00627 Glib::PropertyProxy<bool> property_clip() ;
00628
00635 Glib::PropertyProxy_ReadOnly<bool> property_clip() const;
00636
00643 Glib::PropertyProxy<double> property_x_offset() ;
00644
00651 Glib::PropertyProxy_ReadOnly<double> property_x_offset() const;
00652
00659 Glib::PropertyProxy<double> property_y_offset() ;
00660
00667 Glib::PropertyProxy_ReadOnly<double> property_y_offset() const;
00668
00675 Glib::PropertyProxy<Glib::ustring> property_fill_color() ;
00676
00683 Glib::PropertyProxy_ReadOnly<Glib::ustring> property_fill_color() const;
00684
00691 Glib::PropertyProxy<Gdk::Color> property_fill_color_gdk() ;
00692
00699 Glib::PropertyProxy_ReadOnly<Gdk::Color> property_fill_color_gdk() const;
00700
00707 Glib::PropertyProxy<guint> property_fill_color_rgba() ;
00708
00715 Glib::PropertyProxy_ReadOnly<guint> property_fill_color_rgba() const;
00716
00723 Glib::PropertyProxy< Glib::RefPtr<Gdk::Bitmap> > property_fill_stipple() ;
00724
00731 Glib::PropertyProxy_ReadOnly< Glib::RefPtr<Gdk::Bitmap> > property_fill_stipple() const;
00732
00739 Glib::PropertyProxy<double> property_text_width() ;
00740
00747 Glib::PropertyProxy_ReadOnly<double> property_text_width() const;
00748
00755 Glib::PropertyProxy<double> property_text_height() ;
00756
00763 Glib::PropertyProxy_ReadOnly<double> property_text_height() const;
00764
00765
00766 };
00767
00768 }
00769 }
00770
00771 namespace Glib
00772 {
00778 Gnome::Canvas::Text* wrap(GnomeCanvasText* object, bool take_copy = false);
00779 }
00780 #endif
00781