// -*- c++ -*- // Generated by gtkmmproc from ./../fixed.gen_h -- DO NOT MODIFY! #ifndef _GTKMM_FIXED_H #define _GTKMM_FIXED_H /* $Id: fixed.gen_h,v 1.39 2001/07/15 13:33:38 murrayc Exp $ */ /* fixed.h * * Copyright (C) 1998-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 Gtk { class Fixed; class Fixed_Class; } namespace Gtk { Gtk::Fixed *wrap (GtkFixed *o); } namespace Gtk { //: A container which supports fixed sizes and positions of its children. //- The GtkFixed widget is a container which can place child widgets at //- fixed positions and with fixed sizes, given in pixels. class Fixed : public Container { public: typedef Fixed CppObjectType; typedef Fixed_Class CppClassType; typedef GtkFixed BaseObjectType; typedef GtkFixedClass BaseClassType; private: friend class Fixed_Class; static CppClassType fixed_class; Fixed(const Fixed&); Fixed& operator=(const Fixed&); // not implemented protected: void initialize_class(); explicit Fixed(GtkFixed *castitem); public: static GtkType get_type(); GtkFixed* gtkobj() { return (GtkFixed*)(gtkobject); } const GtkFixed* gtkobj() const { return (GtkFixed*)(gtkobject); } static bool isA(Object *checkcast); // Hook for proxies static const char* const signal_names[]; virtual ~Fixed(); private: public: Fixed(); //: Adds a widget to a GtkFixed container at the given position. //- widget: The widget to add. //- //- x: The horizontal position to place the widget at. //- //- y: The vertical position to place the widget at. void put(Gtk::Widget& widget,gint16 x,gint16 y); //: Moves a child of a GtkFixed container to the given position. //- widget : the child widget. //- //- x: The horizontal position to move the widget to. //- //- y: The vertical position to move the widget to. void move(Gtk::Widget& widget,gint16 x,gint16 y); public: protected: // impl functions }; } #endif .