Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members

text.h

Go to the documentation of this file.
00001 // -*- c++ -*- 00002 // Generated by gtkmmproc -- DO NOT MODIFY! 00003 #ifndef _LIBGNOMECANVASMM_TEXT_H 00004 #define _LIBGNOMECANVASMM_TEXT_H 00005 00006 #include <glibmm.h> 00007 00008 /* $Id: text.hg,v 1.8 2004/04/07 19:13:51 murrayc Exp $ */ 00009 00010 /* text.h 00011 * 00012 * Copyright (C) 1998 EMC Capital Management Inc. 00013 * Developed by Havoc Pennington <hp@pobox.com> 00014 * 00015 * Copyright (C) 1999 The Gtk-- Development Team 00016 * 00017 * This library is free software; you can redistribute it and/or 00018 * modify it under the terms of the GNU Library General Public 00019 * License as published by the Free Software Foundation; either 00020 * version 2 of the License, or (at your option) any later version. 00021 * 00022 * This library is distributed in the hope that it will be useful, 00023 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00024 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00025 * Library General Public License for more details. 00026 * 00027 * You should have received a copy of the GNU Library General Public 00028 * License along with this library; if not, write to the Free 00029 * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. 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 /* DOXYGEN_SHOULD_SKIP_THIS */ 00042 00043 00044 namespace Gnome 00045 { 00046 00047 namespace Canvas 00048 { class Text_Class; } // namespace Canvas 00049 00050 } // namespace Gnome 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 /* DOXYGEN_SHOULD_SKIP_THIS */ 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 // noncopyable 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 /* DOXYGEN_SHOULD_SKIP_THIS */ 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 //C++ methods used to invoke GTK+ virtual functions: 00103 00104 protected: 00105 //GTK+ Virtual Functions (override these to change behaviour): 00106 00107 //Default Signal Handlers:: 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 00120 Glib::PropertyProxy<Glib::ustring> property_text() ; 00121 00126 Glib::PropertyProxy_ReadOnly<Glib::ustring> property_text() const; 00127 00132 Glib::PropertyProxy_WriteOnly<Glib::ustring> property_markup() ; 00133 00138 Glib::PropertyProxy_ReadOnly<Glib::ustring> property_markup() const; 00139 00144 Glib::PropertyProxy<double> property_x() ; 00145 00150 Glib::PropertyProxy_ReadOnly<double> property_x() const; 00151 00156 Glib::PropertyProxy<double> property_y() ; 00157 00162 Glib::PropertyProxy_ReadOnly<double> property_y() const; 00163 00168 Glib::PropertyProxy<Glib::ustring> property_font() ; 00169 00174 Glib::PropertyProxy_ReadOnly<Glib::ustring> property_font() const; 00175 00180 Glib::PropertyProxy<Pango::FontDescription> property_font_desc() ; 00181 00186 Glib::PropertyProxy_ReadOnly<Pango::FontDescription> property_font_desc() const; 00187 00192 Glib::PropertyProxy<Glib::ustring> property_family() ; 00193 00198 Glib::PropertyProxy_ReadOnly<Glib::ustring> property_family() const; 00199 00204 Glib::PropertyProxy<bool> property_family_set() ; 00205 00210 Glib::PropertyProxy_ReadOnly<bool> property_family_set() const; 00211 00216 Glib::PropertyProxy<Pango::AttrList> property_attributes() ; 00217 00222 Glib::PropertyProxy_ReadOnly<Pango::AttrList> property_attributes() const; 00223 00228 Glib::PropertyProxy<Pango::Style> property_style() ; 00229 00234 Glib::PropertyProxy_ReadOnly<Pango::Style> property_style() const; 00235 00240 Glib::PropertyProxy<bool> property_style_set() ; 00241 00246 Glib::PropertyProxy_ReadOnly<bool> property_style_set() const; 00247 00252 Glib::PropertyProxy<Pango::Variant> property_variant() ; 00253 00258 Glib::PropertyProxy_ReadOnly<Pango::Variant> property_variant() const; 00259 00264 Glib::PropertyProxy<bool> property_variant_set() ; 00265 00270 Glib::PropertyProxy_ReadOnly<bool> property_variant_set() const; 00271 00276 Glib::PropertyProxy<int> property_weight() ; 00277 00282 Glib::PropertyProxy_ReadOnly<int> property_weight() const; 00283 00288 Glib::PropertyProxy<bool> property_weight_set() ; 00289 00294 Glib::PropertyProxy_ReadOnly<bool> property_weight_set() const; 00295 00300 Glib::PropertyProxy<Pango::Weight> property_stretch() ; 00301 00306 Glib::PropertyProxy_ReadOnly<Pango::Weight> property_stretch() const; 00307 00312 Glib::PropertyProxy<bool> property_stretch_set() ; 00313 00318 Glib::PropertyProxy_ReadOnly<bool> property_stretch_set() const; 00319 00324 Glib::PropertyProxy<int> property_size() ; 00325 00330 Glib::PropertyProxy_ReadOnly<int> property_size() const; 00331 00336 Glib::PropertyProxy<bool> property_size_set() ; 00337 00342 Glib::PropertyProxy_ReadOnly<bool> property_size_set() const; 00343 00348 Glib::PropertyProxy<double> property_size_points() ; 00349 00354 Glib::PropertyProxy_ReadOnly<double> property_size_points() const; 00355 00360 Glib::PropertyProxy<bool> property_strikethrough() ; 00361 00366 Glib::PropertyProxy_ReadOnly<bool> property_strikethrough() const; 00367 00372 Glib::PropertyProxy<bool> property_strikethrough_set() ; 00373 00378 Glib::PropertyProxy_ReadOnly<bool> property_strikethrough_set() const; 00379 00384 Glib::PropertyProxy<Pango::Underline> property_underline() ; 00385 00390 Glib::PropertyProxy_ReadOnly<Pango::Underline> property_underline() const; 00391 00396 Glib::PropertyProxy<bool> property_underline_set() ; 00397 00402 Glib::PropertyProxy_ReadOnly<bool> property_underline_set() const; 00403 00408 Glib::PropertyProxy<int> property_rise() ; 00409 00414 Glib::PropertyProxy_ReadOnly<int> property_rise() const; 00415 00420 Glib::PropertyProxy<bool> property_rise_set() ; 00421 00426 Glib::PropertyProxy_ReadOnly<bool> property_rise_set() const; 00427 00432 Glib::PropertyProxy<double> property_scale() ; 00433 00438 Glib::PropertyProxy_ReadOnly<double> property_scale() const; 00439 00444 Glib::PropertyProxy<bool> property_scale_set() ; 00445 00450 Glib::PropertyProxy_ReadOnly<bool> property_scale_set() const; 00451 00456 Glib::PropertyProxy<Gtk::AnchorType> property_anchor() ; 00457 00462 Glib::PropertyProxy_ReadOnly<Gtk::AnchorType> property_anchor() const; 00463 00468 Glib::PropertyProxy<Gtk::Justification> property_justification() ; 00469 00474 Glib::PropertyProxy_ReadOnly<Gtk::Justification> property_justification() const; 00475 00480 Glib::PropertyProxy<double> property_clip_width() ; 00481 00486 Glib::PropertyProxy_ReadOnly<double> property_clip_width() const; 00487 00492 Glib::PropertyProxy<double> property_clip_height() ; 00493 00498 Glib::PropertyProxy_ReadOnly<double> property_clip_height() const; 00499 00504 Glib::PropertyProxy<bool> property_clip() ; 00505 00510 Glib::PropertyProxy_ReadOnly<bool> property_clip() const; 00511 00516 Glib::PropertyProxy<double> property_x_offset() ; 00517 00522 Glib::PropertyProxy_ReadOnly<double> property_x_offset() const; 00523 00528 Glib::PropertyProxy<double> property_y_offset() ; 00529 00534 Glib::PropertyProxy_ReadOnly<double> property_y_offset() const; 00535 00540 Glib::PropertyProxy<Glib::ustring> property_fill_color() ; 00541 00546 Glib::PropertyProxy_ReadOnly<Glib::ustring> property_fill_color() const; 00547 00552 Glib::PropertyProxy<Gdk::Color> property_fill_color_gdk() ; 00553 00558 Glib::PropertyProxy_ReadOnly<Gdk::Color> property_fill_color_gdk() const; 00559 00564 Glib::PropertyProxy<guint> property_fill_color_rgba() ; 00565 00570 Glib::PropertyProxy_ReadOnly<guint> property_fill_color_rgba() const; 00571 00576 Glib::PropertyProxy< Glib::RefPtr<Gdk::Bitmap> > property_fill_stipple() ; 00577 00582 Glib::PropertyProxy_ReadOnly< Glib::RefPtr<Gdk::Bitmap> > property_fill_stipple() const; 00583 00588 Glib::PropertyProxy<double> property_text_width() ; 00589 00594 Glib::PropertyProxy_ReadOnly<double> property_text_width() const; 00595 00600 Glib::PropertyProxy<double> property_text_height() ; 00601 00606 Glib::PropertyProxy_ReadOnly<double> property_text_height() const; 00607 00608 00609 }; 00610 00611 } /* namespace Canvas */ 00612 } /* namespace Gnome */ 00613 00614 namespace Glib 00615 { 00621 Gnome::Canvas::Text* wrap(GnomeCanvasText* object, bool take_copy = false); 00622 } 00623 #endif /* _LIBGNOMECANVASMM_TEXT_H */ 00624

Generated on Thu Jun 17 22:24:48 2004 for libgnomecanvasmm by doxygen 1.3.7