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
39 typedef struct _GnomeIconEntry GnomeIconEntry;
40 typedef struct _GnomeIconEntryClass GnomeIconEntryClass;
41 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
42 
43 
44 namespace Gnome
45 {
46 
47 namespace UI
48 { class IconEntry_Class; } // namespace UI
49 
50 } // namespace Gnome
51 namespace Gnome
52 {
53 
54 namespace UI
55 {
56 
57 
58 class 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 
72 private:
73  friend class IconEntry_Class;
74  static CppClassType iconentry_class_;
75 
76  // noncopyable
77  IconEntry(const IconEntry&);
78  IconEntry& operator=(const IconEntry&);
79 
80 protected:
81  explicit IconEntry(const Glib::ConstructParams& construct_params);
82  explicit IconEntry(GnomeIconEntry* castitem);
83 
84 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
85 
86 public:
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 
101 public:
102  //C++ methods used to invoke GTK+ virtual functions:
103 #ifdef GLIBMM_VFUNCS_ENABLED
104 #endif //GLIBMM_VFUNCS_ENABLED
105 
106 protected:
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 
118 private:
119 
120  // These are deprecated
121 
122 public:
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 
166 namespace 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 
file-entry.h
Gnome
Definition: about.h:46
Gnome::UI::IconEntry::gobj
GnomeIconEntry * gobj()
Provides access to the underlying C GtkObject.
Definition: icon-entry.h:95
Gnome::UI::IconEntry::on_changed
virtual void on_changed()
entry.h
Gnome::UI::IconEntry::set_filename
bool set_filename(const Glib::ustring &filename)
Gnome::UI::IconEntry::set_pixmap_subdir
void set_pixmap_subdir(const Glib::ustring &subdir)
Gnome::UI::IconEntry::signal_changed
Glib::SignalProxy0< void > signal_changed()
Gnome::UI::IconEntry::set_history_id
void set_history_id(const Glib::ustring &history_id)
Gnome::UI::IconEntry::signal_browse
Glib::SignalProxy0< void > signal_browse()
Gnome::UI::IconEntry::on_browse
virtual void on_browse()
Gnome::UI::IconEntry::wrap
Gnome::UI::IconEntry * wrap(GnomeIconEntry *object, bool take_copy=false)
A Glib::wrap() method for this object.
Gnome::UI::IconEntry::IconEntry
IconEntry(const Glib::ustring &history_id, const Glib::ustring &browse_dialog_title)
Gnome::UI::IconEntry::set_max_saved
void set_max_saved(guint max_saved)
Gnome::UI::IconEntry::get_pick_dialog
const Gtk::Widget * get_pick_dialog() const
Gnome::UI::IconEntry::get_pick_dialog
Gtk::Widget * get_pick_dialog()
Gnome::UI::IconEntry::set_browse_dialog_title
void set_browse_dialog_title(const Glib::ustring &browse_dialog_title)
Gnome::UI::IconEntry::get_filename
Glib::ustring get_filename() const
Gnome::UI::IconEntry::~IconEntry
virtual ~IconEntry()
Gnome::UI::IconEntry::gobj
const GnomeIconEntry * gobj() const
Provides access to the underlying C GtkObject.
Definition: icon-entry.h:98
Glib
Definition: about.h:306
Gnome::UI::IconEntry
Definition: icon-entry.h:59