2003-02-12 02:00:12 +00:00
<Type Name= "Scale" FullName= "Gtk.Scale" >
2003-02-15 03:08:25 +00:00
<TypeSignature Language= "C#" Value= "public class Scale : Gtk.Range, Implementor, IWrapper, IWrapper, IDisposable" Maintainer= "auto" />
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
<AssemblyVersion > 0.0.0.0</AssemblyVersion>
2003-10-28 00:48:23 +00:00
<AssemblyCulture > neutral</AssemblyCulture>
2003-02-12 02:00:12 +00:00
<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-15 22:50:24 +00:00
<summary > A base class for the concrete slider widgets; <see cref= "T:Gtk.HScale" /> and <see cref= "T:Gtk.VScale" /> .</summary>
<remarks >
<para > A Scale is a slider control used to select a numeric value. Specific manipulation can be done with methods and properties on its base class, <see cref= "T:Gtk.Range" /> . To set the value of a scale, you would normally use the <see cref= "P:Gtk.Range.Value" /> property. To detect changes to the value, connect an event handler to the <see cref= "F:Gtk.Range.ValueChanged" /> event.</para>
</remarks>
2003-02-12 02:00:12 +00:00
</Docs>
<Base >
<BaseTypeName > Gtk.Range</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= "Finalize" >
2003-10-13 22:55:58 +00:00
<MemberSignature Language= "C#" Value= "protected override void Finalize ();" />
2003-02-12 02:00:12 +00:00
<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 Scale (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>
<returns > An instance of Scale, 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= "ValuePos" >
<MemberSignature Language= "C#" Value= "public Gtk.PositionType ValuePos { set; get; };" />
<MemberType > Property</MemberType>
<ReturnValue >
<ReturnType > Gtk.PositionType</ReturnType>
</ReturnValue>
2003-12-24 01:35:30 +00:00
<Parameters >
</Parameters>
2003-02-12 02:00:12 +00:00
<Docs >
2003-03-09 13:50:54 +00:00
<summary > Manage the position of the value, relative to the slider.</summary>
<param name= "value" > The position to place the value</param>
<returns > Where the value is currently being drawn.</returns>
2003-03-15 22:50:24 +00:00
<remarks >
<para > Note: This property is only meaningful is a value is being drawn. To ensure a value is drawn, use the <see cref= "P:Gtk.Scale.DrawValue" /> property.</para>
</remarks>
2003-02-12 02:00:12 +00:00
</Docs>
</Member>
<Member MemberName= "DrawValue" >
<MemberSignature Language= "C#" Value= "public bool DrawValue { set; get; };" />
<MemberType > Property</MemberType>
<ReturnValue >
<ReturnType > System.Boolean</ReturnType>
</ReturnValue>
2003-12-24 01:35:30 +00:00
<Parameters >
</Parameters>
2003-02-12 02:00:12 +00:00
<Docs >
2003-03-09 13:50:54 +00:00
<summary > Manage whether a label is displayed to show the current value.</summary>
2003-03-15 22:50:24 +00:00
<param name= "value" >
<see langword= "true" /> to display the value, <see langword= "false" /> otherwise.</param>
2003-03-09 13:50:54 +00:00
<returns > Whether the value is currently being displayed.</returns>
2003-03-15 22:50:24 +00:00
<remarks >
<para > Use the <see cref= "P:Gtk.Scale.ValuePos" /> property to alter the position of displayed value.</para>
</remarks>
2003-02-12 02:00:12 +00:00
</Docs>
</Member>
<Member MemberName= "Digits" >
<MemberSignature Language= "C#" Value= "public int Digits { set; get; };" />
<MemberType > Property</MemberType>
<ReturnValue >
<ReturnType > System.Int32</ReturnType>
</ReturnValue>
2003-12-24 01:35:30 +00:00
<Parameters >
</Parameters>
2003-02-12 02:00:12 +00:00
<Docs >
2003-03-09 13:50:54 +00:00
<summary > Manage the number of decimal places for this slider.</summary>
<param name= "value" > The number of decimal places to display.</param>
<returns > The number of decimal places currently being displayed.</returns>
2003-03-15 22:50:24 +00:00
<remarks />
2003-02-12 02:00:12 +00:00
</Docs>
</Member>
<Member MemberName= "FormatValue" >
2004-02-25 23:39:06 +00:00
<MemberSignature Language= "C#" Value= "public event Gtk.FormatValueHandler FormatValue;" />
2003-02-12 02:00:12 +00:00
<MemberType > Event</MemberType>
2003-09-17 21:56:59 +00:00
<ReturnValue >
2004-02-25 23:39:06 +00:00
<ReturnType > Gtk.FormatValueHandler</ReturnType>
2003-09-17 21:56:59 +00:00
</ReturnValue>
2003-02-12 02:00:12 +00:00
<Parameters />
<Docs >
2003-03-09 13:50:54 +00:00
<summary > Allows the format of the displayed value to be altered.</summary>
2003-03-15 22:50:24 +00:00
<remarks >
<para > Note: The signature of this event handler is currently incorrect.</para>
</remarks>
2003-02-12 02:00:12 +00:00
</Docs>
</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>
2003-12-24 01:35:30 +00:00
<returns > a <see cref= "T:GLib.GType" /> </returns>
2004-06-21 20:14:42 +00:00
<remarks > Returns the native <see cref= "T:GLib.GType" /> value for <see cref= "T:Gtk.Scale" /> .</remarks>
2003-12-24 01:35:30 +00:00
</Docs>
</Member>
<Member MemberName= "OnFormatValue" >
<MemberSignature Language= "C#" Value= "protected virtual string OnFormatValue (double value);" />
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.String</ReturnType>
</ReturnValue>
<Parameters >
<Parameter Name= "value" Type= "System.Double" />
</Parameters>
<Docs >
2004-06-15 15:41:25 +00:00
<summary > Default handler for the <see cref= "M:Gtk.Scale.FormatValue" /> event.</summary>
2003-12-24 01:35:30 +00:00
<param name= "value" > a <see cref= "T:System.Double" /> </param>
<returns > a <see cref= "T:System.String" /> </returns>
2004-06-15 15:41:25 +00:00
<remarks > Override this method in a subclass to provide a default handler for the <see cref= "M:Gtk.Scale.FormatValue" /> event.</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 Scale (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>
<returns > a <see cref= "T:Gtk.Scale" /> </returns>
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>
</Member>
2004-06-01 18:05:26 +00:00
<Member MemberName= ".ctor" >
<MemberSignature Language= "C#" Value= "protected Scale ();" />
<MemberType > Constructor</MemberType>
<ReturnValue />
<Parameters />
<Docs >
2004-08-29 08:58:39 +00:00
<summary > Protected constructor.</summary>
2004-06-01 18:05:26 +00:00
<returns > a <see cref= "T:Gtk.Scale" /> </returns>
2004-08-29 08:58:39 +00:00
<remarks />
2004-06-01 18:05:26 +00:00
</Docs>
</Member>
2003-02-12 02:00:12 +00:00
</Members>
2004-08-29 08:58:39 +00:00
</Type>