// -*- c++ -*- // Generated by gtkmmproc -- DO NOT MODIFY! #ifndef _GTKMM_STYLE_H #define _GTKMM_STYLE_H #include #include /* $Id$ */ /* Copyright (C) 1998-2002 The gtkmm 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. */ // This is for including the config header before any code (such as // the #ifndef GTKMM_DISABLE_DEPRECATED in deprecated classes) is generated: #include #include #include #include #include #include #include #include #include #include #include #ifndef DOXYGEN_SHOULD_SKIP_THIS typedef struct _GtkStyle GtkStyle; typedef struct _GtkStyleClass GtkStyleClass; #endif /* DOXYGEN_SHOULD_SKIP_THIS */ namespace Gtk { class Style_Class; } // namespace Gtk namespace Gtk { class Widget; class RcStyle; class Style : public Glib::Object { #ifndef DOXYGEN_SHOULD_SKIP_THIS public: typedef Style CppObjectType; typedef Style_Class CppClassType; typedef GtkStyle BaseObjectType; typedef GtkStyleClass BaseClassType; private: friend class Style_Class; static CppClassType style_class_; private: // noncopyable Style(const Style&); Style& operator=(const Style&); protected: explicit Style(const Glib::ConstructParams& construct_params); explicit Style(GtkStyle* castitem); #endif /* DOXYGEN_SHOULD_SKIP_THIS */ public: virtual ~Style(); #ifndef DOXYGEN_SHOULD_SKIP_THIS static GType get_type() G_GNUC_CONST; static GType get_base_type() G_GNUC_CONST; #endif ///Provides access to the underlying C GObject. GtkStyle* gobj() { return reinterpret_cast(gobject_); } ///Provides access to the underlying C GObject. const GtkStyle* gobj() const { return reinterpret_cast(gobject_); } ///Provides access to the underlying C instance. The caller is responsible for unrefing it. Use when directly setting fields in structs. GtkStyle* gobj_copy(); private: protected: Style(); public: static Glib::RefPtr