RadioToolButton
- From: Louis-Francis Ratté-Boulianne <louisfrancis rb gmail com>
- To: gtkmm-list gnome org
- Subject: RadioToolButton
- Date: Sat, 25 Oct 2008 18:02:26 -0400
I just want to point out an error in the code examples. In the file :
http://www.gtkmm.org/docs/gtkmm-2.4/examples/book/toolbar/examplewindow.cc
At line 68, the code should be
Gtk::RadioButtonGroup group;
Gtk::RadioToolButton* btn;
btn = new Gtk::RadioToolButton(group, "Radio1");
group = btn->get_group();
m_Toolbar.append( *Gtk::manage(btn) )
btn = new Gtk::RadioToolButton(group, "Radio2");
group = btn->get_group();
m_Toolbar.append( *Gtk::manage(btn) );
btn = new Gtk::RadioToolButton(group, "Radio3");
group = btn->get_group();
m_Toolbar.append( *Gtk::manage(btn) );
Thanks to correct the example, that would certainly save time to a lot
of people,
--
Louis-Francis
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]