2005-03-09 Alexandre Gomes <alexmipego@hotmail.com>

* gtk/Gtk.metadata: Set GetVisibleRect param to be passed as out.

svn path=/trunk/gtk-sharp/; revision=41601
This commit is contained in:
Mike Kestner 2005-03-09 15:06:38 +00:00
parent 90a870e2de
commit 9160dec10e
3 changed files with 21 additions and 18 deletions

View File

@ -1,3 +1,7 @@
2005-03-09 Alexandre Gomes <alexmipego@hotmail.com>
* gtk/Gtk.metadata: Set GetVisibleRect param to be passed as out.
2005-03-08 Mike Kestner <mkestner@novell.com>
* */*.cs : scrub for StringToPtrAnsi and string usage in DllImports.

View File

@ -256,23 +256,6 @@ class TextViewSample
</remarks>
</Docs>
</Member>
<Member MemberName="GetVisibleRect">
<MemberSignature Language="C#" Value="public void GetVisibleRect (Gdk.Rectangle visible_rect);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="visible_rect" Type="Gdk.Rectangle" />
</Parameters>
<Docs>
<summary>Fills <paramref name="visible_rect" /> with the currently-visible region of the buffer, in buffer coordinates.</summary>
<param name="visible_rect">the rectangle to fill</param>
<remarks>
You can convert to window coordinates with <see cref="M:Gtk.TextView.BufferToWindowCoords(Gtk.TextWindowType,System.Int32,System.Int32,System.Int32&amp;,System.Int32&amp;)" />.
</remarks>
</Docs>
</Member>
<Member MemberName="AddChildAtAnchor">
<MemberSignature Language="C#" Value="public void AddChildAtAnchor (Gtk.Widget child, Gtk.TextChildAnchor anchor);" />
<MemberType>Method</MemberType>
@ -1372,5 +1355,20 @@ class TextViewSample
<remarks>Defaults to false.</remarks>
</Docs>
</Member>
<Member MemberName="VisibleRect">
<MemberSignature Language="C#" Value="public Gdk.Rectangle VisibleRect { get; };" />
<MemberType>Property</MemberType>
<ReturnValue>
<ReturnType>Gdk.Rectangle</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Returns the currently-visible region of the buffer, in buffer coordinates.</summary>
<returns>a <see cref="T:Gdk.Rectangle" /></returns>
<remarks>
You can convert to window coordinates with <see cref="M:Gtk.TextView.BufferToWindowCoords(Gtk.TextWindowType,System.Int32,System.Int32,System.Int32&amp;,System.Int32&amp;)" />.
</remarks>
</Docs>
</Member>
</Members>
</Type>
</Type>

View File

@ -323,6 +323,7 @@
<attr path="/api/namespace/object[@cname='GtkTextView']/method[@name='GetIterAtLocation']/*/*[@type='GtkTextIter*']" name="pass_as">out</attr>
<attr path="/api/namespace/object[@cname='GtkTextView']/method[@name='GetLineAtY']/*/*[@type='GtkTextIter*']" name="pass_as">out</attr>
<attr path="/api/namespace/object[@cname='GtkTextView']/method[@name='GetIterLocation']/*/*[@type='GdkRectangle*']" name="pass_as">out</attr>
<attr path="/api/namespace/object[@cname='GtkTextView']/method[@name='GetVisibleRect']/*/*[@type='GdkRectangle*']" name="pass_as">out</attr>
<attr path="/api/namespace/object[@cname='GtkTextView']/method[@name='MoveVisually']/*/*[@type='GtkTextIter*']" name="pass_as">ref</attr>
<attr path="/api/namespace/object[@cname='GtkTextView']/signal[@name='SetScrollAdjustments']" name="name">ScrollAdjustmentsSet</attr>
<attr path="/api/namespace/object[@cname='GtkToggleAction']/method[@name='Toggled']" name="name">Toggle</attr>