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
This commit is contained in:
parent
f223c45def
commit
88ab36d2ea
4 changed files with 35 additions and 13 deletions
|
@ -1,3 +1,11 @@
|
|||
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
|
||||
|
||||
2004-01-07 Mike Kestner <mkestner@ximian.com>
|
||||
|
||||
* gtk/Gtk.metadata : rename TreeView.RowExpand to GetRowExpanded.
|
||||
|
|
|
@ -135,10 +135,10 @@
|
|||
<attr path="/api/namespace/object[@cname='GtkPixmap']/method[@name='Set']/*/*[@type='GdkBitmap*']" name="null_ok">1</attr>
|
||||
<attr path="/api/namespace/object[@cname='GtkProgressBar']/constructor[@cname='gtk_progress_bar_new_with_adjustment']/*/*[@type='GtkAdjustment*']" name="null_ok">1</attr>
|
||||
<attr path="/api/namespace/object[@cname='GtkProgressBar']" name="parent">GtkWidget</attr>
|
||||
<attr path="/api/namespace/object[@cname='GtkRadioButton']/constructor[@cname='gtk_radio_button_new']/*/*[@type='GSList*']" name="null_ok">1</attr>
|
||||
<attr path="/api/namespace/object[@cname='GtkRadioButton']/constructor[@cname='gtk_radio_button_new_with_label']/*/*[@type='GSList*']" name="null_ok">1</attr>
|
||||
<attr path="/api/namespace/object[@cname='GtkRadioButton']/constructor[@cname='gtk_radio_button_new_with_mnemonic']" name="preferred">1</attr>
|
||||
<attr path="/api/namespace/object[@cname='GtkRadioButton']/constructor[@cname='gtk_radio_button_new_with_mnemonic']/*/*[@type='GSList*']" name="null_ok">1</attr>
|
||||
<attr path="/api/namespace/object[@cname='GtkRadioButton']/constructor[@cname='gtk_radio_button_new']" name="hidden">1</attr>
|
||||
<attr path="/api/namespace/object[@cname='GtkRadioButton']/constructor[@cname='gtk_radio_button_new_with_label_from_widget']" name="hidden">1</attr>
|
||||
<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>
|
||||
|
|
14
gtk/RadioButton.custom
Normal file
14
gtk/RadioButton.custom
Normal file
|
@ -0,0 +1,14 @@
|
|||
//
|
||||
// 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);
|
||||
}
|
|
@ -5411,9 +5411,9 @@
|
|||
<method name="GetType" cname="gtk_radio_button_get_type" shared="true">
|
||||
<return-type type="GType" />
|
||||
</method>
|
||||
<constructor cname="gtk_radio_button_new">
|
||||
<constructor cname="gtk_radio_button_new" hidden="1">
|
||||
<parameters>
|
||||
<parameter type="GSList*" name="group" null_ok="1" />
|
||||
<parameter type="GSList*" name="group" />
|
||||
</parameters>
|
||||
</constructor>
|
||||
<constructor cname="gtk_radio_button_new_from_widget">
|
||||
|
@ -5421,21 +5421,21 @@
|
|||
<parameter type="GtkRadioButton*" name="group" />
|
||||
</parameters>
|
||||
</constructor>
|
||||
<constructor cname="gtk_radio_button_new_with_label">
|
||||
<constructor cname="gtk_radio_button_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_button_new_with_label_from_widget">
|
||||
<constructor cname="gtk_radio_button_new_with_label_from_widget" hidden="1">
|
||||
<parameters>
|
||||
<parameter type="GtkRadioButton*" name="group" />
|
||||
<parameter type="const-gchar*" name="label" />
|
||||
</parameters>
|
||||
</constructor>
|
||||
<constructor cname="gtk_radio_button_new_with_mnemonic" preferred="1">
|
||||
<constructor cname="gtk_radio_button_new_with_mnemonic" hidden="1">
|
||||
<parameters>
|
||||
<parameter type="GSList*" name="group" null_ok="1" />
|
||||
<parameter type="GSList*" name="group" />
|
||||
<parameter type="const-gchar*" name="label" />
|
||||
</parameters>
|
||||
</constructor>
|
||||
|
@ -7292,7 +7292,7 @@
|
|||
<property name="Family" cname="family" type="gchar*" readable="true" writeable="true" />
|
||||
<property name="Style" cname="style" type="PangoStyle" readable="true" writeable="true" />
|
||||
<property name="Variant" cname="variant" type="PangoVariant" readable="true" writeable="true" />
|
||||
<property name="Weight" cname="weight" readable="true" writeable="true" type="PangoWeight" hidden="1" />
|
||||
<property name="Weight" cname="weight" type="gint" readable="true" writeable="true" hidden="1" />
|
||||
<property name="Stretch" cname="stretch" type="PangoStretch" readable="true" writeable="true" />
|
||||
<property name="Size" cname="size" type="gint" readable="true" writeable="true" />
|
||||
<property name="Scale" cname="scale" type="gdouble" readable="true" writeable="true" />
|
||||
|
@ -8861,7 +8861,7 @@
|
|||
<parameter type="GtkTreeViewColumn*" name="column" />
|
||||
</parameters>
|
||||
</method>
|
||||
<method cname="gtk_tree_view_row_expanded" name="RowExpand">
|
||||
<method cname="gtk_tree_view_row_expanded" name="GetRowExpanded">
|
||||
<return-type type="gboolean" />
|
||||
<parameters>
|
||||
<parameter type="GtkTreePath*" name="path" />
|
||||
|
|
Loading…
Reference in a new issue