Ardour  8.7-14-g57a6773833
radiotoolbutton.h
Go to the documentation of this file.
1 // -*- c++ -*-
2 // Generated by gmmproc 2.45.3 -- DO NOT MODIFY!
3 #ifndef _GTKMM_RADIOTOOLBUTTON_H
4 #define _GTKMM_RADIOTOOLBUTTON_H
5 
6 
7 #include <glibmm/ustring.h>
8 #include <sigc++/sigc++.h>
9 
10 /* $Id: radiotoolbutton.hg,v 1.10 2005/11/30 14:10:49 murrayc Exp $ */
11 
12 /* box.h
13  *
14  * Copyright (C) 2003 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/toggletoolbutton.h>
32 #include <gtkmm/radiobuttongroup.h>
33 
34 
35 #ifndef DOXYGEN_SHOULD_SKIP_THIS
38 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
39 
40 
41 namespace Gtk
42 { class RadioToolButton_Class; } // namespace Gtk
43 namespace Gtk
44 {
45 
56 {
57  public:
58 #ifndef DOXYGEN_SHOULD_SKIP_THIS
59  typedef RadioToolButton CppObjectType;
60  typedef RadioToolButton_Class CppClassType;
61  typedef GtkRadioToolButton BaseObjectType;
62  typedef GtkRadioToolButtonClass BaseClassType;
63 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
64 
65  virtual ~RadioToolButton();
66 
67 #ifndef DOXYGEN_SHOULD_SKIP_THIS
68 
69 private:
70  friend class RadioToolButton_Class;
71  static CppClassType radiotoolbutton_class_;
72 
73  // noncopyable
75  RadioToolButton& operator=(const RadioToolButton&);
76 
77 protected:
78  explicit RadioToolButton(const Glib::ConstructParams& construct_params);
79  explicit RadioToolButton(GtkRadioToolButton* 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  GtkRadioToolButton* gobj() { return reinterpret_cast<GtkRadioToolButton*>(gobject_); }
93 
95  const GtkRadioToolButton* gobj() const { return reinterpret_cast<GtkRadioToolButton*>(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:
111 
119 
128  explicit RadioToolButton(Group& group, const Glib::ustring& label = Glib::ustring());
129 
130 
139  RadioToolButton(Group& group, const Gtk::StockID& stock_id);
140 
141 
142  //This would look to much like a copy constructor:
143  //People should use second.set_group(first.get_group()) instead.
144  //explicit RadioToolButton(RadioToolButton& group, const Gtk::StockID& stock_id = Gtk::StockID());
145 
146 
147  //This does not correspond to any gtk_radio_tool_button_*_new() function,
148  //but it should work (it just sets properties), and it makes this class consistent with the
149  //other ToolButton classes.
150 
158  explicit RadioToolButton(Widget& icon_widget, const Glib::ustring& label = Glib::ustring());
159 
160 
166 
171  void set_group(Group& group);
172 
173  //Probably wouldn't work: _WRAP_PROPERTY("group", Group)
174 
175 
176 };
177 
178 } // namespace Gtk
179 
180 
181 namespace Glib
182 {
191  Gtk::RadioToolButton* wrap(GtkRadioToolButton* object, bool take_copy = false);
192 } //namespace Glib
193 
194 
195 #endif /* _GTKMM_RADIOTOOLBUTTON_H */
196 
RadioToolButton(Group &group, const Glib::ustring &label=Glib::ustring())
const GtkRadioToolButton * gobj() const
Provides access to the underlying C GtkObject.
RadioToolButton(Group &group, const Gtk::StockID &stock_id)
virtual ~RadioToolButton()
GtkRadioToolButton * gobj()
Provides access to the underlying C GtkObject.
RadioToolButton(Widget &icon_widget, const Glib::ustring &label=Glib::ustring())
void set_group(Group &group)
RadioButtonGroup Group
Gtk::RadioToolButton * wrap(GtkRadioToolButton *object, bool take_copy=false)
Definition: ardour_ui.h:188