Ardour  8.7-14-g57a6773833
checkbutton.h
Go to the documentation of this file.
1 // -*- c++ -*-
2 // Generated by gmmproc 2.45.3 -- DO NOT MODIFY!
3 #ifndef _GTKMM_CHECKBUTTON_H
4 #define _GTKMM_CHECKBUTTON_H
5 
6 
7 #include <glibmm/ustring.h>
8 #include <sigc++/sigc++.h>
9 
10 /* $Id: checkbutton.hg,v 1.2 2004/01/19 19:48:44 murrayc Exp $ */
11 
12 /* checkbutton.h
13  *
14  * Copyright (C) 1998-2002 The gtkmm Development Team
15  *
16  * This library is free software; you can redistribute it and/or
17  * modify it under the terms of the GNU Lesser General Public
18  * License as published by the Free Software Foundation; either
19  * version 2.1 of the License, or (at your option) any later version.
20  *
21  * This library is distributed in the hope that it will be useful,
22  * but WITHOUT ANY WARRANTY; without even the implied warranty of
23  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
24  * Lesser General Public License for more details.
25  *
26  * You should have received a copy of the GNU Lesser General Public
27  * License along with this library; if not, write to the Free
28  * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
29  */
30 
31 #include <gtkmm/togglebutton.h>
32 
33 
34 #ifndef DOXYGEN_SHOULD_SKIP_THIS
35 typedef struct _GtkCheckButton GtkCheckButton;
37 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
38 
39 
40 namespace Gtk
41 { class CheckButton_Class; } // namespace Gtk
42 namespace Gtk
43 {
44 
55 class CheckButton : public ToggleButton
56 {
57  public:
58 #ifndef DOXYGEN_SHOULD_SKIP_THIS
59  typedef CheckButton CppObjectType;
60  typedef CheckButton_Class CppClassType;
61  typedef GtkCheckButton BaseObjectType;
62  typedef GtkCheckButtonClass BaseClassType;
63 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
64 
65  virtual ~CheckButton();
66 
67 #ifndef DOXYGEN_SHOULD_SKIP_THIS
68 
69 private:
70  friend class CheckButton_Class;
71  static CppClassType checkbutton_class_;
72 
73  // noncopyable
74  CheckButton(const CheckButton&);
75  CheckButton& operator=(const CheckButton&);
76 
77 protected:
78  explicit CheckButton(const Glib::ConstructParams& construct_params);
79  explicit CheckButton(GtkCheckButton* castitem);
80 
81 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
82 
83 public:
84 #ifndef DOXYGEN_SHOULD_SKIP_THIS
85  static GType get_type() G_GNUC_CONST;
86 
87 
88  static GType get_base_type() G_GNUC_CONST;
89 #endif
90 
92  GtkCheckButton* gobj() { return reinterpret_cast<GtkCheckButton*>(gobject_); }
93 
95  const GtkCheckButton* gobj() const { return reinterpret_cast<GtkCheckButton*>(gobject_); }
96 
97 
98 public:
99  //C++ methods used to invoke GTK+ virtual functions:
100 
101 protected:
102  //GTK+ Virtual Functions (override these to change behaviour):
103 
104  //Default Signal Handlers::
105 
106 
107 private:
108 
109 public:
110 
120 
125  explicit CheckButton(const Glib::ustring& label, bool mnemonic = false);
126 
127 
128 protected:
136  virtual void draw_indicator_vfunc(GdkRectangle* area);
137 
138 
139 };
140 
141 
142 } /* namespace Gtk */
143 
144 
145 namespace Glib
146 {
155  Gtk::CheckButton* wrap(GtkCheckButton* object, bool take_copy = false);
156 } //namespace Glib
157 
158 
159 #endif /* _GTKMM_CHECKBUTTON_H */
160 
const GtkCheckButton * gobj() const
Provides access to the underlying C GtkObject.
Definition: checkbutton.h:95
CheckButton(const Glib::ustring &label, bool mnemonic=false)
Gtk::CheckButton * wrap(GtkCheckButton *object, bool take_copy=false)
GtkCheckButton * gobj()
Provides access to the underlying C GtkObject.
Definition: checkbutton.h:92
virtual ~CheckButton()
virtual void draw_indicator_vfunc(GdkRectangle *area)
Definition: ardour_ui.h:188