range-editor.h

Go to the documentation of this file.
00001 // -*- c++ -*-
00002 // Generated by gtkmmproc -- DO NOT MODIFY!
00003 #ifndef _HILDON_LIBSMM_RANGE_EDITOR_H
00004 #define _HILDON_LIBSMM_RANGE_EDITOR_H
00005 
00006 
00007 #include <glibmm.h>
00008 
00009 /* $Id: number-editor.hg,v 1.10 2005/02/15 10:52:44 murrayc Exp $ */
00010 
00011 /* range-editor.h
00012  *
00013  * Copyright (C) 1998-2005 The gtkmm 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/container.h>
00031 
00032 
00033 #ifndef DOXYGEN_SHOULD_SKIP_THIS
00034 typedef struct _HildonRangeEditor HildonRangeEditor;
00035 typedef struct _HildonRangeEditorClass HildonRangeEditorClass;
00036 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
00037 
00038 
00039 namespace Hildon
00040 { class RangeEditor_Class; } // namespace Hildon
00041 namespace Hildon
00042 {
00043 
00049 class RangeEditor : public Gtk::Container
00050 {
00051   public:
00052 #ifndef DOXYGEN_SHOULD_SKIP_THIS
00053   typedef RangeEditor CppObjectType;
00054   typedef RangeEditor_Class CppClassType;
00055   typedef HildonRangeEditor BaseObjectType;
00056   typedef HildonRangeEditorClass BaseClassType;
00057 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
00058 
00059   virtual ~RangeEditor();
00060 
00061 #ifndef DOXYGEN_SHOULD_SKIP_THIS
00062 
00063 private:
00064   friend class RangeEditor_Class;
00065   static CppClassType rangeeditor_class_;
00066 
00067   // noncopyable
00068   RangeEditor(const RangeEditor&);
00069   RangeEditor& operator=(const RangeEditor&);
00070 
00071 protected:
00072   explicit RangeEditor(const Glib::ConstructParams& construct_params);
00073   explicit RangeEditor(HildonRangeEditor* castitem);
00074 
00075 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
00076 
00077 public:
00078 #ifndef DOXYGEN_SHOULD_SKIP_THIS
00079   static GType get_type()      G_GNUC_CONST;
00080   static GType get_base_type() G_GNUC_CONST;
00081 #endif
00082 
00084   HildonRangeEditor*       gobj()       { return reinterpret_cast<HildonRangeEditor*>(gobject_); }
00085 
00087   const HildonRangeEditor* gobj() const { return reinterpret_cast<HildonRangeEditor*>(gobject_); }
00088 
00089 
00090 public:
00091   //C++ methods used to invoke GTK+ virtual functions:
00092 #ifdef GLIBMM_VFUNCS_ENABLED
00093 #endif //GLIBMM_VFUNCS_ENABLED
00094 
00095 protected:
00096   //GTK+ Virtual Functions (override these to change behaviour):
00097 #ifdef GLIBMM_VFUNCS_ENABLED
00098 #endif //GLIBMM_VFUNCS_ENABLED
00099 
00100   //Default Signal Handlers::
00101 #ifdef GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED
00102 #endif //GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED
00103 
00104 
00105 private:
00106 
00107 public:
00108   RangeEditor();
00109   
00110   explicit RangeEditor(const Glib::ustring& separator);
00111 
00112   
00119   void set_range(int start, int end);
00120   
00125   void get_range(int& start, int& end) const;
00126   
00131   void set_limits(int start, int end);
00132 
00133   
00134   void set_lower(int value);
00135   
00136   void set_higher(int value);
00137   
00138   int get_lower() const;
00139   
00140   int get_higher() const;
00141   
00142   void set_min (int value);
00143   
00144   void set_max (int value);
00145   
00146   int get_min() const;
00147   
00148   int get_max() const;
00149   
00150   void set_separator(const Glib::ustring& separator);
00151   
00152   Glib::ustring get_separator() const;
00153 
00154   #ifdef GLIBMM_PROPERTIES_ENABLED
00155 
00161   Glib::PropertyProxy<int> property_min() ;
00162 #endif //#GLIBMM_PROPERTIES_ENABLED
00163 
00164 #ifdef GLIBMM_PROPERTIES_ENABLED
00165 
00171   Glib::PropertyProxy_ReadOnly<int> property_min() const;
00172 #endif //#GLIBMM_PROPERTIES_ENABLED
00173 
00174   #ifdef GLIBMM_PROPERTIES_ENABLED
00175 
00181   Glib::PropertyProxy<int> property_max() ;
00182 #endif //#GLIBMM_PROPERTIES_ENABLED
00183 
00184 #ifdef GLIBMM_PROPERTIES_ENABLED
00185 
00191   Glib::PropertyProxy_ReadOnly<int> property_max() const;
00192 #endif //#GLIBMM_PROPERTIES_ENABLED
00193 
00194   #ifdef GLIBMM_PROPERTIES_ENABLED
00195 
00201   Glib::PropertyProxy<int> property_lower() ;
00202 #endif //#GLIBMM_PROPERTIES_ENABLED
00203 
00204 #ifdef GLIBMM_PROPERTIES_ENABLED
00205 
00211   Glib::PropertyProxy_ReadOnly<int> property_lower() const;
00212 #endif //#GLIBMM_PROPERTIES_ENABLED
00213 
00214   #ifdef GLIBMM_PROPERTIES_ENABLED
00215 
00221   Glib::PropertyProxy<int> property_higher() ;
00222 #endif //#GLIBMM_PROPERTIES_ENABLED
00223 
00224 #ifdef GLIBMM_PROPERTIES_ENABLED
00225 
00231   Glib::PropertyProxy_ReadOnly<int> property_higher() const;
00232 #endif //#GLIBMM_PROPERTIES_ENABLED
00233 
00234   #ifdef GLIBMM_PROPERTIES_ENABLED
00235 
00241   Glib::PropertyProxy<Glib::ustring> property_separator() ;
00242 #endif //#GLIBMM_PROPERTIES_ENABLED
00243 
00244 #ifdef GLIBMM_PROPERTIES_ENABLED
00245 
00251   Glib::PropertyProxy_ReadOnly<Glib::ustring> property_separator() const;
00252 #endif //#GLIBMM_PROPERTIES_ENABLED
00253 
00254 
00255 };
00256 
00257 } // namespace Hildon
00258 
00259 
00260 namespace Glib
00261 {
00267   Hildon::RangeEditor* wrap(HildonRangeEditor* object, bool take_copy = false);
00268 } //namespace Glib
00269 
00270 
00271 #endif /* _HILDON_LIBSMM_RANGE_EDITOR_H */
00272 

Generated on Wed Nov 8 17:20:41 2006 for hildon-libsmm by  doxygen 1.4.6