2003-02-12 02:00:12 +00:00
<Type Name= "Frame" FullName= "Gtk.Frame" >
2003-02-28 19:26:53 +00:00
<TypeSignature Language= "C#" Value= "public class Frame : Gtk.Bin, Implementor, IWrapper, IWrapper, IDisposable" Maintainer= "Lee Mallabone" />
2003-02-12 02:00:12 +00:00
<AssemblyInfo >
<AssemblyName > gtk-sharp</AssemblyName>
<AssemblyVersion > 0.0.0.0</AssemblyVersion>
<Attributes />
</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>
2003-02-12 02:00:12 +00:00
<Docs >
2003-03-07 01:30:00 +00:00
<summary > A <see cref= "T:Gtk.Bin" /> with a decorative frame and optional <see cref= "T:Gtk.Label" /> .</summary>
<remarks >
<para > This widget draws a frame around whatever it contains, so is often used to visually group a set of widgets together.</para>
2003-07-08 18:44:29 +00:00
<para > If present, a label is drawn in a gap in the top side of the frame. The position of the label can be controlled with <see cref= "M:Gtk.Frame.SetLabelAlign(System.Single,System.Single)" /> .</para>
2003-03-07 01:30:00 +00:00
</remarks>
2003-02-12 02:00:12 +00:00
</Docs>
<Base >
<BaseTypeName > Gtk.Bin</BaseTypeName>
</Base>
<Interfaces >
<Interface >
<InterfaceName > Atk.Implementor</InterfaceName>
</Interface>
<Interface >
<InterfaceName > GLib.IWrapper</InterfaceName>
</Interface>
<Interface >
<InterfaceName > GLib.IWrapper</InterfaceName>
</Interface>
<Interface >
<InterfaceName > System.IDisposable</InterfaceName>
</Interface>
</Interfaces>
<Attributes />
<Members >
<Member MemberName= "SetLabelAlign" >
<MemberSignature Language= "C#" Value= "public void SetLabelAlign (float xalign, float yalign);" />
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.Void</ReturnType>
</ReturnValue>
<Parameters >
<Parameter Name= "xalign" Type= "System.Single" />
<Parameter Name= "yalign" Type= "System.Single" />
</Parameters>
<Docs >
2003-03-07 01:30:00 +00:00
<summary > Sets the alignment of the <see cref= "P:Gtk.Frame.LabelWidget" /> .</summary>
2003-02-28 19:26:53 +00:00
<param name= "xalign" > The horizontal alignment, between 0 and 1.0.</param>
<param name= "yalign" > The vertical alignment, between 0 and 1.0.</param>
2003-03-07 01:30:00 +00:00
<remarks >
<para > Horizontal and vertical alignments can be adjusted individually using the <see cref= "P:Gtk.Frame.LabelXAlign" /> and <see cref= "P:Gtk.Frame.LabelYAlign" /> properties, respectively.</para>
</remarks>
2003-02-12 02:00:12 +00:00
</Docs>
</Member>
<Member MemberName= "Finalize" >
<MemberSignature Language= "C#" Value= "protected virtual void Finalize ();" />
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.Void</ReturnType>
</ReturnValue>
<Parameters />
<Docs >
2003-02-23 07:26:30 +00:00
<summary > Disposes the resources associated with the object.</summary>
<remarks />
2003-02-12 02:00:12 +00:00
</Docs>
</Member>
<Member MemberName= ".ctor" >
<MemberSignature Language= "C#" Value= "public Frame (IntPtr raw);" />
<MemberType > Constructor</MemberType>
<ReturnValue />
<Parameters >
<Parameter Name= "raw" Type= "System.IntPtr" />
</Parameters>
<Docs >
2003-02-23 07:26:30 +00:00
<summary > Internal constructor</summary>
<param name= "raw" > Pointer to the C object.</param>
<returns > An instance of Frame, wrapping the C object.</returns>
<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 Frame (string label);" />
<MemberType > Constructor</MemberType>
<ReturnValue />
<Parameters >
<Parameter Name= "label" Type= "System.String" />
</Parameters>
<Docs >
2003-02-28 19:26:53 +00:00
<summary > Create a new frame with a label in the top left corner.</summary>
<param name= "label" > The text to appear as this frame's label</param>
<returns > A new Frame.</returns>
2003-03-07 01:30:00 +00:00
<remarks >
<para > This creates a new frame with a <see cref= "T:Gtk.Label" /> widget in the top left corner, displaying the text passed in as <paramref name= "label" /> .</para>
</remarks>
2003-02-12 02:00:12 +00:00
</Docs>
</Member>
<Member MemberName= ".ctor" >
<MemberSignature Language= "C#" Value= "public Frame ();" />
<MemberType > Constructor</MemberType>
<ReturnValue />
<Parameters />
<Docs >
2003-02-28 19:26:53 +00:00
<summary > Create a new frame with no label</summary>
2003-03-07 01:30:00 +00:00
<returns > A new Frame with a null <see cref= "P:Gtk.Frame.LabelWidget" /> .</returns>
<remarks />
2003-02-12 02:00:12 +00:00
</Docs>
</Member>
<Member MemberName= "GType" >
<MemberSignature Language= "C#" Value= "public static uint GType { get; };" />
<MemberType > Property</MemberType>
<ReturnValue >
<ReturnType > System.UInt32</ReturnType>
</ReturnValue>
<Docs >
2003-07-08 18:44:29 +00:00
<summary > The <see cref= "T:GLib.Type" /> for <see cref= "T:Gtk.Frame" /> </summary>
<returns > The <see cref= "T:GLib.Type" /> for the <see cref= "T:Gtk.Frame" /> class.</returns>
2003-02-23 07:26:30 +00:00
<remarks />
2003-02-12 02:00:12 +00:00
</Docs>
</Member>
<Member MemberName= "LabelWidget" >
<MemberSignature Language= "C#" Value= "public Gtk.Widget LabelWidget { set; get; };" />
<MemberType > Property</MemberType>
<ReturnValue >
<ReturnType > Gtk.Widget</ReturnType>
</ReturnValue>
<Parameters >
<Parameter Name= "value" Type= "Gtk.Widget" />
</Parameters>
<Docs >
2003-03-07 01:30:00 +00:00
<summary > Manage the widget that acts as a frame's <see cref= "T:Gtk.Label" /> .</summary>
2003-02-28 19:26:53 +00:00
<param name= "value" > A widget to replace the existing label.</param>
2003-03-07 01:30:00 +00:00
<returns > The current <see cref= "T:Gtk.Widget" /> in use as this Frame's label.</returns>
<remarks >
<para > Despite its name, this property does not have to set a <see cref= "T:Gtk.Label" /> widget as its label. Because of the way that Gtk containers work, you may add an arbitrary widget as the label for this frame. However, a genuine <see cref= "T:Gtk.Label" /> is recommended for consistency with other applications.</para>
</remarks>
2003-02-12 02:00:12 +00:00
</Docs>
</Member>
<Member MemberName= "LabelYalign" >
<MemberSignature Language= "C#" Value= "public float LabelYalign { set; get; };" />
<MemberType > Property</MemberType>
<ReturnValue >
<ReturnType > System.Single</ReturnType>
</ReturnValue>
<Parameters >
<Parameter Name= "value" Type= "System.Single" />
</Parameters>
<Docs >
2003-03-07 01:30:00 +00:00
<summary > Set the vertical alignment of the <see cref= "P:Gtk.Frame.LabelWidget" /> .</summary>
2003-02-28 19:26:53 +00:00
<param name= "value" > A new vertical alignment between 0 and 1.0</param>
<returns > The existing vertical alignment of this Frame's label</returns>
2003-03-07 01:30:00 +00:00
<remarks />
2003-02-12 02:00:12 +00:00
</Docs>
</Member>
<Member MemberName= "LabelXalign" >
<MemberSignature Language= "C#" Value= "public float LabelXalign { set; get; };" />
<MemberType > Property</MemberType>
<ReturnValue >
<ReturnType > System.Single</ReturnType>
</ReturnValue>
<Parameters >
<Parameter Name= "value" Type= "System.Single" />
</Parameters>
<Docs >
2003-03-07 01:30:00 +00:00
<summary > Set the horizontal alignment of the <see cref= "P:Gtk.Frame.LabelWidget" /> .</summary>
2003-02-28 19:26:53 +00:00
<param name= "value" > A new horizontal alignment between 0 and 1.0</param>
<returns > The existing horizontal alignment of this Frame's label</returns>
2003-03-07 01:30:00 +00:00
<remarks />
2003-02-12 02:00:12 +00:00
</Docs>
</Member>
<Member MemberName= "ShadowType" >
<MemberSignature Language= "C#" Value= "public Gtk.ShadowType ShadowType { set; get; };" />
<MemberType > Property</MemberType>
<ReturnValue >
<ReturnType > Gtk.ShadowType</ReturnType>
</ReturnValue>
<Parameters >
<Parameter Name= "value" Type= "Gtk.ShadowType" />
</Parameters>
<Docs >
2003-02-28 19:26:53 +00:00
<summary > Manage the appearance of this frame's border.</summary>
<param name= "value" > A new shadow type.</param>
<returns > The current shadow style that this Frame is rendered with.</returns>
2003-03-07 01:30:00 +00:00
<remarks />
2003-02-12 02:00:12 +00:00
</Docs>
</Member>
<Member MemberName= "Label" >
<MemberSignature Language= "C#" Value= "public string Label { set; get; };" />
<MemberType > Property</MemberType>
<ReturnValue >
<ReturnType > System.String</ReturnType>
</ReturnValue>
<Parameters >
<Parameter Name= "value" Type= "System.String" />
</Parameters>
<Docs >
2003-02-28 19:26:53 +00:00
<summary > The string that is visible as the Frame's label</summary>
<param name= "value" > Sets the text of the label, if this Frame has one.</param>
2003-03-07 01:30:00 +00:00
<returns > The text of a label if <see cref= "P:Gtk.Frame.LabelWidget" /> is a <see cref= "T:Gtk.Label" /> , null otherwise.</returns>
<remarks />
2003-02-12 02:00:12 +00:00
</Docs>
</Member>
<Member MemberName= "Shadow" >
<MemberSignature Language= "C#" Value= "public Gtk.ShadowType Shadow { set; get; };" />
<MemberType > Property</MemberType>
<ReturnValue >
<ReturnType > Gtk.ShadowType</ReturnType>
</ReturnValue>
<Parameters >
<Parameter Name= "value" Type= "Gtk.ShadowType" />
</Parameters>
<Docs >
2003-02-28 19:26:53 +00:00
<summary > Manage the appearance of this frame's border.</summary>
<param name= "value" > A new shadow type.</param>
<returns > The current shadow style that this Frame is rendered with.</returns>
2003-03-07 01:30:00 +00:00
<remarks />
</Docs>
</Member>
<Member MemberName= ".ctor" >
<MemberSignature Language= "C#" Value= "protected Frame (GLib.Type gtype);" />
<MemberType > Constructor</MemberType>
<ReturnValue />
<Parameters >
<Parameter Name= "gtype" Type= "GLib.Type" />
</Parameters>
<Docs >
<summary > Internal constructor</summary>
<param name= "gtype" > GLib type for the type</param>
<returns > Creates a new instance of Frame, using the GLib-provided type</returns>
<remarks >
<para > This is a constructor used by derivative types of <see cref= "T:Gtk.Frame" /> that would have their own GLib type assigned to it. This is not typically used by C# code.</para>
</remarks>
2003-02-12 02:00:12 +00:00
</Docs>
</Member>
2003-05-08 20:26:02 +00:00
<Member MemberName= "GetLabelAlign" >
<MemberSignature Language= "C#" Value= "public void GetLabelAlign (out float xalign, out float yalign);" />
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.Void</ReturnType>
</ReturnValue>
<Parameters >
<Parameter Name= "xalign" Type= "System.Single&" />
<Parameter Name= "yalign" Type= "System.Single&" />
</Parameters>
<Docs >
2003-07-04 07:49:31 +00:00
<summary > Retrieves the X and Y alignment of the frame's label.</summary>
<param name= "xalign" > Location to store X alignment of frame's label</param>
<param name= "yalign" > Location to store Y alignment of frame's label</param>
<remarks />
2003-05-08 20:26:02 +00:00
</Docs>
</Member>
2003-02-12 02:00:12 +00:00
</Members>
2003-07-08 18:44:29 +00:00
</Type>