GtkSharp/doc/en/Gtk/SizeRequestedArgs.xml

58 lines
2.2 KiB
XML
Raw Normal View History

<Type Name="SizeRequestedArgs" FullName="Gtk.SizeRequestedArgs">
<TypeSignature Language="C#" Value="public class SizeRequestedArgs : 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.Widget.SizeRequested" /> event invokes <see cref="T:Gtk.SizeRequestedHandler" /> 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 SizeRequestedArgs ();" />
<MemberType>Constructor</MemberType>
<ReturnValue />
<Parameters />
<Docs>
<summary>Public Constructor.</summary>
<returns>A new <see cref="T:Gtk.SizeRequestedArgs" />.</returns>
<remarks>Create a new <see cref="T:Gtk.SizeRequestedArgs" /> instance with this constructor if you need to invoke a <see cref="T:Gtk.SizeRequestedHandler" /> delegate.</remarks>
</Docs>
</Member>
<Member MemberName="Requisition">
<MemberSignature Language="C#" Value="public Gtk.Requisition Requisition { set; get; };" />
<MemberType>Property</MemberType>
<ReturnValue>
<ReturnType>Gtk.Requisition</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>The width and height this widget would like to have.</summary>
<returns>A <see cref="T:Gtk.Requisition" /></returns>
<remarks>
<example>
<code lang="C#">Requisition req = args.Requisition;
req.Width = 100;
req.Height = 200;
// NB: You must assign the value back to args.Requisition
args.Requisition = req;</code>
</example>
</remarks>
</Docs>
</Member>
</Members>
</Type>