// -*- c++ -*- // Generated by gtkmmproc from ./../eventbox.gen_h -- DO NOT MODIFY! #ifndef _GTKMM_EVENTBOX_H #define _GTKMM_EVENTBOX_H /* $Id: eventbox.h,v 1.2 2003/06/17 16:37:40 pbd Exp $ */ /* eventbox.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 <gtk--/bin.h> #include <gtk/gtkeventbox.h> namespace Gtk { class EventBox; class EventBox_Class; } namespace Gtk { Gtk::EventBox *wrap (GtkEventBox *o); } namespace Gtk { //: Event capturing box //- This widget is used to force a physical window where one does not //- normally appear. The widget is transparent and has no physical //- appearence. The widget contained within will be clipped to the //- size of the EventBox and will receive any event which is specified //- with {set_events()}. //- //- This widget is generally used to add {Gtk::Tooltips::}, button presses, //- and clipping to widgets derived from {Gtk::Misc::}. class EventBox : public Bin { public: typedef EventBox CppObjectType; typedef EventBox_Class CppClassType; typedef GtkEventBox BaseObjectType; typedef GtkEventBoxClass BaseClassType; private: friend class EventBox_Class; static CppClassType event_box_class; EventBox(const EventBox&); EventBox& operator=(const EventBox&); // not implemented protected: void initialize_class(); explicit EventBox(GtkEventBox *castitem); public: static GtkType get_type(); GtkEventBox* gtkobj() { return (GtkEventBox*)(gtkobject); } const GtkEventBox* gtkobj() const { return (GtkEventBox*)(gtkobject); } static bool isA(Object *checkcast); // Hook for proxies static const char* const signal_names[]; virtual ~EventBox(); private: public: EventBox(); public: protected: // impl functions }; } #endif