mirror of
https://github.com/Ryujinx/GtkSharp.git
synced 2024-12-27 02:05:28 +00:00
faaccd7e0b
new methods to allow arbitrary setup and teardown code around the managed call. When passing a type with "complicated" marshalling requirements as a ref or out param, first assign the value to a temporary variable (in Setup), then pass the temp as the ref or out param (in ToString), and then assign the new value back to the original argument (in Finish). * generator/Signal.cs: * generator/SignalHandler.cs: Update to generate correct glue for signals with "ref" or "out" params. (#70566) * generator/VirtualMethod.cs: Update for ManagedCallString change * generator/IGeneratable.cs: add comments explaining what each member does * gtk/Gtk.metadata: mark Editable.InsertText's "position" arg * pass-by-ref * sample/Size.cs: connect to the SizeRequested event and override it, to test/demo the changes svn path=/trunk/gtk-sharp/; revision=37854
48 lines
1.8 KiB
XML
48 lines
1.8 KiB
XML
<Type Name="InputArgs" FullName="Gtk.InputArgs">
|
|
<TypeSignature Language="C#" Value="public class InputArgs : GLib.SignalArgs" Maintainer="auto" />
|
|
<AssemblyInfo>
|
|
<AssemblyName>gtk-sharp</AssemblyName>
|
|
<AssemblyPublicKey>
|
|
</AssemblyPublicKey>
|
|
<AssemblyVersion>0.0.0.0</AssemblyVersion>
|
|
<AssemblyCulture>neutral</AssemblyCulture>
|
|
<Attributes />
|
|
</AssemblyInfo>
|
|
<ThreadSafetyStatement>Gtk# is thread aware, but not thread safe; See the <link location="node:gtk-sharp/programming/threads">Gtk# Thread Programming</link> for details.</ThreadSafetyStatement>
|
|
<Docs>
|
|
<summary>Event data.</summary>
|
|
<remarks>
|
|
<para>The <see cref="M:Gtk.SpinButton.Input" /> event invokes <see cref="T:Gtk.InputHandler" /> delegates which pass event data via this class.</para>
|
|
</remarks>
|
|
</Docs>
|
|
<Base>
|
|
<BaseTypeName>GLib.SignalArgs</BaseTypeName>
|
|
</Base>
|
|
<Interfaces />
|
|
<Attributes />
|
|
<Members>
|
|
<Member MemberName=".ctor">
|
|
<MemberSignature Language="C#" Value="public InputArgs ();" />
|
|
<MemberType>Constructor</MemberType>
|
|
<ReturnValue />
|
|
<Parameters />
|
|
<Docs>
|
|
<summary>Public Constructor.</summary>
|
|
<returns>A new <see cref="T:Gtk.InputArgs" />.</returns>
|
|
<remarks>Create a new <see cref="T:Gtk.InputArgs" /> instance with this constructor if you need to invoke a <see cref="T:Gtk.InputHandler" /> delegate.</remarks>
|
|
</Docs>
|
|
</Member>
|
|
<Member MemberName="NewValue">
|
|
<MemberSignature Language="C#" Value="public double NewValue { set; };" />
|
|
<MemberType>Property</MemberType>
|
|
<ReturnValue>
|
|
<ReturnType>System.Double</ReturnType>
|
|
</ReturnValue>
|
|
<Docs>
|
|
<summary>The new value</summary>
|
|
<returns>a <see cref="T:System.Double" /></returns>
|
|
<remarks />
|
|
</Docs>
|
|
</Member>
|
|
</Members>
|
|
</Type> |