libgnomeuimm 2.28.0
|
00001 // -*- c++ -*- 00002 // Generated by gtkmmproc -- DO NOT MODIFY! 00003 #ifndef _LIBGNOMEUIMM_ABOUT_H 00004 #define _LIBGNOMEUIMM_ABOUT_H 00005 00006 00007 #include <glibmm.h> 00008 00009 // -*- C++ -*- 00010 00011 /* $Id: about.hg,v 1.9 2002/06/16 16:14:58 murrayc Exp $ */ 00012 00013 /* about.h 00014 * 00015 * Copyright (C) 1998 EMC Capital Management Inc. 00016 * Developed by Havoc Pennington <hp@pobox.com> 00017 * 00018 * Copyright (C) 1999 The Gtk-- Development Team 00019 * 00020 * This library is free software; you can redistribute it and/or 00021 * modify it under the terms of the GNU Lesser General Public 00022 * License as published by the Free Software Foundation; either 00023 * version 2.1 of the License, or (at your option) any later version. 00024 * 00025 * This library is distributed in the hope that it will be useful, 00026 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00027 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00028 * Lesser General Public License for more details. 00029 * 00030 * You should have received a copy of the GNU Lesser General Public 00031 * License along with this library; if not, write to the Free 00032 * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. 00033 */ 00034 00035 #include <glibmm/arrayhandle.h> 00036 #include <gtkmm/dialog.h> 00037 00038 00039 #ifndef DOXYGEN_SHOULD_SKIP_THIS 00040 typedef struct _GnomeAbout GnomeAbout; 00041 typedef struct _GnomeAboutClass GnomeAboutClass; 00042 #endif /* DOXYGEN_SHOULD_SKIP_THIS */ 00043 00044 00045 namespace Gnome 00046 { 00047 00048 namespace UI 00049 { class About_Class; } // namespace UI 00050 00051 } // namespace Gnome 00052 namespace Gnome 00053 { 00054 00055 namespace UI 00056 { 00057 00066 class About : public Gtk::Dialog 00067 { 00068 public: 00069 #ifndef DOXYGEN_SHOULD_SKIP_THIS 00070 typedef About CppObjectType; 00071 typedef About_Class CppClassType; 00072 typedef GnomeAbout BaseObjectType; 00073 typedef GnomeAboutClass BaseClassType; 00074 #endif /* DOXYGEN_SHOULD_SKIP_THIS */ 00075 00076 virtual ~About(); 00077 00078 #ifndef DOXYGEN_SHOULD_SKIP_THIS 00079 00080 private: 00081 friend class About_Class; 00082 static CppClassType about_class_; 00083 00084 // noncopyable 00085 About(const About&); 00086 About& operator=(const About&); 00087 00088 protected: 00089 explicit About(const Glib::ConstructParams& construct_params); 00090 explicit About(GnomeAbout* castitem); 00091 00092 #endif /* DOXYGEN_SHOULD_SKIP_THIS */ 00093 00094 public: 00095 #ifndef DOXYGEN_SHOULD_SKIP_THIS 00096 static GType get_type() G_GNUC_CONST; 00097 00098 00099 static GType get_base_type() G_GNUC_CONST; 00100 #endif 00101 00103 GnomeAbout* gobj() { return reinterpret_cast<GnomeAbout*>(gobject_); } 00104 00106 const GnomeAbout* gobj() const { return reinterpret_cast<GnomeAbout*>(gobject_); } 00107 00108 00109 public: 00110 //C++ methods used to invoke GTK+ virtual functions: 00111 #ifdef GLIBMM_VFUNCS_ENABLED 00112 #endif //GLIBMM_VFUNCS_ENABLED 00113 00114 protected: 00115 //GTK+ Virtual Functions (override these to change behaviour): 00116 #ifdef GLIBMM_VFUNCS_ENABLED 00117 #endif //GLIBMM_VFUNCS_ENABLED 00118 00119 //Default Signal Handlers:: 00120 #ifdef GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED 00121 #endif //GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED 00122 00123 00124 private: 00125 00126 00127 public: 00162 About(const Glib::ustring& name, 00163 const Glib::ustring& version, 00164 const Glib::ustring& copyright, 00165 const Glib::ArrayHandle<Glib::ustring>& authors, 00166 const Glib::ArrayHandle<Glib::ustring>& documenters, 00167 const Glib::ustring& comments = Glib::ustring(), 00168 const Glib::ustring& translator_credits = Glib::ustring()); 00169 00173 About(const Glib::ustring& name, 00174 const Glib::ustring& version, 00175 const Glib::ustring& copyright, 00176 const Glib::ArrayHandle<Glib::ustring>& authors, 00177 const Glib::ArrayHandle<Glib::ustring>& documenters, 00178 const Glib::ustring& comments, 00179 const Glib::ustring& translator_credits, 00180 const Glib::RefPtr<Gdk::Pixbuf>& logo); 00181 00184 #ifdef GLIBMM_PROPERTIES_ENABLED 00185 00191 Glib::PropertyProxy<Glib::ustring> property_name() ; 00192 #endif //#GLIBMM_PROPERTIES_ENABLED 00193 00194 #ifdef GLIBMM_PROPERTIES_ENABLED 00195 00201 Glib::PropertyProxy_ReadOnly<Glib::ustring> property_name() const; 00202 #endif //#GLIBMM_PROPERTIES_ENABLED 00203 00204 00207 #ifdef GLIBMM_PROPERTIES_ENABLED 00208 00214 Glib::PropertyProxy<Glib::ustring> property_version() ; 00215 #endif //#GLIBMM_PROPERTIES_ENABLED 00216 00217 #ifdef GLIBMM_PROPERTIES_ENABLED 00218 00224 Glib::PropertyProxy_ReadOnly<Glib::ustring> property_version() const; 00225 #endif //#GLIBMM_PROPERTIES_ENABLED 00226 00227 00230 #ifdef GLIBMM_PROPERTIES_ENABLED 00231 00237 Glib::PropertyProxy<Glib::ustring> property_copyright() ; 00238 #endif //#GLIBMM_PROPERTIES_ENABLED 00239 00240 #ifdef GLIBMM_PROPERTIES_ENABLED 00241 00247 Glib::PropertyProxy_ReadOnly<Glib::ustring> property_copyright() const; 00248 #endif //#GLIBMM_PROPERTIES_ENABLED 00249 00250 00253 #ifdef GLIBMM_PROPERTIES_ENABLED 00254 00260 Glib::PropertyProxy<Glib::ustring> property_comments() ; 00261 #endif //#GLIBMM_PROPERTIES_ENABLED 00262 00263 #ifdef GLIBMM_PROPERTIES_ENABLED 00264 00270 Glib::PropertyProxy_ReadOnly<Glib::ustring> property_comments() const; 00271 #endif //#GLIBMM_PROPERTIES_ENABLED 00272 00273 //TODO: _WRAP_PROPERTY("authors", GParamValueArray) 00274 //TODO: _WRAP_PROPERTY("documenters", GParamValueArray) 00275 00278 #ifdef GLIBMM_PROPERTIES_ENABLED 00279 00285 Glib::PropertyProxy<Glib::ustring> property_translator_credits() ; 00286 #endif //#GLIBMM_PROPERTIES_ENABLED 00287 00288 #ifdef GLIBMM_PROPERTIES_ENABLED 00289 00295 Glib::PropertyProxy_ReadOnly<Glib::ustring> property_translator_credits() const; 00296 #endif //#GLIBMM_PROPERTIES_ENABLED 00297 00298 00299 }; 00300 00301 } /* namespace UI */ 00302 } /* namespace Gnome */ 00303 00304 00305 namespace Glib 00306 { 00315 Gnome::UI::About* wrap(GnomeAbout* object, bool take_copy = false); 00316 } //namespace Glib 00317 00318 00319 #endif /* _LIBGNOMEUIMM_ABOUT_H */ 00320