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.7 2002/08/08 22:28:16 cactus 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 00121 Glib::PropertyProxy<Glib::ustring> property_text(); 00122 00128 Glib::PropertyProxy_WriteOnly<Glib::ustring> property_markup(); 00129 00135 Glib::PropertyProxy<double> property_x(); 00136 00142 Glib::PropertyProxy<double> property_y(); 00143 00149 Glib::PropertyProxy<Glib::ustring> property_font(); 00150 00156 Glib::PropertyProxy<Pango::FontDescription> property_font_desc(); 00157 00163 Glib::PropertyProxy<Glib::ustring> property_family(); 00164 00170 Glib::PropertyProxy<bool> property_family_set(); 00171 00177 Glib::PropertyProxy<Pango::AttrList> property_attributes(); 00178 00184 Glib::PropertyProxy<PangoStyle> property_style(); 00185 00191 Glib::PropertyProxy<bool> property_style_set(); 00192 00198 Glib::PropertyProxy<PangoVariant> property_variant(); 00199 00205 Glib::PropertyProxy<bool> property_variant_set(); 00206 00212 Glib::PropertyProxy<int> property_weight(); 00213 00219 Glib::PropertyProxy<bool> property_weight_set(); 00220 00226 Glib::PropertyProxy<PangoWeight> property_stretch(); 00227 00233 Glib::PropertyProxy<bool> property_stretch_set(); 00234 00240 Glib::PropertyProxy<int> property_size(); 00241 00247 Glib::PropertyProxy<bool> property_size_set(); 00248 00254 Glib::PropertyProxy<double> property_size_points(); 00255 00261 Glib::PropertyProxy<bool> property_strikethrough(); 00262 00268 Glib::PropertyProxy<bool> property_strikethrough_set(); 00269 00275 Glib::PropertyProxy<PangoUnderline> property_underline(); 00276 00282 Glib::PropertyProxy<bool> property_underline_set(); 00283 00289 Glib::PropertyProxy<int> property_rise(); 00290 00296 Glib::PropertyProxy<bool> property_rise_set(); 00297 00303 Glib::PropertyProxy<double> property_scale(); 00304 00310 Glib::PropertyProxy<bool> property_scale_set(); 00311 00317 Glib::PropertyProxy<Gtk::AnchorType> property_anchor(); 00318 00324 Glib::PropertyProxy<Gtk::Justification> property_justification(); 00325 00331 Glib::PropertyProxy<double> property_clip_width(); 00332 00338 Glib::PropertyProxy<double> property_clip_height(); 00339 00345 Glib::PropertyProxy<bool> property_clip(); 00346 00352 Glib::PropertyProxy<double> property_x_offset(); 00353 00359 Glib::PropertyProxy<double> property_y_offset(); 00360 00366 Glib::PropertyProxy<Glib::ustring> property_fill_color(); 00367 00373 Glib::PropertyProxy<Gdk::Color> property_fill_color_gdk(); 00374 00380 Glib::PropertyProxy<guint> property_fill_color_rgba(); 00381 00387 Glib::PropertyProxy< Glib::RefPtr<Gdk::Bitmap> > property_fill_stipple(); 00388 00394 Glib::PropertyProxy<double> property_text_width(); 00395 00401 Glib::PropertyProxy<double> property_text_height(); 00402 00403 00404 }; 00405 00406 } /* namespace Canvas */ 00407 } /* namespace Gnome */ 00408 00409 namespace Glib 00410 { 00412 Gnome::Canvas::Text* wrap(GnomeCanvasText* object, bool take_copy = false); 00413 } 00414 #endif /* _LIBGNOMECANVASMM_TEXT_H */ 00415

Generated on Wed Jul 21 00:55:15 2004 for libgnomecanvasmm by doxygen 1.3.7