2003-02-12 02:00:12 +00:00
<Type Name= "Ruler" FullName= "Gtk.Ruler" >
2005-05-23 20:41:51 +00:00
<TypeSignature Language= "C#" Maintainer= "Lee Mallabone" Value= "public class Ruler : Gtk.Widget" />
2003-02-12 02:00:12 +00:00
<AssemblyInfo >
<AssemblyName > gtk-sharp</AssemblyName>
2003-12-24 01:35:30 +00:00
<AssemblyPublicKey >
</AssemblyPublicKey>
2005-06-17 18:43:30 +00:00
<AssemblyVersion > 2.6.0.0</AssemblyVersion>
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>
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>
2003-05-08 20:26:02 +00:00
<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>
2003-03-24 18:12:01 +00:00
</remarks>
2003-02-12 02:00:12 +00:00
</Docs>
<Base >
<BaseTypeName > Gtk.Widget</BaseTypeName>
</Base>
<Interfaces >
</Interfaces>
<Members >
<Member MemberName= "DrawTicks" >
<MemberSignature Language= "C#" Value= "public void DrawTicks ();" />
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.Void</ReturnType>
</ReturnValue>
<Parameters />
<Docs >
2004-08-28 03:46:45 +00:00
<summary > Draws tickmarks on the ruler.</summary>
2004-11-05 21:25:40 +00:00
<remarks />
2003-02-12 02:00:12 +00:00
</Docs>
</Member>
<Member MemberName= "DrawPos" >
<MemberSignature Language= "C#" Value= "public void DrawPos ();" />
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.Void</ReturnType>
</ReturnValue>
<Parameters />
<Docs >
2004-08-28 03:46:45 +00:00
<summary > Draws the mouse position mark on the ruler.</summary>
2004-11-05 21:25:40 +00:00
<remarks />
2003-02-12 02:00:12 +00:00
</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 >
2003-09-17 21:56:59 +00:00
<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>
2003-02-12 02:00:12 +00:00
<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>
2004-11-05 21:25:40 +00:00
<param name= "max_size" > A <see cref= "T:System.Double" /> , the maximum size of the ruler.</param>
<remarks />
2003-02-12 02:00:12 +00:00
</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 >
2003-09-17 21:56:59 +00:00
<Parameter Name= "lower" Type= "System.Double&" RefType= "out" />
<Parameter Name= "upper" Type= "System.Double&" RefType= "out" />
<Parameter Name= "position" Type= "System.Double&" RefType= "out" />
<Parameter Name= "max_size" Type= "System.Double&" RefType= "out" />
</Parameters>
2003-02-12 02:00:12 +00:00
<Docs >
2004-08-28 03:46:45 +00:00
<summary > Gets the range information.</summary>
2004-11-05 21:25:40 +00:00
<param name= "lower" > A <see cref= "T:System.Double" /> for the lower value to display on the Ruler.</param>
<param name= "upper" > A <see cref= "T:System.Double" /> for the upper value to display on the Ruler.</param>
<param name= "position" > A <see cref= "T:System.Double" /> for the current position of the mouse aligned with this Ruler.</param>
<param name= "max_size" > A <see cref= "T:System.Double" /> , the maximum size of the ruler.</param>
<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 >
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
<summary > Internal constructor</summary>
<param name= "raw" > Pointer to the C object.</param>
<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= "Metric" >
<MemberSignature Language= "C#" Value= "public Gtk.MetricType Metric { set; get; };" />
<MemberType > Property</MemberType>
<ReturnValue >
<ReturnType > Gtk.MetricType</ReturnType>
</ReturnValue>
2003-12-24 01:35:30 +00:00
<Parameters >
</Parameters>
2003-02-12 02:00:12 +00:00
<Docs >
2003-03-24 18:12:01 +00:00
<summary > Manage the measurement unit that is displayed.</summary>
2005-05-23 20:41:51 +00:00
<value > The current units in use.</value>
2003-05-08 20:26:02 +00:00
<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>
2003-12-24 01:35:30 +00:00
<Parameters >
</Parameters>
2003-02-12 02:00:12 +00:00
<Docs >
2004-08-28 03:46:45 +00:00
<summary > The upper value to display on the ruler.</summary>
2005-05-23 20:41:51 +00:00
<value > A <see cref= "T:System.Double" /> </value>
2004-11-05 21:25:40 +00:00
<remarks />
2003-02-12 02:00:12 +00:00
</Docs>
2005-08-23 17:02:47 +00:00
<Attributes >
2005-05-23 20:41:51 +00:00
<Attribute >
<AttributeName > GLib.Property(Name="upper")</AttributeName>
</Attribute>
2005-08-23 17:02:47 +00:00
</Attributes>
</Member>
2003-02-12 02:00:12 +00:00
<Member MemberName= "Position" >
<MemberSignature Language= "C#" Value= "public double Position { set; get; };" />
<MemberType > Property</MemberType>
<ReturnValue >
<ReturnType > System.Double</ReturnType>
</ReturnValue>
2003-12-24 01:35:30 +00:00
<Parameters >
</Parameters>
2003-02-12 02:00:12 +00:00
<Docs >
2004-08-28 03:46:45 +00:00
<summary > The position of the mouse mark on the ruler.</summary>
2005-05-23 20:41:51 +00:00
<value > A <see cref= "T:System.Double" /> </value>
2004-11-05 21:25:40 +00:00
<remarks />
2003-02-12 02:00:12 +00:00
</Docs>
2005-08-23 17:02:47 +00:00
<Attributes >
2005-05-23 20:41:51 +00:00
<Attribute >
<AttributeName > GLib.Property(Name="position")</AttributeName>
</Attribute>
2005-08-23 17:02:47 +00:00
</Attributes>
</Member>
2003-02-12 02:00:12 +00:00
<Member MemberName= "MaxSize" >
<MemberSignature Language= "C#" Value= "public double MaxSize { set; get; };" />
<MemberType > Property</MemberType>
<ReturnValue >
<ReturnType > System.Double</ReturnType>
</ReturnValue>
2003-12-24 01:35:30 +00:00
<Parameters >
</Parameters>
2003-02-12 02:00:12 +00:00
<Docs >
2004-08-28 03:46:45 +00:00
<summary > The maximum size of the ruler.</summary>
2005-05-23 20:41:51 +00:00
<value > A <see cref= "T:System.Double" /> </value>
2004-11-05 21:25:40 +00:00
<remarks />
2003-02-12 02:00:12 +00:00
</Docs>
2005-08-23 17:02:47 +00:00
<Attributes >
2005-05-23 20:41:51 +00:00
<Attribute >
<AttributeName > GLib.Property(Name="max_size")</AttributeName>
</Attribute>
2005-08-23 17:02:47 +00:00
</Attributes>
</Member>
2003-02-12 02:00:12 +00:00
<Member MemberName= "Lower" >
<MemberSignature Language= "C#" Value= "public double Lower { set; get; };" />
<MemberType > Property</MemberType>
<ReturnValue >
<ReturnType > System.Double</ReturnType>
</ReturnValue>
2003-12-24 01:35:30 +00:00
<Parameters >
</Parameters>
2003-02-12 02:00:12 +00:00
<Docs >
2004-08-28 03:46:45 +00:00
<summary > The lower limit of the ruler.</summary>
2005-05-23 20:41:51 +00:00
<value > A <see cref= "T:System.Double" /> </value>
2004-11-05 21:25:40 +00:00
<remarks />
2003-02-12 02:00:12 +00:00
</Docs>
2005-08-23 17:02:47 +00:00
<Attributes >
2005-05-23 20:41:51 +00:00
<Attribute >
<AttributeName > GLib.Property(Name="lower")</AttributeName>
</Attribute>
2005-08-23 17:02:47 +00:00
</Attributes>
</Member>
2003-12-24 01:35:30 +00:00
<Member MemberName= "GType" >
<MemberSignature Language= "C#" Value= "public static GLib.GType GType { get; };" />
<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.Ruler" /> .</remarks>
2003-12-24 01:35:30 +00:00
</Docs>
</Member>
2003-03-07 01:30:00 +00:00
<Member MemberName= ".ctor" >
2003-12-24 01:35:30 +00:00
<MemberSignature Language= "C#" Value= "protected Ruler (GLib.GType gtype);" />
2003-03-07 01:30:00 +00:00
<MemberType > Constructor</MemberType>
<ReturnValue />
<Parameters >
2003-12-24 01:35:30 +00:00
<Parameter Name= "gtype" Type= "GLib.GType" />
2003-09-17 21:56:59 +00:00
</Parameters>
2003-03-07 01:30:00 +00:00
<Docs >
2004-06-21 20:33:11 +00:00
<summary > Protected Constructor.</summary>
2003-12-24 01:35:30 +00:00
<param name= "gtype" > a <see cref= "T:GLib.GType" /> </param>
2004-06-21 20:33:11 +00:00
<remarks > Chain to this constructor if you have manually registered a native <see cref= "T:GLib.GType" /> value for your subclass.</remarks>
2003-03-07 01:30:00 +00:00
</Docs>
2005-08-23 17:02:47 +00:00
<Attributes >
2005-05-23 20:41:51 +00:00
<Attribute >
<AttributeName > System.Obsolete(Message=null, IsError=False)</AttributeName>
</Attribute>
2005-08-23 17:02:47 +00:00
</Attributes>
</Member>
2004-06-01 18:05:26 +00:00
<Member MemberName= ".ctor" >
<MemberSignature Language= "C#" Value= "protected Ruler ();" />
<MemberType > Constructor</MemberType>
<ReturnValue />
<Parameters />
<Docs >
2004-08-28 03:46:45 +00:00
<summary > Protected constructor.</summary>
2004-11-05 21:25:40 +00:00
<remarks />
2004-06-01 18:05:26 +00:00
</Docs>
</Member>
2003-02-12 02:00:12 +00:00
</Members>
2005-05-23 20:41:51 +00:00
</Type>