[Gtk-sharp-list] How to create a group for Gtk.RadioToolButton ?

Anset Anset@anset.org
Thu, 14 Apr 2005 10:16:00 +0200


Hi,

There is also a constructor that does not take a button. :)

RadioButton Button0;
RadioButton Button1;
RadioButton Button2;

Button0 = new RadioButton("Label0");;
Button1 = new RadioButton(group, "label1");
Button2 = new RadioButton(group, "label2");

Put the Buttons anywhere on a window and they will be linked (they will
interact). If you want the link to be visual, put them in a frame.

wkr,

Anset