/*
- Copyright (C) 2001 Paul Davis
+ Copyright (C) 2001 Paul Davis
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
for (uint32_t n = 0; n < nbuttons; ++n) {
Gtk::ToggleButton *button;
-
+
button = manage (new (Gtk::ToggleButton));
-
+
if (n == current_active) {
button->set_active (true);
- }
+ }
button->signal_clicked().connect (sigc::bind (mem_fun (*this, &GroupedButtons::one_clicked), n));
buttons.push_back (button);