libgnomeuimm  2.28.0
about.h
Go to the documentation of this file.
1 // -*- c++ -*-
2 // Generated by gtkmmproc -- DO NOT MODIFY!
3 #ifndef _LIBGNOMEUIMM_ABOUT_H
4 #define _LIBGNOMEUIMM_ABOUT_H
5 
6 
7 #include <glibmm.h>
8 
9 // -*- C++ -*-
10 
11 /* $Id: about.hg,v 1.9 2002/06/16 16:14:58 murrayc Exp $ */
12 
13 /* about.h
14  *
15  * Copyright (C) 1998 EMC Capital Management Inc.
16  * Developed by Havoc Pennington <hp@pobox.com>
17  *
18  * Copyright (C) 1999 The Gtk-- Development Team
19  *
20  * This library is free software; you can redistribute it and/or
21  * modify it under the terms of the GNU Lesser General Public
22  * License as published by the Free Software Foundation; either
23  * version 2.1 of the License, or (at your option) any later version.
24  *
25  * This library is distributed in the hope that it will be useful,
26  * but WITHOUT ANY WARRANTY; without even the implied warranty of
27  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
28  * Lesser General Public License for more details.
29  *
30  * You should have received a copy of the GNU Lesser General Public
31  * License along with this library; if not, write to the Free
32  * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
33  */
34 
35 #include <glibmm/arrayhandle.h>
36 #include <gtkmm/dialog.h>
37 
38 
39 #ifndef DOXYGEN_SHOULD_SKIP_THIS
40 typedef struct _GnomeAbout GnomeAbout;
41 typedef struct _GnomeAboutClass GnomeAboutClass;
42 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
43 
44 
45 namespace Gnome
46 {
47 
48 namespace UI
49 { class About_Class; } // namespace UI
50 
51 } // namespace Gnome
52 namespace Gnome
53 {
54 
55 namespace UI
56 {
57 
66 class About : public Gtk::Dialog
67 {
68  public:
69 #ifndef DOXYGEN_SHOULD_SKIP_THIS
70  typedef About CppObjectType;
71  typedef About_Class CppClassType;
72  typedef GnomeAbout BaseObjectType;
73  typedef GnomeAboutClass BaseClassType;
74 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
75 
76  virtual ~About();
77 
78 #ifndef DOXYGEN_SHOULD_SKIP_THIS
79 
80 private:
81  friend class About_Class;
82  static CppClassType about_class_;
83 
84  // noncopyable
85  About(const About&);
86  About& operator=(const About&);
87 
88 protected:
89  explicit About(const Glib::ConstructParams& construct_params);
90  explicit About(GnomeAbout* castitem);
91 
92 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
93 
94 public:
95 #ifndef DOXYGEN_SHOULD_SKIP_THIS
96  static GType get_type() G_GNUC_CONST;
97 
98 
99  static GType get_base_type() G_GNUC_CONST;
100 #endif
101 
103  GnomeAbout* gobj() { return reinterpret_cast<GnomeAbout*>(gobject_); }
104 
106  const GnomeAbout* gobj() const { return reinterpret_cast<GnomeAbout*>(gobject_); }
107 
108 
109 public:
110  //C++ methods used to invoke GTK+ virtual functions:
111 #ifdef GLIBMM_VFUNCS_ENABLED
112 #endif //GLIBMM_VFUNCS_ENABLED
113 
114 protected:
115  //GTK+ Virtual Functions (override these to change behaviour):
116 #ifdef GLIBMM_VFUNCS_ENABLED
117 #endif //GLIBMM_VFUNCS_ENABLED
118 
119  //Default Signal Handlers::
120 #ifdef GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED
121 #endif //GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED
122 
123 
124 private:
125 
126 
127 public:
162  About(const Glib::ustring& name,
163  const Glib::ustring& version,
164  const Glib::ustring& copyright,
165  const Glib::ArrayHandle<Glib::ustring>& authors,
166  const Glib::ArrayHandle<Glib::ustring>& documenters,
167  const Glib::ustring& comments = Glib::ustring(),
168  const Glib::ustring& translator_credits = Glib::ustring());
169 
173  About(const Glib::ustring& name,
174  const Glib::ustring& version,
175  const Glib::ustring& copyright,
176  const Glib::ArrayHandle<Glib::ustring>& authors,
177  const Glib::ArrayHandle<Glib::ustring>& documenters,
178  const Glib::ustring& comments,
179  const Glib::ustring& translator_credits,
180  const Glib::RefPtr<Gdk::Pixbuf>& logo);
181 
184  #ifdef GLIBMM_PROPERTIES_ENABLED
185 
191  Glib::PropertyProxy<Glib::ustring> property_name() ;
192 #endif //#GLIBMM_PROPERTIES_ENABLED
193 
194 #ifdef GLIBMM_PROPERTIES_ENABLED
195 
201  Glib::PropertyProxy_ReadOnly<Glib::ustring> property_name() const;
202 #endif //#GLIBMM_PROPERTIES_ENABLED
203 
204 
207  #ifdef GLIBMM_PROPERTIES_ENABLED
208 
214  Glib::PropertyProxy<Glib::ustring> property_version() ;
215 #endif //#GLIBMM_PROPERTIES_ENABLED
216 
217 #ifdef GLIBMM_PROPERTIES_ENABLED
218 
224  Glib::PropertyProxy_ReadOnly<Glib::ustring> property_version() const;
225 #endif //#GLIBMM_PROPERTIES_ENABLED
226 
227 
230  #ifdef GLIBMM_PROPERTIES_ENABLED
231 
237  Glib::PropertyProxy<Glib::ustring> property_copyright() ;
238 #endif //#GLIBMM_PROPERTIES_ENABLED
239 
240 #ifdef GLIBMM_PROPERTIES_ENABLED
241 
247  Glib::PropertyProxy_ReadOnly<Glib::ustring> property_copyright() const;
248 #endif //#GLIBMM_PROPERTIES_ENABLED
249 
250 
253  #ifdef GLIBMM_PROPERTIES_ENABLED
254 
260  Glib::PropertyProxy<Glib::ustring> property_comments() ;
261 #endif //#GLIBMM_PROPERTIES_ENABLED
262 
263 #ifdef GLIBMM_PROPERTIES_ENABLED
264 
270  Glib::PropertyProxy_ReadOnly<Glib::ustring> property_comments() const;
271 #endif //#GLIBMM_PROPERTIES_ENABLED
272 
273  //TODO: _WRAP_PROPERTY("authors", GParamValueArray)
274  //TODO: _WRAP_PROPERTY("documenters", GParamValueArray)
275 
278  #ifdef GLIBMM_PROPERTIES_ENABLED
279 
285  Glib::PropertyProxy<Glib::ustring> property_translator_credits() ;
286 #endif //#GLIBMM_PROPERTIES_ENABLED
287 
288 #ifdef GLIBMM_PROPERTIES_ENABLED
289 
295  Glib::PropertyProxy_ReadOnly<Glib::ustring> property_translator_credits() const;
296 #endif //#GLIBMM_PROPERTIES_ENABLED
297 
298 
299 };
300 
301 } /* namespace UI */
302 } /* namespace Gnome */
303 
304 
305 namespace Glib
306 {
315  Gnome::UI::About* wrap(GnomeAbout* object, bool take_copy = false);
316 } //namespace Glib
317 
318 
319 #endif /* _LIBGNOMEUIMM_ABOUT_H */
320