2003-02-12 02:00:12 +00:00
<Type Name= "Fixed" FullName= "Gtk.Fixed" >
2005-05-23 20:41:51 +00:00
<TypeSignature Language= "C#" Maintainer= "John Luke" Value= "public class Fixed : Gtk.Container" />
2011-11-09 16:01:51 +00:00
<TypeSignature Language= "ILAsm" Value= ".class public auto ansi beforefieldinit Fixed extends Gtk.Container" />
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.Container</BaseTypeName>
</Base>
<Interfaces >
</Interfaces>
2003-02-12 02:00:12 +00:00
<Docs >
2003-05-02 22:36:47 +00:00
<summary > A container which allows you to position widgets at fixed coordinates</summary>
<remarks >
2003-05-08 20:26:02 +00:00
<para > The <see cref= "T:Gtk.Fixed" /> widget is a container which can place child widgets at fixed positions and with fixed sizes, given in pixels. <see cref= "T:Gtk.Fixed" /> performs no automatic layout management.</para>
<para > For most applications, you should not use this container! It keeps you from having to learn about the other Gtk# containers, but it results in broken applications. With <see cref= "T:Gtk.Fixed" /> , the following things will result in truncated text, overlapping widgets, and other display bugs:
2007-01-16 16:18:05 +00:00
<list type= "bullet" > <item > <term > Themes, which may change widget sizes.</term> </item> <item > <term > Fonts other than the one you used to write the app will of course change the size of widgets containing text; keep in mind that users may use a larger font because of difficulty reading the default, or they may be using Windows or the framebuffer port of GTK+, where different fonts are available.</term> </item> <item > <term > Translation of text into other languages changes its size. Also, display of non-English text will use a different font in many cases.</term> </item> </list> </para>
2003-07-08 18:44:29 +00:00
<para > In addition, the fixed widget can not properly be mirrored in right-to-left languages such as Hebrew and Arabic. i.e. normally Gtk# will flip the interface to put labels to the right of the thing they label, but it can not do that with <see cref= "T:Gtk.Fixed" /> . So your application will not be usable in right-to-left languages.</para>
2003-05-08 20:26:02 +00:00
<para > Finally, fixed positioning makes it kind of annoying to add/remove GUI elements, since you have to reposition all the other elements. This is a long-term maintenance problem for your application.</para>
<para > If you know none of these things are an issue for your application, and prefer the simplicity of <see cref= "T:Gtk.Fixed" /> , by all means use the widget. But you should be aware of the tradeoffs.</para>
</remarks>
2003-02-12 02:00:12 +00:00
</Docs>
<Members >
2011-11-09 16:01:51 +00:00
<Member MemberName= ".ctor" >
<MemberSignature Language= "C#" Value= "public Fixed ();" />
<MemberSignature Language= "ILAsm" Value= ".method public hidebysig specialname rtspecialname instance void .ctor() cil managed" />
<MemberType > Constructor</MemberType>
<ReturnValue />
<Parameters />
2003-02-12 02:00:12 +00:00
<Docs >
2011-11-09 16:01:51 +00:00
<summary > Creates a new <see cref= "T:Gtk.Fixed" /> object.</summary>
<remarks > Creates a new <see cref= "T:Gtk.Fixed" /> object.</remarks>
2003-02-12 02:00:12 +00:00
</Docs>
</Member>
<Member MemberName= ".ctor" >
<MemberSignature Language= "C#" Value= "public Fixed (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>
2011-11-09 16:01:51 +00:00
<Member MemberName= "GType" >
<MemberSignature Language= "C#" Value= "public static GLib.GType GType { get; }" />
<MemberSignature Language= "ILAsm" Value= ".property valuetype GLib.GType GType" />
<MemberType > Property</MemberType>
<ReturnValue >
<ReturnType > GLib.GType</ReturnType>
</ReturnValue>
2003-02-12 02:00:12 +00:00
<Parameters />
<Docs >
2011-11-09 16:01:51 +00:00
<summary > GType Property.</summary>
<value > a <see cref= "T:GLib.GType" /> </value>
<remarks > Returns the native <see cref= "T:GLib.GType" /> value for <see cref= "T:Gtk.Fixed" /> .</remarks>
2003-02-12 02:00:12 +00:00
</Docs>
</Member>
2011-11-09 16:01:51 +00:00
<Member MemberName= "Item" >
<MemberSignature Language= "C#" Value= "public override Gtk.Container.ContainerChild this[Gtk.Widget child] { get; }" />
<MemberSignature Language= "ILAsm" Value= ".property instance class Gtk.Container/ContainerChild Item(class Gtk.Widget)" />
2003-02-12 02:00:12 +00:00
<MemberType > Property</MemberType>
<ReturnValue >
2011-11-09 16:01:51 +00:00
<ReturnType > Gtk.Container+ContainerChild</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= "child" Type= "Gtk.Widget" />
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= "child" > To be added.</param>
<summary > To be added.</summary>
<value > To be added.</value>
<remarks > To be added.</remarks>
<since version= "Gtk# 3.0" />
2003-02-12 02:00:12 +00:00
</Docs>
</Member>
2011-11-09 16:01:51 +00:00
<Member MemberName= "Move" >
<MemberSignature Language= "C#" Value= "public void Move (Gtk.Widget widget, int x, int y);" />
<MemberSignature Language= "ILAsm" Value= ".method public hidebysig instance void Move(class Gtk.Widget widget, int32 x, int32 y) cil managed" />
<MemberType > Method</MemberType>
2003-12-24 01:35:30 +00:00
<ReturnValue >
2011-11-09 16:01:51 +00:00
<ReturnType > System.Void</ReturnType>
2003-12-24 01:35:30 +00:00
</ReturnValue>
2011-11-09 16:01:51 +00:00
<Parameters >
<Parameter Name= "widget" Type= "Gtk.Widget" />
<Parameter Name= "x" Type= "System.Int32" />
<Parameter Name= "y" Type= "System.Int32" />
</Parameters>
2003-12-24 01:35:30 +00:00
<Docs >
2011-11-09 16:01:51 +00:00
<param name= "widget" > an object of type <see cref= "T:Gtk.Widget" /> </param>
<param name= "x" > an object of type <see cref= "T:System.Int32" /> </param>
<param name= "y" > an object of type <see cref= "T:System.Int32" /> </param>
<summary > Moves a child of a <see cref= "T:Gtk.Fixed" /> container to the given position.</summary>
<remarks > Moves a child of a <see cref= "T:Gtk.Fixed" /> container to the given position.</remarks>
2003-12-24 01:35:30 +00:00
</Docs>
</Member>
2011-11-09 16:01:51 +00:00
<Member MemberName= "Put" >
<MemberSignature Language= "C#" Value= "public void Put (Gtk.Widget widget, int x, int y);" />
<MemberSignature Language= "ILAsm" Value= ".method public hidebysig instance void Put(class Gtk.Widget widget, int32 x, int32 y) cil managed" />
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.Void</ReturnType>
</ReturnValue>
2003-03-07 01:30:00 +00:00
<Parameters >
2011-11-09 16:01:51 +00:00
<Parameter Name= "widget" Type= "Gtk.Widget" />
<Parameter Name= "x" Type= "System.Int32" />
<Parameter Name= "y" Type= "System.Int32" />
2003-09-17 21:56:59 +00:00
</Parameters>
2003-03-07 01:30:00 +00:00
<Docs >
2011-11-09 16:01:51 +00:00
<param name= "widget" > an object of type <see cref= "T:Gtk.Widget" /> </param>
<param name= "x" > an object of type <see cref= "T:System.Int32" /> </param>
<param name= "y" > an object of type <see cref= "T:System.Int32" /> </param>
<summary > Adds a widget to a <see cref= "T:Gtk.Fixed" /> container at the given position.</summary>
<remarks > Adds a widget to a <see cref= "T:Gtk.Fixed" /> container at the given position.</remarks>
2003-03-07 01:30:00 +00:00
</Docs>
2005-08-23 17:02:47 +00:00
</Member>
2003-02-12 02:00:12 +00:00
</Members>
2005-05-23 20:41:51 +00:00
</Type>