seekbar.h

Go to the documentation of this file.
00001 // -*- c++ -*-
00002 // Generated by gtkmmproc -- DO NOT MODIFY!
00003 #ifndef _HILDON_LIBSMM_SEEKBAR_H
00004 #define _HILDON_LIBSMM_SEEKBAR_H
00005 
00006 
00007 #include <glibmm.h>
00008 
00009 /* $Id: add-home-dialog.hg,v 1.10 2005/02/15 10:52:44 murrayc Exp $ */
00010 
00011 /* control-bar.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/scale.h>
00031 
00032 
00033 #ifndef DOXYGEN_SHOULD_SKIP_THIS
00034 typedef struct _HildonSeekbar HildonSeekbar;
00035 typedef struct _HildonSeekbarClass HildonSeekbarClass;
00036 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
00037 
00038 
00039 namespace Hildon
00040 { class Seekbar_Class; } // namespace Hildon
00041 namespace Hildon
00042 {
00043 
00049 class Seekbar : public Gtk::Scale
00050 {
00051   public:
00052 #ifndef DOXYGEN_SHOULD_SKIP_THIS
00053   typedef Seekbar CppObjectType;
00054   typedef Seekbar_Class CppClassType;
00055   typedef HildonSeekbar BaseObjectType;
00056   typedef HildonSeekbarClass BaseClassType;
00057 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
00058 
00059   virtual ~Seekbar();
00060 
00061 #ifndef DOXYGEN_SHOULD_SKIP_THIS
00062 
00063 private:
00064   friend class Seekbar_Class;
00065   static CppClassType seekbar_class_;
00066 
00067   // noncopyable
00068   Seekbar(const Seekbar&);
00069   Seekbar& operator=(const Seekbar&);
00070 
00071 protected:
00072   explicit Seekbar(const Glib::ConstructParams& construct_params);
00073   explicit Seekbar(HildonSeekbar* 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   HildonSeekbar*       gobj()       { return reinterpret_cast<HildonSeekbar*>(gobject_); }
00085 
00087   const HildonSeekbar* gobj() const { return reinterpret_cast<HildonSeekbar*>(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   Seekbar();
00109   ;
00110 
00111   
00115   int get_total_time() const;
00116   
00120   void set_total_time(int time);
00121   
00125   int get_position() const;
00126   
00130   void set_position(int time);
00131   
00136   void set_fraction(guint fraction);
00137   
00141   guint get_fraction() const;
00142 
00143   #ifdef GLIBMM_PROPERTIES_ENABLED
00144 
00150   Glib::PropertyProxy<double> property_total_time() ;
00151 #endif //#GLIBMM_PROPERTIES_ENABLED
00152 
00153 #ifdef GLIBMM_PROPERTIES_ENABLED
00154 
00160   Glib::PropertyProxy_ReadOnly<double> property_total_time() const;
00161 #endif //#GLIBMM_PROPERTIES_ENABLED
00162 
00163   #ifdef GLIBMM_PROPERTIES_ENABLED
00164 
00170   Glib::PropertyProxy<double> property_position() ;
00171 #endif //#GLIBMM_PROPERTIES_ENABLED
00172 
00173 #ifdef GLIBMM_PROPERTIES_ENABLED
00174 
00180   Glib::PropertyProxy_ReadOnly<double> property_position() const;
00181 #endif //#GLIBMM_PROPERTIES_ENABLED
00182 
00183   #ifdef GLIBMM_PROPERTIES_ENABLED
00184 
00190   Glib::PropertyProxy<double> property_fraction() ;
00191 #endif //#GLIBMM_PROPERTIES_ENABLED
00192 
00193 #ifdef GLIBMM_PROPERTIES_ENABLED
00194 
00200   Glib::PropertyProxy_ReadOnly<double> property_fraction() const;
00201 #endif //#GLIBMM_PROPERTIES_ENABLED
00202 
00203 
00204 };
00205 
00206 } // namespace Hildon
00207 
00208 
00209 namespace Glib
00210 {
00216   Hildon::Seekbar* wrap(HildonSeekbar* object, bool take_copy = false);
00217 } //namespace Glib
00218 
00219 
00220 #endif /* _HILDON_LIBSMM_SEEKBAR_H */
00221 

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