2004-06-01 Mike Kestner <mkestner@ximian.com>

* gtk/Gtk.metadata : mark SizeRequest requisition as out, not ref.
	[Fixes #59388]

2004-06-01  Mike Kestner  <mkestner@ximian.com>

	* en/Gtk/Widget.xml : move existing docs to new method sig.

svn path=/trunk/gtk-sharp/; revision=28629
This commit is contained in:
Mike Kestner 2004-06-01 15:28:22 +00:00
parent 598396892f
commit ac5e091b8c
5 changed files with 34 additions and 26 deletions

View File

@ -1,3 +1,8 @@
2004-06-01 Mike Kestner <mkestner@ximian.com>
* gtk/Gtk.metadata : mark SizeRequest requisition as out, not ref.
[Fixes #59388]
2004-05-31 Mike Kestner <mkestner@ximian.com>
* configure.in : Bump version to 0.93 and tag.

View File

@ -1,3 +1,7 @@
2004-06-01 Mike Kestner <mkestner@ximian.com>
* en/Gtk/Widget.xml : move existing docs to new method sig.
2004-05-31 Mike Kestner <mkestner@ximian.com>
* en/Gdk/Rectangle.xml : docs for newly changed Isect and Union.

View File

@ -2636,31 +2636,6 @@ handle focus grabs.</returns>
<remarks>To be added</remarks>
</Docs>
</Member>
<Member MemberName="SizeRequest">
<MemberSignature Language="C#" Value="public void SizeRequest (ref Gtk.Requisition requisition);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="requisition" Type="Gtk.Requisition&amp;" RefType="ref" />
</Parameters>
<Docs>
<summary>Obtains the preferred size of a <paramref name="widget" />.</summary>
<param name="requisition">A <see cref="T:Gtk.Requisition" />.</param>
<remarks>
<para>
The container uses this information to arrange its child widgets and decide what size allocations to give them with <see cref="M:Gtk.Widget.SizeAllocate" />.
</para>
<para>
You can also call this method from an application, with some caveats. Most notably, getting a size request requieres the <paramref name="widget" /> to be associated with a screen, because font information may be needed. Multihead-aware applications should keep this in mind.
</para>
<para>
Also remember that the size request is not necessarily the size a <paramref name="widget" /> will actually be allocated.
</para>
</remarks>
</Docs>
</Member>
<Member MemberName="StyleGetProperty">
<MemberSignature Language="C#" Value="public void StyleGetProperty (string property_name, GLib.Value value);" />
<MemberType>Method</MemberType>
@ -4688,5 +4663,28 @@ handle focus grabs.</returns>
<remarks>To be added</remarks>
</Docs>
</Member>
<Member MemberName="SizeRequest">
<MemberSignature Language="C#" Value="public Gtk.Requisition SizeRequest ();" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>Gtk.Requisition</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Obtains the preferred size of a <paramref name="widget" />.</summary>
<returns>a <see cref="T:Gtk.Requisition" /></returns>
<remarks>
<para>
The container uses this information to arrange its child widgets and decide what size allocations to give them with <see cref="M:Gtk.Widget.SizeAllocate" />.
</para>
<para>
You can also call this method from an application, with some caveats. Most notably, getting a size request requieres the <paramref name="widget" /> to be associated with a screen, because font information may be needed. Multihead-aware applications should keep this in mind.
</para>
<para>
Also remember that the size request is not necessarily the size a <paramref name="widget" /> will actually be allocated.
</para>
</remarks>
</Docs>
</Member>
</Members>
</Type>

View File

@ -295,7 +295,7 @@
<attr path="/api/namespace/object[@cname='GtkWidget']/method[@name='ModifyFont']/parameters/parameter[@type='PangoFontDescription*']" name="null_ok">1</attr>
<attr path="/api/namespace/object[@cname='GtkWidget']/method[@name='SetScrollAdjustments']/*/*[@type='GtkAdjustment*']" name="null_ok">1</attr>
<attr path="/api/namespace/object[@cname='GtkWidget']/method[@name='SetStyle']/*/*[@type='GtkStyle*']" name="null_ok">1</attr>
<attr path="/api/namespace/object[@cname='GtkWidget']/method[@name='SizeRequest']/*/*[@name='requisition']" name="pass_as">ref</attr>
<attr path="/api/namespace/object[@cname='GtkWidget']/method[@name='SizeRequest']/*/*[@name='requisition']" name="pass_as">out</attr>
<attr path="/api/namespace/object[@cname='GtkWidget']/method[@name='Unref']" name="hidden">1</attr>
<attr path="/api/namespace/object[@cname='GtkWidget']/signal[@name='ChildNotify']" name="name">ChildNotified</attr>
<attr path="/api/namespace/object[@cname='GtkWidget']/signal[@name='Event']" name="name">WidgetEvent</attr>

View File

@ -1,5 +1,6 @@
*.dll
*.exe
*.exe.config
generated
Makefile
Makefile.in