2003-02-12 02:00:12 +00:00
<Type Name= "Alignment" FullName= "Gtk.Alignment" >
2005-05-23 20:41:51 +00:00
<TypeSignature Language= "C#" Maintainer= "Lee Mallabone" Value= "public class Alignment : Gtk.Bin" />
2011-11-09 16:01:51 +00:00
<TypeSignature Language= "ILAsm" Value= ".class public auto ansi beforefieldinit Alignment extends Gtk.Bin" />
2003-02-12 02:00:12 +00:00
<AssemblyInfo >
<AssemblyName > gtk-sharp</AssemblyName>
2003-12-24 01:35:30 +00:00
<AssemblyPublicKey >
</AssemblyPublicKey>
2003-02-12 02:00:12 +00:00
</AssemblyInfo>
2003-02-23 07:26:30 +00:00
<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>
2011-11-09 16:01:51 +00:00
<Base >
<BaseTypeName > Gtk.Bin</BaseTypeName>
</Base>
<Interfaces >
</Interfaces>
2003-02-12 02:00:12 +00:00
<Docs >
2003-03-15 10:41:15 +00:00
<summary > A container that controls the alignment and size of its child.</summary>
2003-03-15 22:50:24 +00:00
<remarks >
<para > An Alignment widget controls the alignment and size of its child widget. It has four settings: <see cref= "P:Gtk.Alignment.Xscale" /> , <see cref= "P:Gtk.Alignment.Yscale" /> , <see cref= "P:Gtk.Alignment.Xalign" /> , and <see cref= "P:Gtk.Alignment.Yalign" /> .</para>
<para > The scale settings are used to specify how much the child widget should expand to fill the space allocated to the Alignment. The values can range from 0 (meaning the child doesn't expand at all) to 1 (meaning the child expands to fill all of the available space).</para>
<para > The alignment settings are used to position the child widget within the available area. The values range from 0 (top or left) to 1 (bottom or right). If the scale settings are both set to 1, (making the child expand), the alignment settings have no effect.</para>
<para > To add a child to an Alignment, use the <see cref= "M:Gtk.Container.Add" /> method from the <see cref= "T:Gtk.Container" /> class.</para>
</remarks>
2003-02-12 02:00:12 +00:00
</Docs>
<Members >
<Member MemberName= ".ctor" >
<MemberSignature Language= "C#" Value= "public Alignment (IntPtr raw);" />
2011-11-09 16:01:51 +00:00
<MemberSignature Language= "ILAsm" Value= ".method public hidebysig specialname rtspecialname instance void .ctor(native int raw) cil managed" />
2003-02-12 02:00:12 +00:00
<MemberType > Constructor</MemberType>
<ReturnValue />
<Parameters >
2003-09-17 21:56:59 +00:00
<Parameter Name= "raw" Type= "System.IntPtr" />
</Parameters>
2003-02-12 02:00:12 +00:00
<Docs >
2003-02-23 07:26:30 +00:00
<param name= "raw" > Pointer to the C object.</param>
2011-11-09 16:01:51 +00:00
<summary > Internal constructor</summary>
2003-02-23 07:26:30 +00:00
<remarks >
<para > This is an internal constructor, and should not be used by user code.</para>
</remarks>
2003-02-12 02:00:12 +00:00
</Docs>
</Member>
<Member MemberName= ".ctor" >
<MemberSignature Language= "C#" Value= "public Alignment (float xalign, float yalign, float xscale, float yscale);" />
2011-11-09 16:01:51 +00:00
<MemberSignature Language= "ILAsm" Value= ".method public hidebysig specialname rtspecialname instance void .ctor(float32 xalign, float32 yalign, float32 xscale, float32 yscale) cil managed" />
2003-02-12 02:00:12 +00:00
<MemberType > Constructor</MemberType>
<ReturnValue />
<Parameters >
2003-09-17 21:56:59 +00:00
<Parameter Name= "xalign" Type= "System.Single" />
<Parameter Name= "yalign" Type= "System.Single" />
<Parameter Name= "xscale" Type= "System.Single" />
<Parameter Name= "yscale" Type= "System.Single" />
</Parameters>
2003-02-12 02:00:12 +00:00
<Docs >
2003-03-15 10:41:15 +00:00
<param name= "xalign" > The horizontal alignment of the child widget, from 0 (left) to 1 (right).</param>
<param name= "yalign" > The vertical alignment of the child widget, from 0 (top) to 1 (bottom).</param>
<param name= "xscale" > The amount that the child widget expands horizontally to fill up unused space, from 0 to 1.</param>
<param name= "yscale" > The amount that the child widget expands vertically to fill up unused space, from 0 to 1.</param>
2011-11-09 16:01:51 +00:00
<summary > Creates a new Alignment with the specified alignment and spacing.</summary>
2003-03-15 22:50:24 +00:00
<remarks />
2003-02-12 02:00:12 +00:00
</Docs>
</Member>
2011-11-09 16:01:51 +00:00
<Member MemberName= "BottomPadding" >
<MemberSignature Language= "C#" Value= "public uint BottomPadding { get; set; }" />
<MemberSignature Language= "ILAsm" Value= ".property instance unsigned int32 BottomPadding" />
2003-02-12 02:00:12 +00:00
<MemberType > Property</MemberType>
2005-06-16 18:56:42 +00:00
<Attributes >
2005-05-23 20:41:51 +00:00
<Attribute >
2011-11-09 16:01:51 +00:00
<AttributeName > GLib.Property("bottom-padding")</AttributeName>
2005-05-23 20:41:51 +00:00
</Attribute>
2005-06-16 18:56:42 +00:00
</Attributes>
2003-02-12 02:00:12 +00:00
<ReturnValue >
2011-11-09 16:01:51 +00:00
<ReturnType > System.UInt32</ReturnType>
2003-02-12 02:00:12 +00:00
</ReturnValue>
2011-11-09 16:01:51 +00:00
<Parameters />
2003-02-12 02:00:12 +00:00
<Docs >
2011-11-09 16:01:51 +00:00
<summary > The padding to insert at the bottom of the child widget.</summary>
<value > a <see cref= "T:System.UInt32" /> </value>
2003-03-15 22:50:24 +00:00
<remarks >
</remarks>
2011-11-09 16:01:51 +00:00
<since version= "Gtk# 2.4" />
2003-02-12 02:00:12 +00:00
</Docs>
2005-06-16 18:56:42 +00:00
</Member>
2011-11-09 16:01:51 +00:00
<Member MemberName= "GetPadding" >
<MemberSignature Language= "C#" Value= "public void GetPadding (out uint padding_top, out uint padding_bottom, out uint padding_left, out uint padding_right);" />
<MemberSignature Language= "ILAsm" Value= ".method public hidebysig instance void GetPadding(unsigned int32 padding_top, unsigned int32 padding_bottom, unsigned int32 padding_left, unsigned int32 padding_right) cil managed" />
<MemberType > Method</MemberType>
2003-02-12 02:00:12 +00:00
<ReturnValue >
2011-11-09 16:01:51 +00:00
<ReturnType > System.Void</ReturnType>
2003-02-12 02:00:12 +00:00
</ReturnValue>
2003-12-24 01:35:30 +00:00
<Parameters >
2011-11-09 16:01:51 +00:00
<Parameter Name= "padding_top" Type= "System.UInt32&" RefType= "out" />
<Parameter Name= "padding_bottom" Type= "System.UInt32&" RefType= "out" />
<Parameter Name= "padding_left" Type= "System.UInt32&" RefType= "out" />
<Parameter Name= "padding_right" Type= "System.UInt32&" RefType= "out" />
2003-12-24 01:35:30 +00:00
</Parameters>
2003-02-12 02:00:12 +00:00
<Docs >
2011-11-09 16:01:51 +00:00
<param name= "padding_top" > a <see cref= "T:System.UInt32" /> </param>
<param name= "padding_bottom" > a <see cref= "T:System.UInt32" /> </param>
<param name= "padding_left" > a <see cref= "T:System.UInt32" /> </param>
<param name= "padding_right" > a <see cref= "T:System.UInt32" /> </param>
<summary >
Gets the padding on the different sides of the widget.
</summary>
<remarks > This is a convenience method.
See also <see cref= "M:Gtk.Alignment.SetPadding" /> .</remarks>
<since version= "Gtk# 2.4" />
2003-02-12 02:00:12 +00:00
</Docs>
2005-06-16 18:56:42 +00:00
</Member>
2003-12-24 01:35:30 +00:00
<Member MemberName= "GType" >
2011-11-09 16:01:51 +00:00
<MemberSignature Language= "C#" Value= "public static GLib.GType GType { get; }" />
<MemberSignature Language= "ILAsm" Value= ".property valuetype GLib.GType GType" />
2003-12-24 01:35:30 +00:00
<MemberType > Property</MemberType>
<ReturnValue >
<ReturnType > GLib.GType</ReturnType>
</ReturnValue>
<Parameters />
<Docs >
2004-06-21 20:14:42 +00:00
<summary > GType Property.</summary>
2005-05-23 20:41:51 +00:00
<value > a <see cref= "T:GLib.GType" /> </value>
2004-06-21 20:14:42 +00:00
<remarks > Returns the native <see cref= "T:GLib.GType" /> value for <see cref= "T:Gtk.Alignment" /> .</remarks>
2003-12-24 01:35:30 +00:00
</Docs>
</Member>
2011-11-09 16:01:51 +00:00
<Member MemberName= "LeftPadding" >
<MemberSignature Language= "C#" Value= "public uint LeftPadding { get; set; }" />
<MemberSignature Language= "ILAsm" Value= ".property instance unsigned int32 LeftPadding" />
<MemberType > Property</MemberType>
2005-06-16 18:56:42 +00:00
<Attributes >
2005-05-23 20:41:51 +00:00
<Attribute >
2011-11-09 16:01:51 +00:00
<AttributeName > GLib.Property("left-padding")</AttributeName>
2005-05-23 20:41:51 +00:00
</Attribute>
2005-06-16 18:56:42 +00:00
</Attributes>
2004-11-05 21:25:40 +00:00
<ReturnValue >
<ReturnType > System.UInt32</ReturnType>
</ReturnValue>
<Parameters />
<Docs >
2004-12-31 20:09:02 +00:00
<summary > The padding to insert at the left of the child widget.</summary>
2005-05-23 20:41:51 +00:00
<value > a <see cref= "T:System.UInt32" /> </value>
2005-04-22 17:20:16 +00:00
<remarks >
</remarks>
2005-06-16 18:56:42 +00:00
<since version= "Gtk# 2.4" />
2004-11-05 21:25:40 +00:00
</Docs>
2011-11-09 16:01:51 +00:00
</Member>
<Member MemberName= "RightPadding" >
<MemberSignature Language= "C#" Value= "public uint RightPadding { get; set; }" />
<MemberSignature Language= "ILAsm" Value= ".property instance unsigned int32 RightPadding" />
<MemberType > Property</MemberType>
2005-06-16 18:56:42 +00:00
<Attributes >
2005-05-23 20:41:51 +00:00
<Attribute >
2011-11-09 16:01:51 +00:00
<AttributeName > GLib.Property("right-padding")</AttributeName>
2005-05-23 20:41:51 +00:00
</Attribute>
2005-06-16 18:56:42 +00:00
</Attributes>
2004-11-05 21:25:40 +00:00
<ReturnValue >
<ReturnType > System.UInt32</ReturnType>
</ReturnValue>
<Parameters />
<Docs >
2011-11-09 16:01:51 +00:00
<summary > The padding to insert at the right of the child widget.</summary>
2005-05-23 20:41:51 +00:00
<value > a <see cref= "T:System.UInt32" /> </value>
2005-04-22 17:20:16 +00:00
<remarks >
</remarks>
2005-06-16 18:56:42 +00:00
<since version= "Gtk# 2.4" />
2004-11-05 21:25:40 +00:00
</Docs>
2011-11-09 16:01:51 +00:00
</Member>
<Member MemberName= "Set" >
<MemberSignature Language= "C#" Value= "public void Set (float xalign, float yalign, float xscale, float yscale);" />
<MemberSignature Language= "ILAsm" Value= ".method public hidebysig instance void Set(float32 xalign, float32 yalign, float32 xscale, float32 yscale) cil managed" />
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.Void</ReturnType>
</ReturnValue>
<Parameters >
<Parameter Name= "xalign" Type= "System.Single" />
<Parameter Name= "yalign" Type= "System.Single" />
<Parameter Name= "xscale" Type= "System.Single" />
<Parameter Name= "yscale" Type= "System.Single" />
</Parameters>
<Docs >
<param name= "xalign" > The horizontal alignment of the child widget, from 0 (left) to 1 (right).</param>
<param name= "yalign" > The vertical alignment of the child widget, from 0 (top) to 1 (bottom).</param>
<param name= "xscale" > The amount that the child widget expands horizontally to fill up unused space, from 0 to 1.</param>
<param name= "yscale" > The amount that the child widget expands vertically to fill up unused space, from 0 to 1.</param>
<summary > Adjusts all the alignment and scale properties.</summary>
<remarks >
<para > For the scale parameters, a value of 0 indicates that the child widget should never expand. A value of 1 indicates that the child widget will expand to fill all of the space allocated for the Alignment.</para>
</remarks>
</Docs>
</Member>
<Member MemberName= "SetPadding" >
<MemberSignature Language= "C#" Value= "public void SetPadding (uint padding_top, uint padding_bottom, uint padding_left, uint padding_right);" />
<MemberSignature Language= "ILAsm" Value= ".method public hidebysig instance void SetPadding(unsigned int32 padding_top, unsigned int32 padding_bottom, unsigned int32 padding_left, unsigned int32 padding_right) cil managed" />
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.Void</ReturnType>
</ReturnValue>
<Parameters >
<Parameter Name= "padding_top" Type= "System.UInt32" />
<Parameter Name= "padding_bottom" Type= "System.UInt32" />
<Parameter Name= "padding_left" Type= "System.UInt32" />
<Parameter Name= "padding_right" Type= "System.UInt32" />
</Parameters>
<Docs >
<param name= "padding_top" > a <see cref= "T:System.UInt32" /> </param>
<param name= "padding_bottom" > a <see cref= "T:System.UInt32" /> </param>
<param name= "padding_left" > a <see cref= "T:System.UInt32" /> </param>
<param name= "padding_right" > a <see cref= "T:System.UInt32" /> </param>
<summary >
Sets the padding on the different sides of the widget.
</summary>
<remarks >
<para >
The padding adds blank space to the vertical or horizontal sides
of the widget. For instance, this can be used to indent the child
widget towards the right by adding padding on the left.
</para>
<para >
This is a convenience method; the properties can also
be set directly.
</para>
</remarks>
<since version= "Gtk# 2.4" />
</Docs>
</Member>
<Member MemberName= "TopPadding" >
<MemberSignature Language= "C#" Value= "public uint TopPadding { get; set; }" />
<MemberSignature Language= "ILAsm" Value= ".property instance unsigned int32 TopPadding" />
<MemberType > Property</MemberType>
2005-06-16 18:56:42 +00:00
<Attributes >
2005-05-23 20:41:51 +00:00
<Attribute >
2011-11-09 16:01:51 +00:00
<AttributeName > GLib.Property("top-padding")</AttributeName>
2005-05-23 20:41:51 +00:00
</Attribute>
2005-06-16 18:56:42 +00:00
</Attributes>
2004-11-05 21:25:40 +00:00
<ReturnValue >
<ReturnType > System.UInt32</ReturnType>
</ReturnValue>
<Parameters />
<Docs >
2004-12-31 20:09:02 +00:00
<summary > The padding to insert at the top of the child widget.</summary>
2005-05-23 20:41:51 +00:00
<value > a <see cref= "T:System.UInt32" /> </value>
2005-04-22 17:20:16 +00:00
<remarks >
</remarks>
2005-06-16 18:56:42 +00:00
<since version= "Gtk# 2.4" />
2004-11-05 21:25:40 +00:00
</Docs>
2011-11-09 16:01:51 +00:00
</Member>
<Member MemberName= "Xalign" >
<MemberSignature Language= "C#" Value= "public float Xalign { get; set; }" />
<MemberSignature Language= "ILAsm" Value= ".property instance float32 Xalign" />
<MemberType > Property</MemberType>
2005-06-16 18:56:42 +00:00
<Attributes >
2005-05-23 20:41:51 +00:00
<Attribute >
2011-11-09 16:01:51 +00:00
<AttributeName > GLib.Property("xalign")</AttributeName>
2005-05-23 20:41:51 +00:00
</Attribute>
2005-06-16 18:56:42 +00:00
</Attributes>
2011-11-09 16:01:51 +00:00
<ReturnValue >
<ReturnType > System.Single</ReturnType>
</ReturnValue>
<Parameters >
</Parameters>
<Docs >
<summary > Manage the horizontal alignment of the child widget.</summary>
<value > The child widget's current horizontal alignment.</value>
<remarks >
<para > This property is a value between 0 and 1, where 0 indicates no child expansion, and 1 indicates the child expands to fill the Alignment's allocated horizontal size.</para>
</remarks>
</Docs>
2005-06-16 18:56:42 +00:00
</Member>
2011-11-09 16:01:51 +00:00
<Member MemberName= "Xscale" >
<MemberSignature Language= "C#" Value= "public float Xscale { get; set; }" />
<MemberSignature Language= "ILAsm" Value= ".property instance float32 Xscale" />
2004-11-05 21:25:40 +00:00
<MemberType > Property</MemberType>
2011-11-09 16:01:51 +00:00
<Attributes >
<Attribute >
<AttributeName > GLib.Property("xscale")</AttributeName>
</Attribute>
</Attributes>
2004-11-05 21:25:40 +00:00
<ReturnValue >
2011-11-09 16:01:51 +00:00
<ReturnType > System.Single</ReturnType>
2004-11-05 21:25:40 +00:00
</ReturnValue>
2011-11-09 16:01:51 +00:00
<Parameters >
</Parameters>
2004-11-05 21:25:40 +00:00
<Docs >
2011-11-09 16:01:51 +00:00
<summary > Manage the horizontal expansion of the child widget.</summary>
<value > The current horizontal expansion of the child widget.</value>
2005-04-22 17:20:16 +00:00
<remarks >
2011-11-09 16:01:51 +00:00
<para > This property is a value between 0 and 1, where 0 indicates no child expansion, and 1 indicates the child expands to fill the Alignment's allocated horizontal size.</para>
2005-04-22 17:20:16 +00:00
</remarks>
2004-11-05 21:25:40 +00:00
</Docs>
2011-11-09 16:01:51 +00:00
</Member>
<Member MemberName= "Yalign" >
<MemberSignature Language= "C#" Value= "public float Yalign { get; set; }" />
<MemberSignature Language= "ILAsm" Value= ".property instance float32 Yalign" />
<MemberType > Property</MemberType>
2005-06-16 18:56:42 +00:00
<Attributes >
2005-05-23 20:41:51 +00:00
<Attribute >
2011-11-09 16:01:51 +00:00
<AttributeName > GLib.Property("yalign")</AttributeName>
2005-05-23 20:41:51 +00:00
</Attribute>
2005-06-16 18:56:42 +00:00
</Attributes>
2004-11-05 21:25:40 +00:00
<ReturnValue >
2011-11-09 16:01:51 +00:00
<ReturnType > System.Single</ReturnType>
2004-11-05 21:25:40 +00:00
</ReturnValue>
<Parameters >
</Parameters>
<Docs >
2011-11-09 16:01:51 +00:00
<summary > Manage the vertical alignment of the child widget.</summary>
<value > The child widget's current vertical alignment.</value>
<remarks >
<para > This property is a value between 0 and 1 where 0 indicates alignment at the top of the container, and 1 indicates alignment at the bottom of the container.</para>
</remarks>
2004-11-05 21:25:40 +00:00
</Docs>
</Member>
2011-11-09 16:01:51 +00:00
<Member MemberName= "Yscale" >
<MemberSignature Language= "C#" Value= "public float Yscale { get; set; }" />
<MemberSignature Language= "ILAsm" Value= ".property instance float32 Yscale" />
<MemberType > Property</MemberType>
<Attributes >
<Attribute >
<AttributeName > GLib.Property("yscale")</AttributeName>
</Attribute>
</Attributes>
2004-11-05 21:25:40 +00:00
<ReturnValue >
2011-11-09 16:01:51 +00:00
<ReturnType > System.Single</ReturnType>
2004-11-05 21:25:40 +00:00
</ReturnValue>
<Parameters >
</Parameters>
<Docs >
2011-11-09 16:01:51 +00:00
<summary > Manage the vertical expansion of the child widget.</summary>
<value > The current vertical expansion of the child widget.</value>
2004-12-31 20:09:02 +00:00
<remarks >
2011-11-09 16:01:51 +00:00
<para > This property is a value between 0 and 1, where 0 indicates no child expansion, and 1 indicates the child expands to fill the Alignment's allocated vertical size.</para>
2005-04-22 17:20:16 +00:00
</remarks>
2004-11-05 21:25:40 +00:00
</Docs>
</Member>
2003-02-12 02:00:12 +00:00
</Members>
2005-06-17 18:43:30 +00:00
</Type>