Ardour  9.0-pre0-582-g084a23a80d
spinner.h
Go to the documentation of this file.
1 // -*- c++ -*-
2 // Generated by gmmproc 2.45.3 -- DO NOT MODIFY!
3 #ifndef _GTKMM_SPINNER_H
4 #define _GTKMM_SPINNER_H
5 
6 
7 #include <glibmm/ustring.h>
8 #include <sigc++/sigc++.h>
9 
10 /* spinner.h
11  *
12  * Copyright (C) 2009 The gtkmm Development Team
13  *
14  * This library is free software; you can redistribute it and/or
15  * modify it under the terms of the GNU Lesser General Public
16  * License as published by the Free Software Foundation; either
17  * version 2.1 of the License, or (at your option) any later version.
18  *
19  * This library is distributed in the hope that it will be useful,
20  * but WITHOUT ANY WARRANTY; without even the implied warranty of
21  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
22  * Lesser General Public License for more details.
23  *
24  * You should have received a copy of the GNU Lesser General Public
25  * License along with this library; if not, write to the Free
26  * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
27  */
28 
29 #include <gtkmm/drawingarea.h>
30 
31 
32 #ifndef DOXYGEN_SHOULD_SKIP_THIS
33 typedef struct _GtkSpinner GtkSpinner;
34 typedef struct _GtkSpinnerClass GtkSpinnerClass;
35 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
36 
37 
38 namespace Gtk
39 { class Spinner_Class; } // namespace Gtk
40 namespace Gtk
41 {
42 
43 
49 class Spinner : public DrawingArea
50 {
51  public:
52 #ifndef DOXYGEN_SHOULD_SKIP_THIS
53  typedef Spinner CppObjectType;
54  typedef Spinner_Class CppClassType;
55  typedef GtkSpinner BaseObjectType;
56  typedef GtkSpinnerClass BaseClassType;
57 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
58 
59  virtual ~Spinner();
60 
61 #ifndef DOXYGEN_SHOULD_SKIP_THIS
62 
63 private:
64  friend class Spinner_Class;
65  static CppClassType spinner_class_;
66 
67  // noncopyable
68  Spinner(const Spinner&);
69  Spinner& operator=(const Spinner&);
70 
71 protected:
72  explicit Spinner(const Glib::ConstructParams& construct_params);
73  explicit Spinner(GtkSpinner* castitem);
74 
75 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
76 
77 public:
78 #ifndef DOXYGEN_SHOULD_SKIP_THIS
79  static GType get_type() G_GNUC_CONST;
80 
81 
82  static GType get_base_type() G_GNUC_CONST;
83 #endif
84 
86  GtkSpinner* gobj() { return reinterpret_cast<GtkSpinner*>(gobject_); }
87 
89  const GtkSpinner* gobj() const { return reinterpret_cast<GtkSpinner*>(gobject_); }
90 
91 
92 public:
93  //C++ methods used to invoke GTK+ virtual functions:
94 
95 protected:
96  //GTK+ Virtual Functions (override these to change behaviour):
97 
98  //Default Signal Handlers::
99 
100 
101 private:
102 
103 public:
104 
106 
107 
110  void start();
111 
114  void stop();
115 
121  Glib::PropertyProxy< bool > property_active() ;
122 
128  Glib::PropertyProxy_ReadOnly< bool > property_active() const;
129 
130 
131 };
132 
133 } /* namespace Gtk */
134 
135 
136 namespace Glib
137 {
146  Gtk::Spinner* wrap(GtkSpinner* object, bool take_copy = false);
147 } //namespace Glib
148 
149 
150 #endif /* _GTKMM_SPINNER_H */
151 
const GtkSpinner * gobj() const
Provides access to the underlying C GtkObject.
Definition: spinner.h:89
virtual ~Spinner()
Glib::PropertyProxy< bool > property_active()
Glib::PropertyProxy_ReadOnly< bool > property_active() const
GtkSpinner * gobj()
Provides access to the underlying C GtkObject.
Definition: spinner.h:86
Gtk::Spinner * wrap(GtkSpinner *object, bool take_copy=false)
Definition: ardour_ui.h:188