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

icon-sel.h

Go to the documentation of this file.
00001 // -*- c++ -*-
00002 // Generated by gtkmmproc -- DO NOT MODIFY!
00003 #ifndef _LIBGNOMEUIMM_ICON_SEL_H
00004 #define _LIBGNOMEUIMM_ICON_SEL_H
00005 
00006 #include <glibmm.h>
00007 
00008 /* $Id: icon-sel.hg,v 1.10 2002/09/16 12:18:30 murrayc Exp $ */
00009 
00010 
00011 /* icon-sel.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 
00032 
00033 #ifndef DOXYGEN_SHOULD_SKIP_THIS
00034 typedef struct _GnomeIconSelection GnomeIconSelection;
00035 typedef struct _GnomeIconSelectionClass GnomeIconSelectionClass;
00036 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
00037 
00038 
00039 namespace Gnome
00040 {
00041 
00042 namespace UI
00043 { class IconSelection_Class; } // namespace UI
00044 
00045 } // namespace Gnome
00046 namespace Gnome
00047 {
00048 
00049 namespace UI
00050 {
00051 
00052 
00053 class IconSelection : public Gtk::VBox
00054 {
00055   public:
00056 #ifndef DOXYGEN_SHOULD_SKIP_THIS
00057   typedef IconSelection CppObjectType;
00058   typedef IconSelection_Class CppClassType;
00059   typedef GnomeIconSelection BaseObjectType;
00060   typedef GnomeIconSelectionClass BaseClassType;
00061 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
00062 
00063   virtual ~IconSelection();
00064 
00065 #ifndef DOXYGEN_SHOULD_SKIP_THIS
00066 
00067 private:
00068   friend class IconSelection_Class;
00069   static CppClassType iconselection_class_;
00070 
00071   // noncopyable
00072   IconSelection(const IconSelection&);
00073   IconSelection& operator=(const IconSelection&);
00074 
00075 protected:
00076   explicit IconSelection(const Glib::ConstructParams& construct_params);
00077   explicit IconSelection(GnomeIconSelection* castitem);
00078 
00079 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
00080 
00081 public:
00082 #ifndef DOXYGEN_SHOULD_SKIP_THIS
00083   static GType get_type()      G_GNUC_CONST;
00084   static GType get_base_type() G_GNUC_CONST;
00085 #endif
00086 
00088   GnomeIconSelection*       gobj()       { return reinterpret_cast<GnomeIconSelection*>(gobject_); }
00089 
00091   const GnomeIconSelection* gobj() const { return reinterpret_cast<GnomeIconSelection*>(gobject_); }
00092 
00093 
00094 public:
00095   //C++ methods used to invoke GTK+ virtual functions:
00096 
00097 protected:
00098   //GTK+ Virtual Functions (override these to change behaviour):
00099 
00100   //Default Signal Handlers::
00101 
00102 
00103 private:
00104 
00105 public:
00106   IconSelection();
00107 
00108   
00109   void add_defaults();
00110   
00111   void add_directory(const Glib::ustring& dir);
00112   
00113   void show_icons();
00114   
00115   void clear(bool not_shown = true);
00116   
00117   Glib::ustring get_icon(bool full_path = true) const;
00118   
00119   void select_icon(const Glib::ustring& filename);
00120   
00121   void stop_loading();
00122 
00123   
00124   Gtk::Widget* get_gil();
00125   
00126   const Gtk::Widget* get_gil() const;
00127 
00128   
00129   Gtk::Widget* get_box();
00130   
00131   const Gtk::Widget* get_box() const;
00132 
00133 
00134 };
00135 
00136 } /* namespace UI */
00137 } /* namespace Gnome */
00138 
00139 namespace Glib
00140 {
00142   Gnome::UI::IconSelection* wrap(GnomeIconSelection* object, bool take_copy = false);
00143 }
00144 #endif /* _LIBGNOMEUIMM_ICON_SEL_H */
00145 

Generated on Sun Sep 11 19:04:58 2005 for libgnomeuimm by  doxygen 1.4.4