Add a default zero-arg constructor for Gtk.Viewport.

svn path=/trunk/gtk-sharp/; revision=12869
This commit is contained in:
Lee Mallabone 2003-03-27 19:15:04 +00:00
parent fa8aea036c
commit b68542269f
4 changed files with 13 additions and 9 deletions

View File

@ -1,3 +1,8 @@
2003-03-27 Lee Mallabone <gnome@fonicmonkey.net>
* api/gtk-api.xml, sources/Gtk.metadata, gtk/Viewport.custom:
Add default constructor to Viewport.
2003-03-25 Lee Mallabone <gnome@fonicmonkey.net> 2003-03-25 Lee Mallabone <gnome@fonicmonkey.net>
* api/gtk-api.xml: Allow parameters in TreeView.ScrollToCell to be null. * api/gtk-api.xml: Allow parameters in TreeView.ScrollToCell to be null.

View File

@ -8711,7 +8711,7 @@
</method> </method>
<constructor cname="gtk_vbutton_box_new"/> <constructor cname="gtk_vbutton_box_new"/>
</object> </object>
<object name="Viewport" cname="GtkViewport" parent="GtkBin"> <object name="Viewport" cname="GtkViewport" parent="GtkBin" disabledefaultconstructor="1">
<field cname="shadow_type" type="GtkShadowType"/> <field cname="shadow_type" type="GtkShadowType"/>
<field cname="view_window" type="GdkWindow*"/> <field cname="view_window" type="GdkWindow*"/>
<field cname="bin_window" type="GdkWindow*"/> <field cname="bin_window" type="GdkWindow*"/>

6
gtk/Viewport.custom Normal file
View File

@ -0,0 +1,6 @@
// Customizations for Viewport.
// Author: Lee Mallabone <gnome@fonicmonkey.net>
// Make a default constructor that wraps typical usage.
public Viewport (): this (null, null) {
}

View File

@ -1578,14 +1578,7 @@
<!-- disable default constructor --> <!-- disable default constructor -->
<rule> <rule>
<class name="GtkScrolledWindow"/> <class name="GtkScrolledWindow"/>
<data> <class name="GtkViewport"/>
<attribute target="class">
<name>disabledefaultconstructor</name>
<value>1</value>
</attribute>
</data>
</rule>
<rule>
<class name="GtkFrame"/> <class name="GtkFrame"/>
<data> <data>
<attribute target="class"> <attribute target="class">