libgnomeuimm 2.28.0
entry.h
Go to the documentation of this file.
1// -*- c++ -*-
2// Generated by gtkmmproc -- DO NOT MODIFY!
3#ifndef _LIBGNOMEUIMM_ENTRY_H
4#define _LIBGNOMEUIMM_ENTRY_H
5
6
7#include <glibmm.h>
8
9/* $Id: entry.hg,v 1.13 2004/03/30 15:05:27 mxpxpod Exp $ */
10
11
12/* entry.hg
13 *
14 * Copyright (C) 1999 The Gtk-- Development Team
15 *
16 * This library is free software; you can redistribute it and/or
17 * modify it under the terms of the GNU Lesser General Public
18 * License as published by the Free Software Foundation; either
19 * version 2.1 of the License, or (at your option) any later version.
20 *
21 * This library is distributed in the hope that it will be useful,
22 * but WITHOUT ANY WARRANTY; without even the implied warranty of
23 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
24 * Lesser General Public License for more details.
25 *
26 * You should have received a copy of the GNU Lesser General Public
27 * License along with this library; if not, write to the Free
28 * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
29 */
30
31#include <gtkmm/combo.h>
32//#include <libgnomeui/gnome-entry.h>
33
34
35#ifndef DOXYGEN_SHOULD_SKIP_THIS
36typedef struct _GnomeEntry GnomeEntry;
37typedef struct _GnomeEntryClass GnomeEntryClass;
38#endif /* DOXYGEN_SHOULD_SKIP_THIS */
39
40
41namespace Gnome
42{
43
44namespace UI
45{ class Entry_Class; } // namespace UI
46
47} // namespace Gnome
48namespace Gnome
49{
50
51namespace UI
52{
53
54#ifndef GNOMEMM_DISABLE_DEPRECATED
55
56
57class Entry
58: virtual public Gtk::Combo,
59 virtual public Gtk::Editable
60{
61 public:
62#ifndef DOXYGEN_SHOULD_SKIP_THIS
63 typedef Entry CppObjectType;
64 typedef Entry_Class CppClassType;
65 typedef GnomeEntry BaseObjectType;
66 typedef GnomeEntryClass BaseClassType;
67#endif /* DOXYGEN_SHOULD_SKIP_THIS */
68
69 virtual ~Entry();
70
71#ifndef DOXYGEN_SHOULD_SKIP_THIS
72
73private:
74 friend class Entry_Class;
75 static CppClassType entry_class_;
76
77 // noncopyable
78 Entry(const Entry&);
79 Entry& operator=(const Entry&);
80
81protected:
82 explicit Entry(const Glib::ConstructParams& construct_params);
83 explicit Entry(GnomeEntry* castitem);
84
85#endif /* DOXYGEN_SHOULD_SKIP_THIS */
86
87public:
88#ifndef DOXYGEN_SHOULD_SKIP_THIS
89 static GType get_type() G_GNUC_CONST;
90
91
92 static GType get_base_type() G_GNUC_CONST;
93#endif
94
96 GnomeEntry* gobj() { return reinterpret_cast<GnomeEntry*>(gobject_); }
97
99 const GnomeEntry* gobj() const { return reinterpret_cast<GnomeEntry*>(gobject_); }
100
101
102public:
103 //C++ methods used to invoke GTK+ virtual functions:
104#ifdef GLIBMM_VFUNCS_ENABLED
105#endif //GLIBMM_VFUNCS_ENABLED
106
107protected:
108 //GTK+ Virtual Functions (override these to change behaviour):
109#ifdef GLIBMM_VFUNCS_ENABLED
110#endif //GLIBMM_VFUNCS_ENABLED
111
112 //Default Signal Handlers::
113#ifdef GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED
114 virtual void on_activate();
115#endif //GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED
116
117
118private:
119
120
121public:
123
124 Gtk::Entry* get_gtk_entry();
125 const Gtk::Entry* get_gtk_entry() const;
126
127
128 void set_history_id(const Glib::ustring& history_id);
129
130 Glib::ustring get_history_id() const;
131
132 void set_max_saved(guint max_saved);
133
134 guint get_max_saved() const;
135
136 void prepend_history(bool save, const Glib::ustring& text);
137
138 void append_history(bool save, const Glib::ustring& text);
139
141
142
148 Glib::SignalProxy0< void > signal_activate();
149
150
151 #ifdef GLIBMM_PROPERTIES_ENABLED
158 Glib::PropertyProxy<Glib::ustring> property_history_id() ;
159#endif //#GLIBMM_PROPERTIES_ENABLED
160
161#ifdef GLIBMM_PROPERTIES_ENABLED
168 Glib::PropertyProxy_ReadOnly<Glib::ustring> property_history_id() const;
169#endif //#GLIBMM_PROPERTIES_ENABLED
170
171 #ifdef GLIBMM_PROPERTIES_ENABLED
178 Glib::PropertyProxy_ReadOnly<Gtk::Entry> property_gtk_entry() const;
179#endif //#GLIBMM_PROPERTIES_ENABLED
180
181
182};
183
184#endif //GNOMEMM_DISABLE_DEPRECATED
185
186} /* namespace UI */
187} /* namespace Gnome */
188
189
190namespace Glib
191{
200 Gnome::UI::Entry* wrap(GnomeEntry* object, bool take_copy = false);
201} //namespace Glib
202
203
204#endif /* _LIBGNOMEUIMM_ENTRY_H */
205
Definition: entry.h:60
const Gtk::Entry * get_gtk_entry() const
Glib::SignalProxy0< void > signal_activate()
void set_max_saved(guint max_saved)
Glib::PropertyProxy_ReadOnly< Gtk::Entry > property_gtk_entry() const
You rarely need to use properties because there are get_ and set_ methods for almost all of them.
void append_history(bool save, const Glib::ustring &text)
Gnome::UI::Entry * wrap(GnomeEntry *object, bool take_copy=false)
A Glib::wrap() method for this object.
virtual ~Entry()
void set_history_id(const Glib::ustring &history_id)
Glib::ustring get_history_id() const
Glib::PropertyProxy< Glib::ustring > property_history_id()
You rarely need to use properties because there are get_ and set_ methods for almost all of them.
Gtk::Entry * get_gtk_entry()
void prepend_history(bool save, const Glib::ustring &text)
Glib::PropertyProxy_ReadOnly< Glib::ustring > property_history_id() const
You rarely need to use properties because there are get_ and set_ methods for almost all of them.
virtual void on_activate()
guint get_max_saved() const
GnomeEntry * gobj()
Provides access to the underlying C GtkObject.
Definition: entry.h:96
const GnomeEntry * gobj() const
Provides access to the underlying C GtkObject.
Definition: entry.h:99
Definition: about.h:306
Definition: about.h:46