libgnomeuimm 2.28.0
icon-entry.h
Go to the documentation of this file.
1// -*- c++ -*-
2// Generated by gtkmmproc -- DO NOT MODIFY!
3#ifndef _LIBGNOMEUIMM_ICON_ENTRY_H
4#define _LIBGNOMEUIMM_ICON_ENTRY_H
5
6
7#include <glibmm.h>
8
9/* $Id: icon-entry.hg,v 1.12 2004/04/06 21:16:41 mxpxpod Exp $ */
10
11
12/* icon-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/box.h>
32//#include <libgnomeui/gnome-icon-entry.h>
34#include <libgnomeuimm/entry.h>
35#include <gtkmm/entry.h>
36
37
38#ifndef DOXYGEN_SHOULD_SKIP_THIS
39typedef struct _GnomeIconEntry GnomeIconEntry;
40typedef struct _GnomeIconEntryClass GnomeIconEntryClass;
41#endif /* DOXYGEN_SHOULD_SKIP_THIS */
42
43
44namespace Gnome
45{
46
47namespace UI
48{ class IconEntry_Class; } // namespace UI
49
50} // namespace Gnome
51namespace Gnome
52{
53
54namespace UI
55{
56
57
58class IconEntry : public Gtk::VBox
59{
60 public:
61#ifndef DOXYGEN_SHOULD_SKIP_THIS
62 typedef IconEntry CppObjectType;
63 typedef IconEntry_Class CppClassType;
64 typedef GnomeIconEntry BaseObjectType;
65 typedef GnomeIconEntryClass BaseClassType;
66#endif /* DOXYGEN_SHOULD_SKIP_THIS */
67
68 virtual ~IconEntry();
69
70#ifndef DOXYGEN_SHOULD_SKIP_THIS
71
72private:
73 friend class IconEntry_Class;
74 static CppClassType iconentry_class_;
75
76 // noncopyable
77 IconEntry(const IconEntry&);
78 IconEntry& operator=(const IconEntry&);
79
80protected:
81 explicit IconEntry(const Glib::ConstructParams& construct_params);
82 explicit IconEntry(GnomeIconEntry* castitem);
83
84#endif /* DOXYGEN_SHOULD_SKIP_THIS */
85
86public:
87#ifndef DOXYGEN_SHOULD_SKIP_THIS
88 static GType get_type() G_GNUC_CONST;
89
90
91 static GType get_base_type() G_GNUC_CONST;
92#endif
93
95 GnomeIconEntry* gobj() { return reinterpret_cast<GnomeIconEntry*>(gobject_); }
96
98 const GnomeIconEntry* gobj() const { return reinterpret_cast<GnomeIconEntry*>(gobject_); }
99
100
101public:
102 //C++ methods used to invoke GTK+ virtual functions:
103#ifdef GLIBMM_VFUNCS_ENABLED
104#endif //GLIBMM_VFUNCS_ENABLED
105
106protected:
107 //GTK+ Virtual Functions (override these to change behaviour):
108#ifdef GLIBMM_VFUNCS_ENABLED
109#endif //GLIBMM_VFUNCS_ENABLED
110
111 //Default Signal Handlers::
112#ifdef GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED
113 virtual void on_changed();
114 virtual void on_browse();
115#endif //GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED
116
117
118private:
119
120 // These are deprecated
121
122public:
123 IconEntry(const Glib::ustring& history_id, const Glib::ustring& browse_dialog_title);
124
125
126 void set_pixmap_subdir(const Glib::ustring& subdir);
127
128 Glib::ustring get_filename() const;
129
130 bool set_filename(const Glib::ustring& filename);
131
132 void set_browse_dialog_title(const Glib::ustring& browse_dialog_title);
133
134 void set_history_id(const Glib::ustring& history_id);
135
136 void set_max_saved(guint max_saved);
137
138
139 Gtk::Widget* get_pick_dialog();
140
141 const Gtk::Widget* get_pick_dialog() const;
142
143
149 Glib::SignalProxy0< void > signal_changed();
150
151
157 Glib::SignalProxy0< void > signal_browse();
158
159
160};
161
162} /* namespace UI */
163} /* namespace Gnome */
164
165
166namespace Glib
167{
176 Gnome::UI::IconEntry* wrap(GnomeIconEntry* object, bool take_copy = false);
177} //namespace Glib
178
179
180#endif /* _LIBGNOMEUIMM_ICON_ENTRY_H */
181
Definition: icon-entry.h:59
void set_browse_dialog_title(const Glib::ustring &browse_dialog_title)
const GnomeIconEntry * gobj() const
Provides access to the underlying C GtkObject.
Definition: icon-entry.h:98
Glib::SignalProxy0< void > signal_changed()
bool set_filename(const Glib::ustring &filename)
void set_history_id(const Glib::ustring &history_id)
virtual void on_browse()
void set_max_saved(guint max_saved)
GnomeIconEntry * gobj()
Provides access to the underlying C GtkObject.
Definition: icon-entry.h:95
Glib::SignalProxy0< void > signal_browse()
Gnome::UI::IconEntry * wrap(GnomeIconEntry *object, bool take_copy=false)
A Glib::wrap() method for this object.
const Gtk::Widget * get_pick_dialog() const
Glib::ustring get_filename() const
virtual void on_changed()
void set_pixmap_subdir(const Glib::ustring &subdir)
Gtk::Widget * get_pick_dialog()
IconEntry(const Glib::ustring &history_id, const Glib::ustring &browse_dialog_title)
Definition: about.h:306
Definition: about.h:46