2003-12-24 John Luke <jluke@cfl.rr.com>
* gtk/Label.custom: add public default constructor * gtk/gtk-api.xml: * gtk/Gtk.metadata: make gtk_label_new_with_mnemonic the preferred constructor, disable protected default ctor svn path=/trunk/gtk-sharp/; revision=21560
This commit is contained in:
parent
6e3879ca4b
commit
84cc259a94
4 changed files with 24 additions and 4 deletions
|
@ -16,6 +16,13 @@
|
|||
* gtk/gtk-api.xml : regen
|
||||
* sample/TestDnd.cs : update to new SelectionData API.
|
||||
|
||||
2003-12-24 John Luke <jluke@cfl.rr.com>
|
||||
|
||||
* gtk/Label.custom: add public default constructor
|
||||
* gtk/gtk-api.xml:
|
||||
* gtk/Gtk.metadata: make gtk_label_new_with_mnemonic the
|
||||
preferred constructor, disable protected default ctor
|
||||
|
||||
2003-12-21 John Luke <jluke@cfl.rr.com>
|
||||
|
||||
* glib/Idle.cs: add Remove method found in Alp Toker's platano
|
||||
|
|
|
@ -99,7 +99,8 @@
|
|||
<attr path="/api/namespace/object[@cname='GtkItem']/signal[@name='Deselect']" name="name">Deselected</attr>
|
||||
<attr path="/api/namespace/object[@cname='GtkItem']/signal[@name='Select']" name="name">Selected</attr>
|
||||
<attr path="/api/namespace/object[@cname='GtkItem']/signal[@name='Toggle']" name="name">Toggled</attr>
|
||||
<attr path="/api/namespace/object[@cname='GtkLabel']/constructor[@cname='gtk_label_new']" name="preferred">1</attr>
|
||||
<attr path="/api/namespace/object[@cname='GtkLabel']" name="disabledefaultconstructor">1</attr>
|
||||
<attr path="/api/namespace/object[@cname='GtkLabel']/constructor[@cname='gtk_label_new_with_mnemonic']" name="preferred">1</attr>
|
||||
<attr path="/api/namespace/object[@cname='GtkLayout']/constructor[@cname='gtk_layout_new']/*/*[@type='GtkAdjustment*']" name="null_ok">1</attr>
|
||||
<attr path="/api/namespace/object[@cname='GtkLayout']/method[@name='SetHadjustment']/*/*[@type='GtkAdjustment*']" name="null_ok">1</attr>
|
||||
<attr path="/api/namespace/object[@cname='GtkLayout']/method[@name='SetVadjustment']/*/*[@type='GtkAdjustment*']" name="null_ok">1</attr>
|
||||
|
|
12
gtk/Label.custom
Normal file
12
gtk/Label.custom
Normal file
|
@ -0,0 +1,12 @@
|
|||
//
|
||||
// Gtk.Label.custom
|
||||
//
|
||||
// This code is inserted after the automatically generated code.
|
||||
//
|
||||
// Author: John Luke <jluke@cfl.rr.com>
|
||||
//
|
||||
|
||||
public Label ()
|
||||
{
|
||||
Raw = gtk_label_new (null);
|
||||
}
|
|
@ -4041,7 +4041,7 @@
|
|||
</parameters>
|
||||
</method>
|
||||
</object>
|
||||
<object name="Label" cname="GtkLabel" parent="GtkMisc">
|
||||
<object name="Label" cname="GtkLabel" parent="GtkMisc" disabledefaultconstructor="1">
|
||||
<field cname="label" type="gchar*" />
|
||||
<field cname="jtype" bits="2" type="guint" />
|
||||
<field cname="wrap" bits="1" type="guint" />
|
||||
|
@ -4139,12 +4139,12 @@
|
|||
<method name="GetUseUnderline" cname="gtk_label_get_use_underline">
|
||||
<return-type type="gboolean" />
|
||||
</method>
|
||||
<constructor cname="gtk_label_new" preferred="1">
|
||||
<constructor cname="gtk_label_new">
|
||||
<parameters>
|
||||
<parameter type="const-char*" name="str" />
|
||||
</parameters>
|
||||
</constructor>
|
||||
<constructor cname="gtk_label_new_with_mnemonic">
|
||||
<constructor cname="gtk_label_new_with_mnemonic" preferred="1">
|
||||
<parameters>
|
||||
<parameter type="const-char*" name="str" />
|
||||
</parameters>
|
||||
|
|
Loading…
Reference in a new issue