volumebar.h

Go to the documentation of this file.
00001 // -*- c++ -*-
00002 // Generated by gtkmmproc -- DO NOT MODIFY!
00003 #ifndef _HILDON_LIBSMM_VOLUMEBAR_H
00004 #define _HILDON_LIBSMM_VOLUMEBAR_H
00005 
00006 
00007 #include <glibmm.h>
00008 
00009 /* $Id: date-editor.hg,v 1.10 2005/02/15 10:52:44 murrayc Exp $ */
00010 
00011 /* volumebar.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 #include <gtkmm/adjustment.h>
00032 
00033 
00034 #ifndef DOXYGEN_SHOULD_SKIP_THIS
00035 typedef struct _HildonVolumebar HildonVolumebar;
00036 typedef struct _HildonVolumebarClass HildonVolumebarClass;
00037 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
00038 
00039 
00040 namespace Hildon
00041 { class Volumebar_Class; } // namespace Hildon
00042 namespace Hildon
00043 {
00044 
00050 class Volumebar : public Gtk::Container
00051 {
00052   public:
00053 #ifndef DOXYGEN_SHOULD_SKIP_THIS
00054   typedef Volumebar CppObjectType;
00055   typedef Volumebar_Class CppClassType;
00056   typedef HildonVolumebar BaseObjectType;
00057   typedef HildonVolumebarClass BaseClassType;
00058 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
00059 
00060   virtual ~Volumebar();
00061 
00062 #ifndef DOXYGEN_SHOULD_SKIP_THIS
00063 
00064 private:
00065   friend class Volumebar_Class;
00066   static CppClassType volumebar_class_;
00067 
00068   // noncopyable
00069   Volumebar(const Volumebar&);
00070   Volumebar& operator=(const Volumebar&);
00071 
00072 protected:
00073   explicit Volumebar(const Glib::ConstructParams& construct_params);
00074   explicit Volumebar(HildonVolumebar* castitem);
00075 
00076 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
00077 
00078 public:
00079 #ifndef DOXYGEN_SHOULD_SKIP_THIS
00080   static GType get_type()      G_GNUC_CONST;
00081   static GType get_base_type() G_GNUC_CONST;
00082 #endif
00083 
00085   HildonVolumebar*       gobj()       { return reinterpret_cast<HildonVolumebar*>(gobject_); }
00086 
00088   const HildonVolumebar* gobj() const { return reinterpret_cast<HildonVolumebar*>(gobject_); }
00089 
00090 
00091 public:
00092   //C++ methods used to invoke GTK+ virtual functions:
00093 #ifdef GLIBMM_VFUNCS_ENABLED
00094 #endif //GLIBMM_VFUNCS_ENABLED
00095 
00096 protected:
00097   //GTK+ Virtual Functions (override these to change behaviour):
00098 #ifdef GLIBMM_VFUNCS_ENABLED
00099 #endif //GLIBMM_VFUNCS_ENABLED
00100 
00101   //Default Signal Handlers::
00102 #ifdef GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED
00103   virtual void on_mute_toggled();
00104   virtual void on_level_changed();
00105 #endif //GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED
00106 
00107 
00108 private:
00109 
00110 public:
00111   Volumebar();
00112 
00113   
00117   void set_level(double level);
00118   
00122   double get_level() const;
00123   
00127   void set_mute(bool mute = true);
00128   
00132   bool get_mute() const;
00133   
00137   void level_change();
00138 
00139   
00149   Gtk::Adjustment* get_adjustment();
00150   
00160   const Gtk::Adjustment* get_adjustment() const;
00161 
00162   
00163   Glib::SignalProxy0< void > signal_mute_toggled();
00164 
00165   
00166   Glib::SignalProxy0< void > signal_level_changed();
00167 
00168 
00169   #ifdef GLIBMM_PROPERTIES_ENABLED
00170 
00176   Glib::PropertyProxy<bool> property_can_focus() ;
00177 #endif //#GLIBMM_PROPERTIES_ENABLED
00178 
00179 #ifdef GLIBMM_PROPERTIES_ENABLED
00180 
00186   Glib::PropertyProxy_ReadOnly<bool> property_can_focus() const;
00187 #endif //#GLIBMM_PROPERTIES_ENABLED
00188 
00189   #ifdef GLIBMM_PROPERTIES_ENABLED
00190 
00196   Glib::PropertyProxy<bool> property_has_mute() ;
00197 #endif //#GLIBMM_PROPERTIES_ENABLED
00198 
00199 #ifdef GLIBMM_PROPERTIES_ENABLED
00200 
00206   Glib::PropertyProxy_ReadOnly<bool> property_has_mute() const;
00207 #endif //#GLIBMM_PROPERTIES_ENABLED
00208 
00209   #ifdef GLIBMM_PROPERTIES_ENABLED
00210 
00216   Glib::PropertyProxy<double> property_level() ;
00217 #endif //#GLIBMM_PROPERTIES_ENABLED
00218 
00219 #ifdef GLIBMM_PROPERTIES_ENABLED
00220 
00226   Glib::PropertyProxy_ReadOnly<double> property_level() const;
00227 #endif //#GLIBMM_PROPERTIES_ENABLED
00228 
00229   #ifdef GLIBMM_PROPERTIES_ENABLED
00230 
00236   Glib::PropertyProxy<bool> property_mute() ;
00237 #endif //#GLIBMM_PROPERTIES_ENABLED
00238 
00239 #ifdef GLIBMM_PROPERTIES_ENABLED
00240 
00246   Glib::PropertyProxy_ReadOnly<bool> property_mute() const;
00247 #endif //#GLIBMM_PROPERTIES_ENABLED
00248 
00249 
00250 };
00251 
00252 } // namespace Hildon
00253 
00254 
00255 namespace Glib
00256 {
00262   Hildon::Volumebar* wrap(HildonVolumebar* object, bool take_copy = false);
00263 } //namespace Glib
00264 
00265 
00266 #endif /* _HILDON_LIBSMM_VOLUMEBAR_H */
00267 

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