2003-02-12 02:00:12 +00:00
<Type Name= "Scale" FullName= "Gtk.Scale" >
2005-05-23 20:41:51 +00:00
<TypeSignature Language= "C#" Maintainer= "auto" Value= "public class Scale : Gtk.Range" />
2011-11-09 16:01:51 +00:00
<TypeSignature Language= "ILAsm" Value= ".class public auto ansi beforefieldinit Scale extends Gtk.Range" />
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.Range</BaseTypeName>
</Base>
<Interfaces >
</Interfaces>
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>
<Members >
<Member MemberName= ".ctor" >
<MemberSignature Language= "C#" Value= "public Scale (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= ".ctor" >
<MemberSignature Language= "C#" Value= "public Scale (Gtk.Orientation orientation, Gtk.Adjustment adjustment);" />
<MemberSignature Language= "ILAsm" Value= ".method public hidebysig specialname rtspecialname instance void .ctor(valuetype Gtk.Orientation orientation, class Gtk.Adjustment adjustment) cil managed" />
<MemberType > Constructor</MemberType>
2003-12-24 01:35:30 +00:00
<Parameters >
2011-11-09 16:01:51 +00:00
<Parameter Name= "orientation" Type= "Gtk.Orientation" />
<Parameter Name= "adjustment" Type= "Gtk.Adjustment" />
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= "orientation" > To be added.</param>
<param name= "adjustment" > To be added.</param>
<summary > To be added.</summary>
<remarks > To be added.</remarks>
<since version= "Gtk# 3.0" />
2003-02-12 02:00:12 +00:00
</Docs>
2005-06-16 18:56:42 +00:00
</Member>
2011-11-09 16:01:51 +00:00
<Member MemberName= ".ctor" >
<MemberSignature Language= "C#" Value= "public Scale (Gtk.Orientation orientation, double min, double max, double step);" />
<MemberSignature Language= "ILAsm" Value= ".method public hidebysig specialname rtspecialname instance void .ctor(valuetype Gtk.Orientation orientation, float64 min, float64 max, float64 step) cil managed" />
<MemberType > Constructor</MemberType>
<Parameters >
<Parameter Name= "orientation" Type= "Gtk.Orientation" />
<Parameter Name= "min" Type= "System.Double" />
<Parameter Name= "max" Type= "System.Double" />
<Parameter Name= "step" Type= "System.Double" />
</Parameters>
<Docs >
<param name= "orientation" > To be added.</param>
<param name= "min" > To be added.</param>
<param name= "max" > To be added.</param>
<param name= "step" > To be added.</param>
<summary > To be added.</summary>
<remarks > To be added.</remarks>
<since version= "Gtk# 3.0" />
</Docs>
</Member>
<Member MemberName= "AddMark" >
<MemberSignature Language= "C#" Value= "public void AddMark (double value, Gtk.PositionType position, string markup);" />
<MemberSignature Language= "ILAsm" Value= ".method public hidebysig instance void AddMark(float64 value, valuetype Gtk.PositionType position, string markup) cil managed" />
<MemberType > Method</MemberType>
2003-02-12 02:00:12 +00:00
<ReturnValue >
2011-11-09 16:01:51 +00:00
<ReturnType > System.Void</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= "value" Type= "System.Double" />
<Parameter Name= "position" Type= "Gtk.PositionType" />
<Parameter Name= "markup" Type= "System.String" />
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= "value" > To be added.</param>
<param name= "position" > To be added.</param>
<param name= "markup" > To be added.</param>
<summary > To be added.</summary>
<remarks > To be added.</remarks>
<since version= "Gtk# 3.0" />
</Docs>
</Member>
<Member MemberName= "ClearMarks" >
<MemberSignature Language= "C#" Value= "public void ClearMarks ();" />
<MemberSignature Language= "ILAsm" Value= ".method public hidebysig instance void ClearMarks() cil managed" />
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.Void</ReturnType>
</ReturnValue>
<Parameters />
<Docs >
<summary > To be added.</summary>
<remarks > To be added.</remarks>
<since version= "Gtk# 3.0" />
2003-02-12 02:00:12 +00:00
</Docs>
2011-11-09 16:01:51 +00:00
</Member>
<Member MemberName= "Digits" >
<MemberSignature Language= "C#" Value= "public int Digits { get; set; }" />
<MemberSignature Language= "ILAsm" Value= ".property instance int32 Digits" />
<MemberType > Property</MemberType>
2005-06-16 18:56:42 +00:00
<Attributes >
2005-05-23 20:41:51 +00:00
<Attribute >
2011-11-09 16:01:51 +00:00
<AttributeName > GLib.Property("digits")</AttributeName>
2005-05-23 20:41:51 +00:00
</Attribute>
2005-06-16 18:56:42 +00:00
</Attributes>
2003-02-12 02:00:12 +00:00
<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>
2005-05-23 20:41:51 +00:00
<value > The number of decimal places currently being displayed.</value>
2003-03-15 22:50:24 +00:00
<remarks />
2003-02-12 02:00:12 +00:00
</Docs>
2011-11-09 16:01:51 +00:00
</Member>
<Member MemberName= "DrawValue" >
<MemberSignature Language= "C#" Value= "public bool DrawValue { get; set; }" />
<MemberSignature Language= "ILAsm" Value= ".property instance bool DrawValue" />
<MemberType > Property</MemberType>
2005-06-16 18:56:42 +00:00
<Attributes >
2005-05-23 20:41:51 +00:00
<Attribute >
2011-11-09 16:01:51 +00:00
<AttributeName > GLib.Property("draw-value")</AttributeName>
2005-05-23 20:41:51 +00:00
</Attribute>
2005-06-16 18:56:42 +00:00
</Attributes>
2011-11-09 16:01:51 +00:00
<ReturnValue >
<ReturnType > System.Boolean</ReturnType>
</ReturnValue>
<Parameters >
</Parameters>
<Docs >
<summary > Manage whether a label is displayed to show the current value.</summary>
<value > Whether the value is currently being displayed.</value>
<remarks >
<para > Use the <see cref= "P:Gtk.Scale.ValuePos" /> property to alter the position of displayed value.</para>
</remarks>
</Docs>
2005-06-16 18:56:42 +00:00
</Member>
2003-02-12 02:00:12 +00:00
<Member MemberName= "FormatValue" >
2004-02-25 23:39:06 +00:00
<MemberSignature Language= "C#" Value= "public event Gtk.FormatValueHandler FormatValue;" />
2011-11-09 16:01:51 +00:00
<MemberSignature Language= "ILAsm" Value= ".event class Gtk.FormatValueHandler FormatValue" />
2003-02-12 02:00:12 +00:00
<MemberType > Event</MemberType>
2011-11-09 16:01:51 +00:00
<Attributes >
<Attribute >
<AttributeName > GLib.Signal("format-value")</AttributeName>
</Attribute>
</Attributes>
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>
2011-11-09 16:01:51 +00:00
</Member>
<Member MemberName= "GetLayoutOffsets" >
<MemberSignature Language= "C#" Value= "public void GetLayoutOffsets (out int x, out int y);" />
<MemberSignature Language= "ILAsm" Value= ".method public hidebysig instance void GetLayoutOffsets(int32 x, int32 y) cil managed" />
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.Void</ReturnType>
</ReturnValue>
<Parameters >
<Parameter Name= "x" Type= "System.Int32&" RefType= "out" />
<Parameter Name= "y" Type= "System.Int32&" RefType= "out" />
</Parameters>
<Docs >
<param name= "x" > a <see cref= "T:System.Int32" /> , location to store X offset of layout</param>
<param name= "y" > a <see cref= "T:System.Int32" /> , location to store Y offset of layout </param>
<summary >
Obtains the coordinates where the scale will draw the <see cref= "T:Pango.Layout" />
representing the text in the scale.
</summary>
<remarks >
Remember that when working with Pango you need to convert to
and from pixels using PANGO_PIXELS() or <see cref= "F:Pango.Scale.PangoScale" /> .
If <see cref= "P:Gtk.Scale.DrawValue" /> is <see langword= "false" /> , the return values are
undefined.
</remarks>
<since version= "Gtk# 2.4" />
</Docs>
2005-06-16 18:56:42 +00:00
</Member>
2003-12-24 01:35:30 +00:00
<Member MemberName= "GType" >
2011-11-09 16:01:51 +00:00
<MemberSignature Language= "C#" Value= "public static GLib.GType GType { get; }" />
<MemberSignature Language= "ILAsm" Value= ".property valuetype GLib.GType GType" />
2003-12-24 01:35:30 +00:00
<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.Scale" /> .</remarks>
2003-12-24 01:35:30 +00:00
</Docs>
</Member>
2011-11-09 16:01:51 +00:00
<Member MemberName= "Layout" >
<MemberSignature Language= "C#" Value= "public Pango.Layout Layout { get; }" />
<MemberSignature Language= "ILAsm" Value= ".property instance class Pango.Layout Layout" />
<MemberType > Property</MemberType>
<ReturnValue >
<ReturnType > Pango.Layout</ReturnType>
</ReturnValue>
<Parameters />
<Docs >
<summary > Gets the <see cref= "T:Pango.Layout" /> used to display the scale. </summary>
<value > a <see cref= "T:Pango.Layout" /> </value>
<remarks >
</remarks>
<since version= "Gtk# 2.4" />
</Docs>
</Member>
<Member MemberName= "OnDrawValue" >
<MemberSignature Language= "C#" Value= "protected virtual void OnDrawValue ();" />
<MemberSignature Language= "ILAsm" Value= ".method familyhidebysig newslot virtual instance void OnDrawValue() cil managed" />
<MemberType > Method</MemberType>
<Attributes >
<Attribute >
<AttributeName > GLib.DefaultSignalHandler(ConnectionMethod="OverrideDrawValue", Type=typeof(Gtk.Scale))</AttributeName>
</Attribute>
</Attributes>
<ReturnValue >
<ReturnType > System.Void</ReturnType>
</ReturnValue>
<Parameters />
<Docs >
<summary > To be added.</summary>
<remarks > To be added.</remarks>
<since version= "Gtk# 3.0" />
</Docs>
</Member>
2003-12-24 01:35:30 +00:00
<Member MemberName= "OnFormatValue" >
<MemberSignature Language= "C#" Value= "protected virtual string OnFormatValue (double value);" />
2011-11-09 16:01:51 +00:00
<MemberSignature Language= "ILAsm" Value= ".method familyhidebysig newslot virtual instance string OnFormatValue(float64 value) cil managed" />
2003-12-24 01:35:30 +00:00
<MemberType > Method</MemberType>
2011-11-09 16:01:51 +00:00
<Attributes >
<Attribute >
<AttributeName > GLib.DefaultSignalHandler(ConnectionMethod="OverrideFormatValue", Type=typeof(Gtk.Scale))</AttributeName>
</Attribute>
</Attributes>
2003-12-24 01:35:30 +00:00
<ReturnValue >
<ReturnType > System.String</ReturnType>
</ReturnValue>
<Parameters >
<Parameter Name= "value" Type= "System.Double" />
</Parameters>
<Docs >
<param name= "value" > a <see cref= "T:System.Double" /> </param>
2011-11-09 16:01:51 +00:00
<summary > Default handler for the <see cref= "M:Gtk.Scale.FormatValue" /> event.</summary>
2003-12-24 01:35:30 +00:00
<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>
2011-11-09 16:01:51 +00:00
<Member MemberName= "OnGetLayoutOffsets" >
<MemberSignature Language= "C#" Value= "protected virtual void OnGetLayoutOffsets (out int x, out int y);" />
<MemberSignature Language= "ILAsm" Value= ".method familyhidebysig newslot virtual instance void OnGetLayoutOffsets(int32 x, int32 y) cil managed" />
<MemberType > Method</MemberType>
2005-06-16 18:56:42 +00:00
<Attributes >
2005-05-23 20:41:51 +00:00
<Attribute >
2011-11-09 16:01:51 +00:00
<AttributeName > GLib.DefaultSignalHandler(ConnectionMethod="OverrideGetLayoutOffsets", Type=typeof(Gtk.Scale))</AttributeName>
2005-05-23 20:41:51 +00:00
</Attribute>
2005-06-16 18:56:42 +00:00
</Attributes>
2004-11-05 21:25:40 +00:00
<ReturnValue >
2011-11-09 16:01:51 +00:00
<ReturnType > System.Void</ReturnType>
2004-11-05 21:25:40 +00:00
</ReturnValue>
2011-11-09 16:01:51 +00:00
<Parameters >
<Parameter Name= "x" Type= "System.Int32&" RefType= "out" />
<Parameter Name= "y" Type= "System.Int32&" RefType= "out" />
</Parameters>
2004-11-05 21:25:40 +00:00
<Docs >
2011-11-09 16:01:51 +00:00
<param name= "x" > To be added.</param>
<param name= "y" > To be added.</param>
<summary > To be added.</summary>
<remarks > To be added.</remarks>
<since version= "Gtk# 3.0" />
2004-11-05 21:25:40 +00:00
</Docs>
</Member>
2011-11-09 16:01:51 +00:00
<Member MemberName= "ValuePos" >
<MemberSignature Language= "C#" Value= "public Gtk.PositionType ValuePos { get; set; }" />
<MemberSignature Language= "ILAsm" Value= ".property instance valuetype Gtk.PositionType ValuePos" />
<MemberType > Property</MemberType>
<Attributes >
<Attribute >
<AttributeName > GLib.Property("value-pos")</AttributeName>
</Attribute>
</Attributes>
2004-11-05 21:25:40 +00:00
<ReturnValue >
2011-11-09 16:01:51 +00:00
<ReturnType > Gtk.PositionType</ReturnType>
2004-11-05 21:25:40 +00:00
</ReturnValue>
<Parameters >
</Parameters>
<Docs >
2011-11-09 16:01:51 +00:00
<summary > Manage the position of the value, relative to the slider.</summary>
<value > Where the value is currently being drawn.</value>
2004-12-30 18:55:02 +00:00
<remarks >
2011-11-09 16:01:51 +00:00
<para > Note: This property is only meaningful if a value is being drawn. To ensure a value is drawn, use the <see cref= "P:Gtk.Scale.DrawValue" /> property.</para>
</remarks>
2004-06-01 18:05:26 +00:00
</Docs>
</Member>
2003-02-12 02:00:12 +00:00
</Members>
2005-08-23 17:02:47 +00:00
</Type>