Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | 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 
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 
00146   Glib::PropertyProxy_ReadOnly<Glib::ustring> property_markup() const;
00147 
00154   Glib::PropertyProxy<double> property_x() ;
00155 
00162   Glib::PropertyProxy_ReadOnly<double> property_x() const;
00163 
00170   Glib::PropertyProxy<double> property_y() ;
00171 
00178   Glib::PropertyProxy_ReadOnly<double> property_y() const;
00179 
00186   Glib::PropertyProxy<Glib::ustring> property_font() ;
00187 
00194   Glib::PropertyProxy_ReadOnly<Glib::ustring> property_font() const;
00195 
00202   Glib::PropertyProxy<Pango::FontDescription> property_font_desc() ;
00203 
00210   Glib::PropertyProxy_ReadOnly<Pango::FontDescription> property_font_desc() const;
00211 
00218   Glib::PropertyProxy<Glib::ustring> property_family() ;
00219 
00226   Glib::PropertyProxy_ReadOnly<Glib::ustring> property_family() const;
00227 
00234   Glib::PropertyProxy<bool> property_family_set() ;
00235 
00242   Glib::PropertyProxy_ReadOnly<bool> property_family_set() const;
00243 
00250   Glib::PropertyProxy<Pango::AttrList> property_attributes() ;
00251 
00258   Glib::PropertyProxy_ReadOnly<Pango::AttrList> property_attributes() const;
00259 
00266   Glib::PropertyProxy<Pango::Style> property_style() ;
00267 
00274   Glib::PropertyProxy_ReadOnly<Pango::Style> property_style() const;
00275 
00282   Glib::PropertyProxy<bool> property_style_set() ;
00283 
00290   Glib::PropertyProxy_ReadOnly<bool> property_style_set() const;
00291 
00298   Glib::PropertyProxy<Pango::Variant> property_variant() ;
00299 
00306   Glib::PropertyProxy_ReadOnly<Pango::Variant> property_variant() const;
00307 
00314   Glib::PropertyProxy<bool> property_variant_set() ;
00315 
00322   Glib::PropertyProxy_ReadOnly<bool> property_variant_set() const;
00323 
00330   Glib::PropertyProxy<int> property_weight() ;
00331 
00338   Glib::PropertyProxy_ReadOnly<int> property_weight() const;
00339 
00346   Glib::PropertyProxy<bool> property_weight_set() ;
00347 
00354   Glib::PropertyProxy_ReadOnly<bool> property_weight_set() const;
00355 
00362   Glib::PropertyProxy<Pango::Weight> property_stretch() ;
00363 
00370   Glib::PropertyProxy_ReadOnly<Pango::Weight> property_stretch() const;
00371 
00378   Glib::PropertyProxy<bool> property_stretch_set() ;
00379 
00386   Glib::PropertyProxy_ReadOnly<bool> property_stretch_set() const;
00387 
00394   Glib::PropertyProxy<int> property_size() ;
00395 
00402   Glib::PropertyProxy_ReadOnly<int> property_size() const;
00403 
00410   Glib::PropertyProxy<bool> property_size_set() ;
00411 
00418   Glib::PropertyProxy_ReadOnly<bool> property_size_set() const;
00419 
00426   Glib::PropertyProxy<double> property_size_points() ;
00427 
00434   Glib::PropertyProxy_ReadOnly<double> property_size_points() const;
00435 
00442   Glib::PropertyProxy<bool> property_strikethrough() ;
00443 
00450   Glib::PropertyProxy_ReadOnly<bool> property_strikethrough() const;
00451 
00458   Glib::PropertyProxy<bool> property_strikethrough_set() ;
00459 
00466   Glib::PropertyProxy_ReadOnly<bool> property_strikethrough_set() const;
00467 
00474   Glib::PropertyProxy<Pango::Underline> property_underline() ;
00475 
00482   Glib::PropertyProxy_ReadOnly<Pango::Underline> property_underline() const;
00483 
00490   Glib::PropertyProxy<bool> property_underline_set() ;
00491 
00498   Glib::PropertyProxy_ReadOnly<bool> property_underline_set() const;
00499 
00506   Glib::PropertyProxy<int> property_rise() ;
00507 
00514   Glib::PropertyProxy_ReadOnly<int> property_rise() const;
00515 
00522   Glib::PropertyProxy<bool> property_rise_set() ;
00523 
00530   Glib::PropertyProxy_ReadOnly<bool> property_rise_set() const;
00531 
00538   Glib::PropertyProxy<double> property_scale() ;
00539 
00546   Glib::PropertyProxy_ReadOnly<double> property_scale() const;
00547 
00554   Glib::PropertyProxy<bool> property_scale_set() ;
00555 
00562   Glib::PropertyProxy_ReadOnly<bool> property_scale_set() const;
00563 
00570   Glib::PropertyProxy<Gtk::AnchorType> property_anchor() ;
00571 
00578   Glib::PropertyProxy_ReadOnly<Gtk::AnchorType> property_anchor() const;
00579 
00586   Glib::PropertyProxy<Gtk::Justification> property_justification() ;
00587 
00594   Glib::PropertyProxy_ReadOnly<Gtk::Justification> property_justification() const;
00595 
00602   Glib::PropertyProxy<double> property_clip_width() ;
00603 
00610   Glib::PropertyProxy_ReadOnly<double> property_clip_width() const;
00611 
00618   Glib::PropertyProxy<double> property_clip_height() ;
00619 
00626   Glib::PropertyProxy_ReadOnly<double> property_clip_height() const;
00627 
00634   Glib::PropertyProxy<bool> property_clip() ;
00635 
00642   Glib::PropertyProxy_ReadOnly<bool> property_clip() const;
00643 
00650   Glib::PropertyProxy<double> property_x_offset() ;
00651 
00658   Glib::PropertyProxy_ReadOnly<double> property_x_offset() const;
00659 
00666   Glib::PropertyProxy<double> property_y_offset() ;
00667 
00674   Glib::PropertyProxy_ReadOnly<double> property_y_offset() const;
00675 
00682   Glib::PropertyProxy<Glib::ustring> property_fill_color() ;
00683 
00690   Glib::PropertyProxy_ReadOnly<Glib::ustring> property_fill_color() const;
00691 
00698   Glib::PropertyProxy<Gdk::Color> property_fill_color_gdk() ;
00699 
00706   Glib::PropertyProxy_ReadOnly<Gdk::Color> property_fill_color_gdk() const;
00707 
00714   Glib::PropertyProxy<guint> property_fill_color_rgba() ;
00715 
00722   Glib::PropertyProxy_ReadOnly<guint> property_fill_color_rgba() const;
00723 
00730   Glib::PropertyProxy< Glib::RefPtr<Gdk::Bitmap> > property_fill_stipple() ;
00731 
00738   Glib::PropertyProxy_ReadOnly< Glib::RefPtr<Gdk::Bitmap> > property_fill_stipple() const;
00739 
00746   Glib::PropertyProxy<double> property_text_width() ;
00747 
00754   Glib::PropertyProxy_ReadOnly<double> property_text_width() const;
00755 
00762   Glib::PropertyProxy<double> property_text_height() ;
00763 
00770   Glib::PropertyProxy_ReadOnly<double> property_text_height() const;
00771 
00772 
00773 };
00774 
00775 } /* namespace Canvas */
00776 } /* namespace Gnome */
00777 
00778 namespace Glib
00779 {
00785   Gnome::Canvas::Text* wrap(GnomeCanvasText* object, bool take_copy = false);
00786 }
00787 #endif /* _LIBGNOMECANVASMM_TEXT_H */
00788 

Generated on Mon Mar 7 11:14:08 2005 for libgnomecanvasmm by  doxygen 1.3.9.1