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

Dan Winship danw@novell.com
Thu, 14 Apr 2005 10:38:08 -0400

On Wed, 2005-04-13 at 23:08 +0200, Thomas Pryds Lauritsen wrote:
> http://xfc.xfce.org/docs/howto/html/toolbar.html seems (as far as I can
> translate that code to C#) to suggest using null instead of another
> RadioToolButton in the constructor of the first button. However doing so
> yields a NullReferenceException and the button object is not created (if
> one catches and ignores the exception).

Yeah, that's a bug in the binding currently. But you can say

	b = new RadioToolButton (new GLib.SList (IntPtr.Zero));

which is a little verbose, but it works.

-- Dan