// -*- c++ -*- // Generated by gtkmmproc from ./../canvas-widget.gen_h -- DO NOT MODIFY! #ifndef _GNOMEMM_CANVAS_WIDGET_H #define _GNOMEMM_CANVAS_WIDGET_H /* $Id: canvas-widget.gen_h,v 1.26 2001/04/30 05:47:13 kenelson Exp $ */ /* canvas-widget.h * * Copyright (C) 1998 EMC Capital Management Inc. * Developed by Havoc Pennington * * 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 #include namespace Gnome { class CanvasWidget; class CanvasWidget_Class; } namespace Gtk { Gnome::CanvasWidget *wrap (GnomeCanvasWidget *o); } namespace Gnome { class CanvasGroup; class CanvasWidget : public CanvasItem { public: typedef CanvasWidget CppObjectType; typedef CanvasWidget_Class CppClassType; typedef GnomeCanvasWidget BaseObjectType; typedef GnomeCanvasWidgetClass BaseClassType; private: friend class CanvasWidget_Class; static CppClassType canvas_widget_class; CanvasWidget(const CanvasWidget&); CanvasWidget& operator=(const CanvasWidget&); // not implemented protected: void initialize_class(); explicit CanvasWidget(GnomeCanvasWidget *castitem); public: static GtkType get_type(); GnomeCanvasWidget* gtkobj() { return (GnomeCanvasWidget*)(gtkobject); } const GnomeCanvasWidget* gtkobj() const { return (GnomeCanvasWidget*)(gtkobject); } static bool isA(Gtk::Object *checkcast); // Hook for proxies static const char* const signal_names[]; virtual ~CanvasWidget(); private: public: CanvasWidget(const CanvasGroup &parent, gdouble x, gdouble y, Gtk::Widget& w); CanvasWidget(const CanvasGroup &parent); void set_x(gdouble); gdouble get_x() const; void set_y(gdouble); gdouble get_y() const; void set_width(gdouble); gdouble get_width() const; void set_height(gdouble); gdouble get_height() const; void set_anchor(GtkAnchorType); GtkAnchorType get_anchor() const; void set_size_pixels(bool); public: protected: // impl functions }; } #endif .