icon-entry.h

Go to the documentation of this file.
00001 // -*- c++ -*-
00002 // Generated by gtkmmproc -- DO NOT MODIFY!
00003 #ifndef _LIBGNOMEUIMM_ICON_ENTRY_H
00004 #define _LIBGNOMEUIMM_ICON_ENTRY_H
00005 
00006 
00007 #include <glibmm.h>
00008 
00009 /* $Id: icon-entry.hg,v 1.12 2004/04/06 21:16:41 mxpxpod Exp $ */
00010 
00011 
00012 /* icon-entry.hg
00013  * 
00014  * Copyright (C) 1999 The Gtk-- Development Team
00015  *
00016  * This library is free software; you can redistribute it and/or
00017  * modify it under the terms of the GNU Library General Public
00018  * License as published by the Free Software Foundation; either
00019  * version 2 of the License, or (at your option) any later version.
00020  *
00021  * This library is distributed in the hope that it will be useful,
00022  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00023  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00024  * Library General Public License for more details.
00025  *
00026  * You should have received a copy of the GNU Library General Public
00027  * License along with this library; if not, write to the Free
00028  * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
00029  */
00030 
00031 #include <gtkmm/box.h>
00032 //#include <libgnomeui/gnome-icon-entry.h>
00033 #include <libgnomeuimm/file-entry.h>
00034 #include <libgnomeuimm/entry.h>
00035 #include <gtkmm/entry.h>
00036 
00037 
00038 #ifndef DOXYGEN_SHOULD_SKIP_THIS
00039 typedef struct _GnomeIconEntry GnomeIconEntry;
00040 typedef struct _GnomeIconEntryClass GnomeIconEntryClass;
00041 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
00042 
00043 
00044 namespace Gnome
00045 {
00046 
00047 namespace UI
00048 { class IconEntry_Class; } // namespace UI
00049 
00050 } // namespace Gnome
00051 namespace Gnome
00052 {
00053 
00054 namespace UI
00055 {
00056 
00057 
00058 class IconEntry : public Gtk::VBox
00059 {
00060   public:
00061 #ifndef DOXYGEN_SHOULD_SKIP_THIS
00062   typedef IconEntry CppObjectType;
00063   typedef IconEntry_Class CppClassType;
00064   typedef GnomeIconEntry BaseObjectType;
00065   typedef GnomeIconEntryClass BaseClassType;
00066 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
00067 
00068   virtual ~IconEntry();
00069 
00070 #ifndef DOXYGEN_SHOULD_SKIP_THIS
00071 
00072 private:
00073   friend class IconEntry_Class;
00074   static CppClassType iconentry_class_;
00075 
00076   // noncopyable
00077   IconEntry(const IconEntry&);
00078   IconEntry& operator=(const IconEntry&);
00079 
00080 protected:
00081   explicit IconEntry(const Glib::ConstructParams& construct_params);
00082   explicit IconEntry(GnomeIconEntry* castitem);
00083 
00084 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
00085 
00086 public:
00087 #ifndef DOXYGEN_SHOULD_SKIP_THIS
00088   static GType get_type()      G_GNUC_CONST;
00089   static GType get_base_type() G_GNUC_CONST;
00090 #endif
00091 
00093   GnomeIconEntry*       gobj()       { return reinterpret_cast<GnomeIconEntry*>(gobject_); }
00094 
00096   const GnomeIconEntry* gobj() const { return reinterpret_cast<GnomeIconEntry*>(gobject_); }
00097 
00098 
00099 public:
00100   //C++ methods used to invoke GTK+ virtual functions:
00101 #ifdef GLIBMM_VFUNCS_ENABLED
00102 #endif //GLIBMM_VFUNCS_ENABLED
00103 
00104 protected:
00105   //GTK+ Virtual Functions (override these to change behaviour):
00106 #ifdef GLIBMM_VFUNCS_ENABLED
00107 #endif //GLIBMM_VFUNCS_ENABLED
00108 
00109   //Default Signal Handlers::
00110 #ifdef GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED
00111   virtual void on_changed();
00112   virtual void on_browse();
00113 #endif //GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED
00114 
00115 
00116 private:
00117 
00118   // These are deprecated
00119   
00120 public:
00121   IconEntry(const Glib::ustring& history_id, const Glib::ustring& browse_dialog_title);
00122   
00123 
00124   void set_pixmap_subdir(const Glib::ustring& subdir);
00125   
00126   Glib::ustring get_filename() const;
00127   
00128   bool set_filename(const Glib::ustring& filename);
00129   
00130   void set_browse_dialog_title(const Glib::ustring& browse_dialog_title);
00131   
00132   void set_history_id(const Glib::ustring& history_id);
00133   
00134   void set_max_saved(guint max_saved);
00135 
00136   
00137   Gtk::Widget* get_pick_dialog();
00138   
00139   const Gtk::Widget* get_pick_dialog() const;
00140 
00141   
00142   Glib::SignalProxy0< void > signal_changed();
00143 
00144   
00145   Glib::SignalProxy0< void > signal_browse();
00146 
00147 
00148 };
00149 
00150 } /* namespace UI */
00151 } /* namespace Gnome */
00152 
00153 
00154 namespace Glib
00155 {
00161   Gnome::UI::IconEntry* wrap(GnomeIconEntry* object, bool take_copy = false);
00162 } //namespace Glib
00163 
00164 
00165 #endif /* _LIBGNOMEUIMM_ICON_ENTRY_H */
00166 

Generated on Tue Aug 22 13:29:05 2006 for libgnomeuimm by  doxygen 1.4.7