[Gtk-sharp-list] RadioButton api
Mike Kestner
mkestner@speakeasy.net
Wed, 07 Jan 2004 15:31:30 -0600
On Tue, 2004-01-06 at 15:50, John Luke wrote:
> Hello,
> I recently needed to use some RadioButton's in the MonoDevelop port and
> ran accross some api nastiness, at least in my opinion. It seems most
> commonly you would want to create a new RadioButton with a label and its
> own group, and secondly a new RadioButton with labels for that group.
>
> Attached is a patch that hides most of the generated ctors (that were
> becoming static methods anyways), and adds a custom file with the two
> cases from above. Is this ok to commit?
For some consistency with the C API, it would nice to also have a ctor
that you can pass an existing radio button which uses the
new_from_widget constructor.
public RadioButton (RadioButton group_member, string label) {}
Please add that and commit. Thanks.
--
Mike Kestner <mkestner@speakeasy.net>