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

pixmap-entry.h

Go to the documentation of this file.
00001 // -*- c++ -*- 00002 // Generated by gtkmmproc -- DO NOT MODIFY! 00003 #ifndef _LIBGNOMEUIMM_PIXMAP_ENTRY_H 00004 #define _LIBGNOMEUIMM_PIXMAP_ENTRY_H 00005 00006 #include <glibmm.h> 00007 00008 /* $Id: pixmap-entry.hg,v 1.15 2004/04/07 14:18:45 murrayc Exp $ */ 00009 00010 00011 /* pixmap-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/box.h> 00031 #include <libgnomeuimm/file-entry.h> 00032 #include <libgnomeuimm/entry.h> 00033 #include <gtkmm/entry.h> 00034 #include <gtkmm/scrolledwindow.h> 00035 //#include <libgnomeui/gnome-pixmap-entry.h> 00036 00037 00038 #ifndef DOXYGEN_SHOULD_SKIP_THIS 00039 typedef struct _GnomePixmapEntry GnomePixmapEntry; 00040 typedef struct _GnomePixmapEntryClass GnomePixmapEntryClass; 00041 #endif /* DOXYGEN_SHOULD_SKIP_THIS */ 00042 00043 00044 namespace Gnome 00045 { 00046 00047 namespace UI 00048 { class PixmapEntry_Class; } // namespace UI 00049 00050 } // namespace Gnome 00051 namespace Gnome 00052 { 00053 00054 namespace UI 00055 { 00056 00057 00058 class PixmapEntry : public FileEntry 00059 { 00060 public: 00061 #ifndef DOXYGEN_SHOULD_SKIP_THIS 00062 typedef PixmapEntry CppObjectType; 00063 typedef PixmapEntry_Class CppClassType; 00064 typedef GnomePixmapEntry BaseObjectType; 00065 typedef GnomePixmapEntryClass BaseClassType; 00066 #endif /* DOXYGEN_SHOULD_SKIP_THIS */ 00067 00068 virtual ~PixmapEntry(); 00069 00070 #ifndef DOXYGEN_SHOULD_SKIP_THIS 00071 00072 private: 00073 friend class PixmapEntry_Class; 00074 static CppClassType pixmapentry_class_; 00075 00076 // noncopyable 00077 PixmapEntry(const PixmapEntry&); 00078 PixmapEntry& operator=(const PixmapEntry&); 00079 00080 protected: 00081 explicit PixmapEntry(const Glib::ConstructParams& construct_params); 00082 explicit PixmapEntry(GnomePixmapEntry* 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 GnomePixmapEntry* gobj() { return reinterpret_cast<GnomePixmapEntry*>(gobject_); } 00094 00096 const GnomePixmapEntry* gobj() const { return reinterpret_cast<GnomePixmapEntry*>(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 00107 00108 private: 00109 ; 00110 // These are deprecated 00111 00112 public: 00113 PixmapEntry(); 00114 00115 PixmapEntry(const Glib::ustring& history_id, const Glib::ustring& browse_dialog_title, bool do_preview); 00116 00117 00118 void set_pixmap_subdir(const Glib::ustring& subdir); 00119 00120 00121 Gtk::ScrolledWindow* get_scrolled_window(); 00122 00123 const Gtk::ScrolledWindow* get_scrolled_window() const; 00124 00125 00126 Gtk::Widget* get_preview_widget(); 00127 00128 const Gtk::Widget* get_preview_widget() const; 00129 00130 00131 void set_preview(bool do_preview = true); 00132 00133 void set_preview_size(gint preview_w, gint preview_h); 00134 00135 Glib::ustring get_filename() const; 00136 00137 00138 }; 00139 00140 } /* namespace UI */ 00141 } /* namespace Gnome */ 00142 00143 00144 namespace Glib 00145 { 00151 Gnome::UI::PixmapEntry* wrap(GnomePixmapEntry* object, bool take_copy = false); 00152 } 00153 #endif /* _LIBGNOMEUIMM_PIXMAP_ENTRY_H */ 00154

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