3 #ifndef _LIBGNOMEUIMM_PIXMAP_ENTRY_H 4 #define _LIBGNOMEUIMM_PIXMAP_ENTRY_H 31 #include <gtkmm/box.h> 34 #include <gtkmm/entry.h> 35 #include <gtkmm/scrolledwindow.h> 39 #ifndef DOXYGEN_SHOULD_SKIP_THIS 40 typedef struct _GnomePixmapEntry GnomePixmapEntry;
41 typedef struct _GnomePixmapEntryClass GnomePixmapEntryClass;
49 {
class PixmapEntry_Class; }
62 #ifndef DOXYGEN_SHOULD_SKIP_THIS 64 typedef PixmapEntry_Class CppClassType;
65 typedef GnomePixmapEntry BaseObjectType;
66 typedef GnomePixmapEntryClass BaseClassType;
71 #ifndef DOXYGEN_SHOULD_SKIP_THIS 74 friend class PixmapEntry_Class;
75 static CppClassType pixmapentry_class_;
82 explicit PixmapEntry(
const Glib::ConstructParams& construct_params);
88 #ifndef DOXYGEN_SHOULD_SKIP_THIS 89 static GType get_type() G_GNUC_CONST;
92 static GType get_base_type() G_GNUC_CONST;
96 GnomePixmapEntry*
gobj() {
return reinterpret_cast<GnomePixmapEntry*
>(gobject_); }
99 const GnomePixmapEntry*
gobj()
const {
return reinterpret_cast<GnomePixmapEntry*
>(gobject_); }
104 #ifdef GLIBMM_VFUNCS_ENABLED 105 #endif //GLIBMM_VFUNCS_ENABLED 109 #ifdef GLIBMM_VFUNCS_ENABLED 110 #endif //GLIBMM_VFUNCS_ENABLED 113 #ifdef GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED 114 #endif //GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED 124 PixmapEntry(
const Glib::ustring& history_id,
const Glib::ustring& browse_dialog_title,
bool do_preview);
127 void set_pixmap_subdir(
const Glib::ustring& subdir);
130 Gtk::ScrolledWindow* get_scrolled_window();
132 const Gtk::ScrolledWindow* get_scrolled_window()
const;
135 Gtk::Widget* get_preview_widget();
137 const Gtk::Widget* get_preview_widget()
const;
140 void set_preview(
bool do_preview =
true);
142 void set_preview_size(gint preview_w, gint preview_h);
144 Glib::ustring get_filename()
const;
GnomePixmapEntry * gobj()
Provides access to the underlying C GtkObject.
Definition: pixmap-entry.h:96
Definition: file-entry.h:56
Definition: pixmap-entry.h:59
const GnomePixmapEntry * gobj() const
Provides access to the underlying C GtkObject.
Definition: pixmap-entry.h:99