GtkSharp/gtk/RadioButton.custom
John Luke 88ab36d2ea 2004-01-09 John Luke <jluke@cfl.rr.com>
* gtk/Gtk.metadata: Hide most RadioButton constructors, for
	api reasons
	* gtk/RadioButton.custom: add ctor to create a new RadioButton
	with its own group to avoid having to pass null
	* gtk/gtk-api.xml: regen

svn path=/trunk/gtk-sharp/; revision=21881
2004-01-09 19:58:05 +00:00

15 lines
353 B
Plaintext

//
// RadioButton.custom
//
// Author: John Luke <jluke@cfl.rr.com>
//
[DllImport("libgtk-win32-2.0-0.dll")]
static extern IntPtr gtk_radio_button_new_with_mnemonic (IntPtr group, string label);
// creates a new group for this RadioButton
public RadioButton (string label)
{
Raw = gtk_radio_button_new_with_mnemonic (IntPtr.Zero, label);
}