// -*- c++ -*-
//  Generated by gtkmmproc from ./../canvas-text.gen_h -- DO NOT MODIFY!
#ifndef _GNOMEMM_CANVAS_TEXT_H
#define _GNOMEMM_CANVAS_TEXT_H

/* $Id: canvas-text.gen_h,v 1.26 2001/02/08 18:51:34 murrayc Exp $ */

/* canvas-text.h
 *
 * Copyright (C) 1998 EMC Capital Management Inc.
 * Developed by Havoc Pennington <hp@pobox.com>
 *
 * Copyright (C) 1999 The Gtk-- Development Team
 *
 * This library is free software; you can redistribute it and/or
 * modify it under the terms of the GNU Library General Public
 * License as published by the Free Software Foundation; either
 * version 2 of the License, or (at your option) any later version.
 *
 * This library is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 * Library General Public License for more details.
 *
 * You should have received a copy of the GNU Library General Public
 * License along with this library; if not, write to the Free
 * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
 */

#include <gnome--/canvas-item.h>
#include <libgnomeui/gnome-canvas-text.h>

namespace Gnome {
class CanvasText;
class CanvasText_Class;
}
namespace Gtk { Gnome::CanvasText *wrap (GnomeCanvasText *o); }
namespace Gnome
{
class CanvasGroup;
class CanvasText : public CanvasItem
{

public:
  typedef CanvasText          CppObjectType;
  typedef CanvasText_Class    CppClassType;
  typedef GnomeCanvasText           BaseObjectType;
  typedef GnomeCanvasTextClass      BaseClassType;

private:
  friend class CanvasText_Class;
  static CppClassType canvas_text_class;

  CanvasText(const CanvasText&);
  CanvasText& operator=(const CanvasText&); // not implemented

protected:
  void   initialize_class();
  explicit CanvasText(GnomeCanvasText *castitem);

public:
  static GtkType get_type();
  GnomeCanvasText* gtkobj()             { return (GnomeCanvasText*)(gtkobject); }
  const GnomeCanvasText* gtkobj() const { return (GnomeCanvasText*)(gtkobject); }
  static bool isA(Gtk::Object *checkcast);

  // Hook for proxies
  static const char* const signal_names[];

  virtual ~CanvasText();

private:

public:
  CanvasText(const CanvasGroup &parent,
		   const gchar *first_arg_name,
		   ...);
  CanvasText(const CanvasGroup &parent);



  CanvasText& set_text           (const string &text);
  CanvasText& set_x              (gdouble x);
  CanvasText& set_y              (gdouble y);
  CanvasText& set_font           (const string &fontname);
  CanvasText& set_font_gdk       (const Gdk_Font &font);
  CanvasText& set_anchor         (GtkAnchorType anchortype);
  CanvasText& set_justification  (GtkJustification justif);
  CanvasText& set_clip_width     (gdouble width);
  CanvasText& set_clip_height    (gdouble height);
  CanvasText& set_clip           (bool clip);
  CanvasText& set_x_offset       (gdouble x_offset);
  CanvasText& set_y_offset       (gdouble y_offset);
  CanvasText& set_fill_color     (const string &colorname);
  CanvasText& set_fill_color_gdk (const Gdk_Color &color);
  CanvasText& set_fill_stipple   (const Gdk_Window &window);
  CanvasText& set_text_width     (gdouble width);
  CanvasText& set_text_height    (gdouble height);

public:

protected:
  // impl functions

};

}

#endif
