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
No EOL
2 KiB
XML
48 lines
No EOL
2 KiB
XML
<Type Name="ToggleSizeRequestedArgs" FullName="Gtk.ToggleSizeRequestedArgs">
|
|
<TypeSignature Language="C#" Value="public class ToggleSizeRequestedArgs : 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.MenuItem.ToggleSizeRequested" /> event invokes <see cref="T:Gtk.ToggleSizeRequestedHandler" /> 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 ToggleSizeRequestedArgs ();" />
|
|
<MemberType>Constructor</MemberType>
|
|
<ReturnValue />
|
|
<Parameters />
|
|
<Docs>
|
|
<summary>Public Constructor.</summary>
|
|
<returns>A new <see cref="T:Gtk.ToggleSizeRequestedArgs" />.</returns>
|
|
<remarks>Create a new <see cref="T:Gtk.ToggleSizeRequestedArgs" /> instance with this constructor if you need to invoke a <see cref="T:Gtk.ToggleSizeRequestedHandler" /> delegate.</remarks>
|
|
</Docs>
|
|
</Member>
|
|
<Member MemberName="Requisition">
|
|
<MemberSignature Language="C#" Value="public int Requisition { set; };" />
|
|
<MemberType>Property</MemberType>
|
|
<ReturnValue>
|
|
<ReturnType>System.Int32</ReturnType>
|
|
</ReturnValue>
|
|
<Docs>
|
|
<summary>The requested toggle size</summary>
|
|
<returns>a <see cref="T:System.Int32" /></returns>
|
|
<remarks />
|
|
</Docs>
|
|
</Member>
|
|
</Members>
|
|
</Type> |