Ardour  9.0-pre0-384-ga76afae0e9
iconfactory.h
Go to the documentation of this file.
1 // -*- c++ -*-
2 // Generated by gmmproc 2.45.3 -- DO NOT MODIFY!
3 #ifndef _GTKMM_ICONFACTORY_H
4 #define _GTKMM_ICONFACTORY_H
5 
6 
7 #include <glibmm/ustring.h>
8 #include <sigc++/sigc++.h>
9 
10 /* $Id: iconfactory.hg,v 1.1 2003/01/21 13:40:26 murrayc Exp $ */
11 
12 /* Copyright (C) 1998-2002 The gtkmm Development Team
13  *
14  * This library is free software; you can redistribute it and/or
15  * modify it under the terms of the GNU Lesser General Public
16  * License as published by the Free Software Foundation; either
17  * version 2.1 of the License, or (at your option) any later version.
18  *
19  * This library is distributed in the hope that it will be useful,
20  * but WITHOUT ANY WARRANTY; without even the implied warranty of
21  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
22  * Lesser General Public License for more details.
23  *
24  * You should have received a copy of the GNU Lesser General Public
25  * License along with this library; if not, write to the Free
26  * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
27  */
28 
29 
30 #include <gtkmm/enums.h>
31 #include <gtkmm/object.h>
32 #include <gtkmm/enums.h>
33 #include <gtkmm/iconset.h>
34 #include <gtkmm/stockid.h>
35 
36 
37 #ifndef DOXYGEN_SHOULD_SKIP_THIS
38 typedef struct _GtkIconFactory GtkIconFactory;
40 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
41 
42 
43 #ifndef DOXYGEN_SHOULD_SKIP_THIS
44 namespace Gtk
45 { class IconFactory_Class; } // namespace Gtk
46 #endif //DOXYGEN_SHOULD_SKIP_THIS
47 
48 namespace Gtk
49 {
50 
51 
52 class IconFactory : public Glib::Object
53 {
54 
55 #ifndef DOXYGEN_SHOULD_SKIP_THIS
56 
57 public:
58  typedef IconFactory CppObjectType;
59  typedef IconFactory_Class CppClassType;
60  typedef GtkIconFactory BaseObjectType;
61  typedef GtkIconFactoryClass BaseClassType;
62 
63 private: friend class IconFactory_Class;
64  static CppClassType iconfactory_class_;
65 
66 private:
67  // noncopyable
68  IconFactory(const IconFactory&);
69  IconFactory& operator=(const IconFactory&);
70 
71 protected:
72  explicit IconFactory(const Glib::ConstructParams& construct_params);
73  explicit IconFactory(GtkIconFactory* castitem);
74 
75 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
76 
77 public:
78  virtual ~IconFactory();
79 
82  static GType get_type() G_GNUC_CONST;
83 
84 #ifndef DOXYGEN_SHOULD_SKIP_THIS
85 
86 
87  static GType get_base_type() G_GNUC_CONST;
88 #endif
89 
91  GtkIconFactory* gobj() { return reinterpret_cast<GtkIconFactory*>(gobject_); }
92 
94  const GtkIconFactory* gobj() const { return reinterpret_cast<GtkIconFactory*>(gobject_); }
95 
98 
99 private:
100 
101  //gtkmmproc error: gtk_icon_factory_lookup_for_settings : ignored method defs lookup failed
102 protected:
103 
105 
106 public:
107 
108  static Glib::RefPtr<IconFactory> create();
109 
110 
125  void add(const Gtk::StockID& stock_id, const IconSet& icon_set);
126 
134  void add_default();
135 
141 
142 
143 public:
144 
145 public:
146  //C++ methods used to invoke GTK+ virtual functions:
147 
148 protected:
149  //GTK+ Virtual Functions (override these to change behaviour):
150 
151  //Default Signal Handlers::
152 
153 
154 };
155 
156 } // namespace Gtk
157 
158 
159 namespace Glib
160 {
169  Glib::RefPtr<Gtk::IconFactory> wrap(GtkIconFactory* object, bool take_copy = false);
170 }
171 
172 
173 #endif /* _GTKMM_ICONFACTORY_H */
174 
GtkIconFactory * gobj()
Provides access to the underlying C GObject.
Definition: iconfactory.h:91
virtual ~IconFactory()
Glib::RefPtr< Gtk::IconFactory > wrap(GtkIconFactory *object, bool take_copy=false)
static Glib::RefPtr< IconFactory > create()
static GType get_type() G_GNUC_CONST
GtkIconFactory * gobj_copy()
Provides access to the underlying C instance. The caller is responsible for unrefing it....
void add(const Gtk::StockID &stock_id, const IconSet &icon_set)
const GtkIconFactory * gobj() const
Provides access to the underlying C GObject.
Definition: iconfactory.h:94
typedefG_BEGIN_DECLS struct _GtkIconFactoryClass GtkIconFactoryClass
GtkImageIconSetData icon_set
Definition: gtkimage.h:4
typedefG_BEGIN_DECLS struct _GtkIconFactory GtkIconFactory
Definition: gtkrc.h:40
Definition: ardour_ui.h:187