Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members

entry.h

Go to the documentation of this file.
00001 // -*- c++ -*- 00002 // Generated by gtkmmproc -- DO NOT MODIFY! 00003 #ifndef _LIBGNOMEUIMM_ENTRY_H 00004 #define _LIBGNOMEUIMM_ENTRY_H 00005 00006 #include <glibmm.h> 00007 00008 /* $Id: entry.hg,v 1.13 2004/03/30 15:05:27 mxpxpod Exp $ */ 00009 00010 00011 /* entry.hg 00012 * 00013 * Copyright (C) 1999 The Gtk-- Development Team 00014 * 00015 * This library is free software; you can redistribute it and/or 00016 * modify it under the terms of the GNU Library General Public 00017 * License as published by the Free Software Foundation; either 00018 * version 2 of the License, or (at your option) any later version. 00019 * 00020 * This library is distributed in the hope that it will be useful, 00021 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00022 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00023 * Library General Public License for more details. 00024 * 00025 * You should have received a copy of the GNU Library General Public 00026 * License along with this library; if not, write to the Free 00027 * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. 00028 */ 00029 00030 #include <gtkmm/combo.h> 00031 //#include <libgnomeui/gnome-entry.h> 00032 00033 00034 #ifndef DOXYGEN_SHOULD_SKIP_THIS 00035 typedef struct _GnomeEntry GnomeEntry; 00036 typedef struct _GnomeEntryClass GnomeEntryClass; 00037 #endif /* DOXYGEN_SHOULD_SKIP_THIS */ 00038 00039 00040 namespace Gnome 00041 { 00042 00043 namespace UI 00044 { class Entry_Class; } // namespace UI 00045 00046 } // namespace Gnome 00047 namespace Gnome 00048 { 00049 00050 namespace UI 00051 { 00052 00053 #ifndef GNOMEMM_DISABLE_DEPRECATED 00054 00055 00056 class Entry 00057 : virtual public Gtk::Combo, 00058 virtual public Gtk::Editable 00059 { 00060 public: 00061 #ifndef DOXYGEN_SHOULD_SKIP_THIS 00062 typedef Entry CppObjectType; 00063 typedef Entry_Class CppClassType; 00064 typedef GnomeEntry BaseObjectType; 00065 typedef GnomeEntryClass BaseClassType; 00066 #endif /* DOXYGEN_SHOULD_SKIP_THIS */ 00067 00068 virtual ~Entry(); 00069 00070 #ifndef DOXYGEN_SHOULD_SKIP_THIS 00071 00072 private: 00073 friend class Entry_Class; 00074 static CppClassType entry_class_; 00075 00076 // noncopyable 00077 Entry(const Entry&); 00078 Entry& operator=(const Entry&); 00079 00080 protected: 00081 explicit Entry(const Glib::ConstructParams& construct_params); 00082 explicit Entry(GnomeEntry* 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 GnomeEntry* gobj() { return reinterpret_cast<GnomeEntry*>(gobject_); } 00094 00096 const GnomeEntry* gobj() const { return reinterpret_cast<GnomeEntry*>(gobject_); } 00097 00098 00099 public: 00100 //C++ methods used to invoke GTK+ virtual functions: 00101 00102 protected: 00103 //GTK+ Virtual Functions (override these to change behaviour): 00104 00105 //Default Signal Handlers:: 00106 virtual void on_activate(); 00107 00108 00109 private: 00110 00111 00112 public: 00113 Entry(); 00114 00115 Gtk::Entry* get_gtk_entry(); 00116 const Gtk::Entry* get_gtk_entry() const; 00117 00118 00119 void set_history_id(const Glib::ustring& history_id); 00120 00121 Glib::ustring get_history_id() const; 00122 00123 void set_max_saved(guint max_saved); 00124 00125 guint get_max_saved() const; 00126 00127 void prepend_history(bool save, const Glib::ustring& text); 00128 00129 void append_history(bool save, const Glib::ustring& text); 00130 00131 void clear_history(); 00132 00133 00134 Glib::SignalProxy0< void > signal_activate(); 00135 00136 00141 Glib::PropertyProxy<Glib::ustring> property_history_id() ; 00142 00147 Glib::PropertyProxy_ReadOnly<Glib::ustring> property_history_id() const; 00148 00153 Glib::PropertyProxy_ReadOnly<Gtk::Entry> property_gtk_entry() const; 00154 00155 00156 }; 00157 00158 #endif //GNOMEMM_DISABLE_DEPRECATED 00159 00160 } /* namespace UI */ 00161 } /* namespace Gnome */ 00162 00163 00164 namespace Glib 00165 { 00171 Gnome::UI::Entry* wrap(GnomeEntry* object, bool take_copy = false); 00172 } 00173 #endif /* _LIBGNOMEUIMM_ENTRY_H */ 00174

Generated on Mon Jul 5 15:34:13 2004 for libgnomeuimm by doxygen 1.3.7