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 
00007 #include <glibmm.h>
00008 
00009 /* $Id: pixmap-entry.hg,v 1.15 2004/04/07 14:18:45 murrayc Exp $ */
00010 
00011 
00012 /* pixmap-entry.hg
00013  * 
00014  * Copyright (C) 1999 The Gtk-- Development Team
00015  *
00016  * This library is free software; you can redistribute it and/or
00017  * modify it under the terms of the GNU Library General Public
00018  * License as published by the Free Software Foundation; either
00019  * version 2 of the License, or (at your option) any later version.
00020  *
00021  * This library is distributed in the hope that it will be useful,
00022  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00023  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00024  * Library General Public License for more details.
00025  *
00026  * You should have received a copy of the GNU Library General Public
00027  * License along with this library; if not, write to the Free
00028  * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
00029  */
00030 
00031 #include <gtkmm/box.h>
00032 #include <libgnomeuimm/file-entry.h>
00033 #include <libgnomeuimm/entry.h>
00034 #include <gtkmm/entry.h>
00035 #include <gtkmm/scrolledwindow.h>
00036 //#include <libgnomeui/gnome-pixmap-entry.h>
00037 
00038 
00039 #ifndef DOXYGEN_SHOULD_SKIP_THIS
00040 typedef struct _GnomePixmapEntry GnomePixmapEntry;
00041 typedef struct _GnomePixmapEntryClass GnomePixmapEntryClass;
00042 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
00043 
00044 
00045 namespace Gnome
00046 {
00047 
00048 namespace UI
00049 { class PixmapEntry_Class; } // namespace UI
00050 
00051 } // namespace Gnome
00052 namespace Gnome
00053 {
00054 
00055 namespace UI
00056 {
00057 
00058 
00059 class PixmapEntry : public FileEntry
00060 {
00061   public:
00062 #ifndef DOXYGEN_SHOULD_SKIP_THIS
00063   typedef PixmapEntry CppObjectType;
00064   typedef PixmapEntry_Class CppClassType;
00065   typedef GnomePixmapEntry BaseObjectType;
00066   typedef GnomePixmapEntryClass BaseClassType;
00067 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
00068 
00069   virtual ~PixmapEntry();
00070 
00071 #ifndef DOXYGEN_SHOULD_SKIP_THIS
00072 
00073 private:
00074   friend class PixmapEntry_Class;
00075   static CppClassType pixmapentry_class_;
00076 
00077   // noncopyable
00078   PixmapEntry(const PixmapEntry&);
00079   PixmapEntry& operator=(const PixmapEntry&);
00080 
00081 protected:
00082   explicit PixmapEntry(const Glib::ConstructParams& construct_params);
00083   explicit PixmapEntry(GnomePixmapEntry* castitem);
00084 
00085 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
00086 
00087 public:
00088 #ifndef DOXYGEN_SHOULD_SKIP_THIS
00089   static GType get_type()      G_GNUC_CONST;
00090   static GType get_base_type() G_GNUC_CONST;
00091 #endif
00092 
00094   GnomePixmapEntry*       gobj()       { return reinterpret_cast<GnomePixmapEntry*>(gobject_); }
00095 
00097   const GnomePixmapEntry* gobj() const { return reinterpret_cast<GnomePixmapEntry*>(gobject_); }
00098 
00099 
00100 public:
00101   //C++ methods used to invoke GTK+ virtual functions:
00102 #ifdef GLIBMM_VFUNCS_ENABLED
00103 #endif //GLIBMM_VFUNCS_ENABLED
00104 
00105 protected:
00106   //GTK+ Virtual Functions (override these to change behaviour):
00107 #ifdef GLIBMM_VFUNCS_ENABLED
00108 #endif //GLIBMM_VFUNCS_ENABLED
00109 
00110   //Default Signal Handlers::
00111 #ifdef GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED
00112 #endif //GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED
00113 
00114 
00115 private:
00116 ;
00117   // These are deprecated
00118   
00119 public:
00120   PixmapEntry();
00121 
00122   PixmapEntry(const Glib::ustring& history_id, const Glib::ustring& browse_dialog_title, bool do_preview);
00123   
00124 
00125   void set_pixmap_subdir(const Glib::ustring& subdir);
00126 
00127   
00128   Gtk::ScrolledWindow* get_scrolled_window();
00129   
00130   const Gtk::ScrolledWindow* get_scrolled_window() const;
00131 
00132   
00133   Gtk::Widget* get_preview_widget();
00134   
00135   const Gtk::Widget* get_preview_widget() const;
00136 
00137   
00138   void set_preview(bool do_preview = true);
00139   
00140   void set_preview_size(gint preview_w, gint preview_h);
00141   
00142   Glib::ustring get_filename() const;
00143 
00144 
00145 };
00146 
00147 } /* namespace UI */
00148 } /* namespace Gnome */
00149 
00150 
00151 namespace Glib
00152 {
00161   Gnome::UI::PixmapEntry* wrap(GnomePixmapEntry* object, bool take_copy = false);
00162 } //namespace Glib
00163 
00164 
00165 #endif /* _LIBGNOMEUIMM_PIXMAP_ENTRY_H */
00166 

Generated on Tue Apr 15 12:12:12 2008 for libgnomeuimm by  doxygen 1.5.1