2004-02-06 John Luke <jluke@cfl.rr.com>

* gtk/Gtk.metadata: hide unneeded RadioMenuItem ctors
        * gtk/RadioMenuItem.custom: add ctor to create a new group
        * gtk/gtk-api.xml: regen

svn path=/trunk/gtk-sharp/; revision=22841
This commit is contained in:
John Luke 2004-02-06 18:56:00 +00:00
parent 4251d47fe9
commit 0fb19cdc37
4 changed files with 24 additions and 6 deletions

View file

@ -1,3 +1,9 @@
2004-02-06 John Luke <jluke@cfl.rr.com>
* gtk/Gtk.metadata: hide unneeded RadioMenuItem ctors
* gtk/RadioMenuItem.custom: add ctor to create a new group
* gtk/gtk-api.xml: regen
2004-02-04 Mike Kestner <mkestner@ximian.com>
* generator/CustomMarshalerGen.cs : impl MarshalReturnType.

View file

@ -143,8 +143,9 @@
<attr path="/api/namespace/object[@cname='GtkRadioButton']/constructor[@cname='gtk_radio_button_new_with_label']" name="hidden">1</attr>
<attr path="/api/namespace/object[@cname='GtkRadioButton']/constructor[@cname='gtk_radio_button_new_with_mnemonic']" name="hidden">1</attr>
<attr path="/api/namespace/object[@cname='GtkRadioButton']/property[@name='Group']" name="hidden">1</attr>
<attr path="/api/namespace/object[@cname='GtkRadioMenuItem']/constructor[@cname='gtk_radio_menu_item_new_with_label']/*/*[@type='GSList*']" name="null_ok">1</attr>
<attr path="/api/namespace/object[@cname='GtkRadioMenuItem']/constructor[@cname='gtk_radio_menu_item_new_with_mnemonic']" name="preferred">1</attr>
<attr path="/api/namespace/object[@cname='GtkRadioMenuItem']/constructor[@cname='gtk_radio_menu_item_new']" name="hidden">1</attr>
<attr path="/api/namespace/object[@cname='GtkRadioMenuItem']/constructor[@cname='gtk_radio_menu_item_new_with_label']" name="hidden">1</attr>
<attr path="/api/namespace/object[@cname='GtkRadioMenuItem']/constructor[@cname='gtk_radio_menu_item_new_with_label_from_widget']" name="hidden">1</attr>
<attr path="/api/namespace/object[@cname='GtkRcStyle']/method[@name='Ref']" name="hidden">1</attr>
<attr path="/api/namespace/object[@cname='GtkRcStyle']/method[@name='Unref']" name="hidden">1</attr>
<attr path="/api/namespace/object[@cname='GtkReadyEvent']" name="hidden">1</attr>

11
gtk/RadioMenuItem.custom Normal file
View file

@ -0,0 +1,11 @@
//
// RadioMenuItem.custom
//
// Author: John Luke <jluke@cfl.rr.com>
//
// creates a new group for this RadioMenuItem
public RadioMenuItem (string label)
{
Raw = gtk_radio_menu_item_new_with_mnemonic (IntPtr.Zero, label);
}

View file

@ -5451,18 +5451,18 @@
<method name="GetType" cname="gtk_radio_menu_item_get_type" shared="true">
<return-type type="GType" />
</method>
<constructor cname="gtk_radio_menu_item_new">
<constructor cname="gtk_radio_menu_item_new" hidden="1">
<parameters>
<parameter type="GSList*" name="group" />
</parameters>
</constructor>
<constructor cname="gtk_radio_menu_item_new_with_label">
<constructor cname="gtk_radio_menu_item_new_with_label" hidden="1">
<parameters>
<parameter type="GSList*" name="group" null_ok="1" />
<parameter type="GSList*" name="group" />
<parameter type="const-gchar*" name="label" />
</parameters>
</constructor>
<constructor cname="gtk_radio_menu_item_new_with_mnemonic" preferred="1">
<constructor cname="gtk_radio_menu_item_new_with_mnemonic">
<parameters>
<parameter type="GSList*" name="group" />
<parameter type="const-gchar*" name="label" />