00001 // -*- c++ -*- 00002 // Generated by gtkmmproc -- DO NOT MODIFY! 00003 #ifndef _LIBGNOMEUIMM_ICON_LIST_H 00004 #define _LIBGNOMEUIMM_ICON_LIST_H 00005 00006 #include <glibmm.h> 00007 00008 // -*- C++ -*- // this is for the .hg, I realize gensig puts one in 00009 /* $Id: icon-list.hg,v 1.17 2003/05/18 12:47:18 murrayc Exp $ */ 00010 00011 /* icon-list.hg7 00063 typedef GnomeIconEntry BaseObjectType; 00064 typedef GnomeIconEntryClass BaseClassType; 00065 #endif /* DOXYGEN_SHOULD_SKIP_THIS */ 00066 00067 virtual ~IconEntry(); 00068 00069 #ifndef DOXYGEN_SHOULD_SKIP_THIS 00070 00071 private: 00072 friend class IconEntry_Class; 00073 static CppClassType iconentry_class_; 00074 00075 // noncopyable 00076 IconEntry(const IconEntry&); 00077 IconEntry& operator=(const IconEntry&); 00078 00079 protected: 00080 explicit IconEntry(const Glib::ConstructParams& construct_params); 00081 explicit IconEntry(GnomeIconEntry* castitem); 00082 00083 #endif /* DOXYGEN_SHOULD_SKIP_THIS */ 00084 00085 public: 00086 #ifndef DOXYGEN_SHOULD_SKIP_THIS 00087 static GType get_type() G_GNUC_CONST; 00088 static GType get_base_type() G_GNUC_CONST; 00089 #endif 00090 00092 GnomeIconEntry* gobj() { return reinterpret_cast<GnomeIconEntry*>(gobject_); } 00093 00095 const GnomeIconEntry* gobj() const { return reinterpret_cast<GnomeIconEntry*>(gobject_); } 00096 00097 00098 public: 00099 //C++ methods used to invoke GTK+ virtual functions: 00100 00101 protected: 00102 //GTK+ Virtual Functions (override these to change behaviour): 00103 00104 //Default Signal Handlers:: 00105 00106 00107 private: 00108 00109 public: 00110 00111 IconEntry(const Glib::ustring& history_id, const Glib::ustring& browse_dialog_title); 00112 00113 00114 void set_pixmap_subdir(const Glib::ustring& subdir); 00115 00116 Glib::ustring get_filename() const; 00117 00118 bool set_filename(const Glib::ustring& filename); 00119 00120 void set_browse_dialog_title(const Glib::ustring& browse_dialog_title); 00121 00122 void set_history_id(const Glib::ustring& history_id); 00123 00124 00125 Gtk::Widget* get_pick_dialog(); 00126 00127 const Gtk::Widget* get_pick_dialog() const; 00128 00129 00130 }; 00131 00132 } /* namespace UI */ 00133 } /* namespace Gnome */ 00134 00135 00136 namespace Glib 00137 { 00139 Gnome::UI::IconEntry* wrap(GnomeIconEntry* object, bool take_copy = false); 00140 } 00141 #endif /* _LIBGNOMEUIMM_ICON_ENTRY_H */ 00142
1.3.7