2003-02-12 02:00:12 +00:00
<Type Name= "Ruler" FullName= "Gtk.Ruler" >
2003-03-24 18:12:01 +00:00
<TypeSignature Language= "C#" Value= "public class Ruler : Gtk.Widget, 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-24 18:12:01 +00:00
<summary > A base class for ruler widgets.</summary>
<remarks > <para > The Ruler widget is a base class for horizontal and vertical rulers. Rulers are used to show the mouse pointer's location in a window. Within the ruler a small triangle indicates the location of the mouse relative to the horizontal or vertical ruler. Concrete classes are <see cref= "T:Gtk.HRuler" /> and <see cref= "T:Gtk.VRuler" /> for horizontal and vertical rulers, respectively.</para>
<para > With this class, you can adjust the unit type and the range of values that a ruler displays.</para>
<para > Note:- This widget is considered too specialized for GTK+, and will likely be moved to some other package in the future.</para>
</remarks>
2003-02-12 02:00:12 +00:00
</Docs>
<Base >
<BaseTypeName > Gtk.Widget</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= "DrawTicks" >
<MemberSignature Language= "C#" Value= "public void DrawTicks ();" />
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.Void</ReturnType>
</ReturnValue>
<Parameters />
<Docs >
<summary > To be added</summary>
<remarks > To be added</remarks>
</Docs>
</Member>
<Member MemberName= "DrawPos" >
<MemberSignature Language= "C#" Value= "public void DrawPos ();" />
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.Void</ReturnType>
</ReturnValue>
<Parameters />
<Docs >
<summary > To be added</summary>
<remarks > To be added</remarks>
</Docs>
</Member>
<Member MemberName= "SetRange" >
<MemberSignature Language= "C#" Value= "public void SetRange (double lower, double upper, double position, double max_size);" />
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.Void</ReturnType>
</ReturnValue>
<Parameters >
<Parameter Name= "lower" Type= "System.Double" />
<Parameter Name= "upper" Type= "System.Double" />
<Parameter Name= "position" Type= "System.Double" />
<Parameter Name= "max_size" Type= "System.Double" />
</Parameters>
<Docs >
2003-03-24 18:12:01 +00:00
<summary > Sets the range information.</summary>
<param name= "lower" > The lower value to display on the Ruler.</param>
<param name= "upper" > The upper value to display on the Ruler.</param>
<param name= "position" > The current position of the mouse aligned with this Ruler.</param>
2003-02-12 02:00:12 +00:00
<param name= "max_size" > To be added: an object of type 'double'</param>
<remarks > To be added</remarks>
</Docs>
</Member>
<Member MemberName= "GetRange" >
2003-02-15 03:08:25 +00:00
<MemberSignature Language= "C#" Value= "public void GetRange (out double lower, out double upper, out double position, out double max_size);" />
2003-02-12 02:00:12 +00:00
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.Void</ReturnType>
</ReturnValue>
<Parameters >
<Parameter Name= "lower" Type= "System.Double&" />
<Parameter Name= "upper" Type= "System.Double&" />
<Parameter Name= "position" Type= "System.Double&" />
<Parameter Name= "max_size" Type= "System.Double&" />
</Parameters>
<Docs >
<summary > To be added</summary>
2003-02-15 03:08:25 +00:00
<param name= "lower" > To be added: an object of type 'double& '</param>
<param name= "upper" > To be added: an object of type 'double& '</param>
<param name= "position" > To be added: an object of type 'double& '</param>
<param name= "max_size" > To be added: an object of type 'double& '</param>
2003-02-12 02:00:12 +00:00
<remarks > To be added</remarks>
</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 Ruler (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 Ruler, 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= "protected Ruler ();" />
<MemberType > Constructor</MemberType>
<ReturnValue />
<Parameters />
<Docs >
2003-03-24 18:12:01 +00:00
<summary > Internal constructor</summary>
<returns > </returns>
<remarks > </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-02-23 07:26:30 +00:00
<summary > The GLib Type for Gtk.Ruler</summary>
2003-03-07 01:30:00 +00:00
<returns > The GLib Type for the Gtk.Ruler class.</returns>
2003-02-23 07:26:30 +00:00
<remarks />
2003-02-12 02:00:12 +00:00
</Docs>
</Member>
<Member MemberName= "Metric" >
<MemberSignature Language= "C#" Value= "public Gtk.MetricType Metric { set; get; };" />
<MemberType > Property</MemberType>
<ReturnValue >
<ReturnType > Gtk.MetricType</ReturnType>
</ReturnValue>
<Parameters >
<Parameter Name= "value" Type= "Gtk.MetricType" />
</Parameters>
<Docs >
2003-03-24 18:12:01 +00:00
<summary > Manage the measurement unit that is displayed.</summary>
<param name= "value" > A new unit type for the ruler.</param>
<returns > The current units in use.</returns>
<remarks > <para > If this property is not explicitly set, the default <see cref= "T:Gtk.MetricType" /> for a ruler is <see cref= "P:Gtk.MetricType.Pixels" /> .</para> </remarks>
2003-02-12 02:00:12 +00:00
</Docs>
</Member>
<Member MemberName= "Upper" >
<MemberSignature Language= "C#" Value= "public double Upper { set; get; };" />
<MemberType > Property</MemberType>
<ReturnValue >
<ReturnType > System.Double</ReturnType>
</ReturnValue>
<Parameters >
<Parameter Name= "value" Type= "System.Double" />
</Parameters>
<Docs >
<summary > To be added</summary>
<param name= "value" > To be added: an object of type 'double'</param>
<returns > To be added: an object of type 'double'</returns>
<remarks > To be added</remarks>
</Docs>
</Member>
<Member MemberName= "Position" >
<MemberSignature Language= "C#" Value= "public double Position { set; get; };" />
<MemberType > Property</MemberType>
<ReturnValue >
<ReturnType > System.Double</ReturnType>
</ReturnValue>
<Parameters >
<Parameter Name= "value" Type= "System.Double" />
</Parameters>
<Docs >
<summary > To be added</summary>
<param name= "value" > To be added: an object of type 'double'</param>
<returns > To be added: an object of type 'double'</returns>
<remarks > To be added</remarks>
</Docs>
</Member>
<Member MemberName= "MaxSize" >
<MemberSignature Language= "C#" Value= "public double MaxSize { set; get; };" />
<MemberType > Property</MemberType>
<ReturnValue >
<ReturnType > System.Double</ReturnType>
</ReturnValue>
<Parameters >
<Parameter Name= "value" Type= "System.Double" />
</Parameters>
<Docs >
<summary > To be added</summary>
<param name= "value" > To be added: an object of type 'double'</param>
<returns > To be added: an object of type 'double'</returns>
<remarks > To be added</remarks>
</Docs>
</Member>
<Member MemberName= "Lower" >
<MemberSignature Language= "C#" Value= "public double Lower { set; get; };" />
<MemberType > Property</MemberType>
<ReturnValue >
<ReturnType > System.Double</ReturnType>
</ReturnValue>
<Parameters >
<Parameter Name= "value" Type= "System.Double" />
</Parameters>
<Docs >
<summary > To be added</summary>
<param name= "value" > To be added: an object of type 'double'</param>
<returns > To be added: an object of type 'double'</returns>
<remarks > To be added</remarks>
</Docs>
</Member>
2003-03-07 01:30:00 +00:00
<Member MemberName= ".ctor" >
<MemberSignature Language= "C#" Value= "protected Ruler (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 Ruler, using the GLib-provided type</returns>
<remarks >
<para > This is a constructor used by derivative types of <see cref= "T:Gtk.Ruler" /> that would have their own GLib type assigned to it. This is not typically used by C# code.</para>
</remarks>
</Docs>
</Member>
2003-02-12 02:00:12 +00:00
</Members>
</Type>