2003-02-06 Duncan Mak <duncan@ximian.com>

* api/gtk-api.xml:
* sources/Gtk.metadata:
* gtk/Window.custom: Mark out params in gtk_window_get_size and gtk_window_get_default_size.

svn path=/trunk/gtk-sharp/; revision=11268
This commit is contained in:
Duncan Mak 2003-02-06 07:03:49 +00:00
parent 97fec24e46
commit b566d8b21a
4 changed files with 40 additions and 5 deletions

View file

@ -1,3 +1,9 @@
2003-02-06 Duncan Mak <duncan@ximian.com>
* api/gtk-api.xml:
* sources/Gtk.metadata:
* gtk/Window.custom: Mark out params in gtk_window_get_size and gtk_window_get_default_size.
2003-02-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* glib/SignalCallback.cs: new methods AddDelegate and RemoveDelegate.
@ -15,6 +21,12 @@
2003-01-29 Duncan Mak <duncan@ximian.com>
* gtk/Widget.custom: Add a nice overload, rename it to
'RequestSize' instead of 'SizeRequest' to avoid a name clash.
* api/gtk-api.xml:
* sources/Gtk.metadata: out param for gtk_widget_get_size_request.
* gtk/Window.custom: Add some overloads.
* api/gtk-api.xml:

View file

@ -10012,8 +10012,8 @@
<method name="GetDefaultSize" cname="gtk_window_get_default_size">
<return-type type="void"/>
<parameters>
<parameter type="gint*" name="width"/>
<parameter type="gint*" name="height"/>
<parameter type="gint*" name="width" pass_as="out"/>
<parameter type="gint*" name="height" pass_as="out"/>
</parameters>
</method>
<method name="GetDestroyWithParent" cname="gtk_window_get_destroy_with_parent">
@ -10065,8 +10065,8 @@
<method name="GetSize" cname="gtk_window_get_size">
<return-type type="void"/>
<parameters>
<parameter type="gint*" name="width"/>
<parameter type="gint*" name="height"/>
<parameter type="gint*" name="width" pass_as="out"/>
<parameter type="gint*" name="height" pass_as="out"/>
</parameters>
</method>
<method name="GetTitle" cname="gtk_window_get_title">

View file

@ -49,3 +49,13 @@
x, y);
}
}
public System.Drawing.Size Size {
get {
int x, y;
GetSize (out x, out y);
return new System.Drawing.Size (
x, y);
}
}

View file

@ -1019,7 +1019,20 @@
</attribute>
</data>
</rule>
z<rule>
<rule>
<class name="GtkWindow">
<method>GetSize</method>
<method>GetDefaultSize</method>
</class>
<data>
<attribute target="param">
<filter level="type">gint*</filter>
<name>pass_as</name>
<value>out</value>
</attribute>
</data>
</rule>
<rule>
<class name="GtkAdjustment">
<method>Changed</method>
</class>