2003-02-12 02:00:12 +00:00
<Type Name= "SpinButton" FullName= "Gtk.SpinButton" >
2005-05-23 20:41:51 +00:00
<TypeSignature Language= "C#" Maintainer= "Lee Mallabone" Value= "public class SpinButton : Gtk.Entry" />
2003-02-12 02:00:12 +00:00
<AssemblyInfo >
<AssemblyName > gtk-sharp</AssemblyName>
2003-12-24 01:35:30 +00:00
<AssemblyPublicKey >
</AssemblyPublicKey>
2005-09-03 04:11:38 +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-02 21:16:32 +00:00
<summary > Retrieve an integer or floating-point number from the user.</summary>
2003-03-07 01:30:00 +00:00
<remarks >
<para > A SpinButton is an ideal way to allow the user to enter a numeric value. Rather than having to directly type a number into an <see cref= "T:Gtk.Entry" /> , a SpinButton allows the user to click on one of two arrows to increment or decrement the displayed value. A value can still be typed in, with the added benefit that it can be checked to ensure it is within a given range.</para>
<para > To precisely configure a SpinButton, an <see cref= "T:Gtk.Adjustment" /> is used. Though it is not mandatory, its use allows fine control over the 'spinning' properties of the SpinButton.</para>
<para > A SpinButton is typically created by setting up an <see cref= "T:Gtk.Adjustment" /> and passing that to the SpinButton's constructor. The value entered by a user can then be retrieved using either the <see cref= "P:Gtk.SpinButton.Value" /> property or the <see cref= "P:Gtk.SpinButton.ValueAsInt" /> property.</para>
<para > The following demonstrates how to get an integer from a SpinButton:
<example >
<code lang= "C#" >
2003-03-02 21:16:32 +00:00
// Creates a window with a spin button
public void CreateSpinButton()
{
Window window = new Window();
window.BorderWidth = 5;
// Create a spin button for percentage values.
SpinButton spinner = new SpinButton(0f, 100f, 1f);
spinner.ValueChanged += new EventHandler(OutputValue);
window.Add(spinner);
window.ShowAll();
}
// Handles ValueChanged events and writes to the console
private void OutputValue(object source, System.EventArgs args)
{
SpinButton spinner = source as SpinButton;
System.Console.WriteLine("Current value is: " + spinner.ValueAsInt);
}
2003-03-07 01:30:00 +00:00
</code>
</example> </para>
2003-03-02 21:16:32 +00:00
</remarks>
2003-02-12 02:00:12 +00:00
</Docs>
<Base >
<BaseTypeName > Gtk.Entry</BaseTypeName>
</Base>
<Interfaces >
</Interfaces>
<Members >
<Member MemberName= "Spin" >
<MemberSignature Language= "C#" Value= "public void Spin (Gtk.SpinType direction, double increment);" />
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.Void</ReturnType>
</ReturnValue>
<Parameters >
2003-09-17 21:56:59 +00:00
<Parameter Name= "direction" Type= "Gtk.SpinType" />
<Parameter Name= "increment" Type= "System.Double" />
</Parameters>
2003-02-12 02:00:12 +00:00
<Docs >
2003-03-07 01:30:00 +00:00
<summary > Changes the value of the SpinButton by <paramref name= "increment" /> .</summary>
2003-03-02 21:16:32 +00:00
<param name= "direction" > A direction that indicates if the SpinButton should be incremented or decremented.</param>
<param name= "increment" > The amount to adjust the SpinButton by.</param>
2003-03-07 01:30:00 +00:00
<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 min, out double max);" />
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= "min" Type= "System.Double&" RefType= "out" />
<Parameter Name= "max" Type= "System.Double&" RefType= "out" />
</Parameters>
2003-02-12 02:00:12 +00:00
<Docs >
2003-03-02 21:16:32 +00:00
<summary > Find out the minimum and maximum allowed input values.</summary>
<param name= "min" > The minimum value that can be accepted.</param>
<param name= "max" > The maximum value that can be accepted.</param>
2003-03-07 01:30:00 +00:00
<remarks />
2003-02-12 02:00:12 +00:00
</Docs>
</Member>
<Member MemberName= "Configure" >
<MemberSignature Language= "C#" Value= "public void Configure (Gtk.Adjustment adjustment, double climb_rate, uint digits);" />
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.Void</ReturnType>
</ReturnValue>
<Parameters >
2003-09-17 21:56:59 +00:00
<Parameter Name= "adjustment" Type= "Gtk.Adjustment" />
<Parameter Name= "climb_rate" Type= "System.Double" />
<Parameter Name= "digits" Type= "System.UInt32" />
</Parameters>
2003-02-12 02:00:12 +00:00
<Docs >
2003-03-02 21:16:32 +00:00
<summary > Configures various properties of the SpinButton.</summary>
2003-03-07 01:30:00 +00:00
<param name= "adjustment" > An optional <see cref= "T:Gtk.Adjustment" /> to configure certain properties, null otherwise.</param>
2003-03-02 21:16:32 +00:00
<param name= "climb_rate" > The value to adjust the SpinButton by when one of its arrows are clicked.</param>
<param name= "digits" > The number of decimal places to display.</param>
2003-03-07 01:30:00 +00:00
<remarks >
<para > An <see cref= "T:Gtk.Adjustment" /> is used to configure a variety of the properties for a SpinButton. See the documentation for the <see cref= "T:Gtk.Adjustment" /> members for more information.</para>
</remarks>
2003-02-12 02:00:12 +00:00
</Docs>
</Member>
<Member MemberName= "Update" >
<MemberSignature Language= "C#" Value= "public void Update ();" />
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.Void</ReturnType>
</ReturnValue>
<Parameters />
<Docs >
2003-03-02 21:16:32 +00:00
<summary > Forces the SpinButton to update its value</summary>
2003-03-07 01:30:00 +00:00
<remarks />
2003-02-12 02:00:12 +00:00
</Docs>
</Member>
<Member MemberName= "SetIncrements" >
<MemberSignature Language= "C#" Value= "public void SetIncrements (double step, double page);" />
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.Void</ReturnType>
</ReturnValue>
<Parameters >
2003-09-17 21:56:59 +00:00
<Parameter Name= "step" Type= "System.Double" />
<Parameter Name= "page" Type= "System.Double" />
</Parameters>
2003-02-12 02:00:12 +00:00
<Docs >
2003-03-02 21:16:32 +00:00
<summary > Sets the step and page increments.</summary>
<param name= "step" > The amount to change the spin button by when the user clicks with button 1, (usually the left mouse button).</param>
<param name= "page" > The amount to change the spin button by when the user clicks with button 2, (usually the middle mouse button).</param>
2003-03-07 01:30:00 +00:00
<remarks >
<para > Changing the values with this method alters how quickly the SpinButton's value changes when its arrows are activated.</para>
</remarks>
2003-02-12 02:00:12 +00:00
</Docs>
</Member>
<Member MemberName= "SetRange" >
<MemberSignature Language= "C#" Value= "public void SetRange (double min, double max);" />
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.Void</ReturnType>
</ReturnValue>
<Parameters >
2003-09-17 21:56:59 +00:00
<Parameter Name= "min" Type= "System.Double" />
<Parameter Name= "max" Type= "System.Double" />
</Parameters>
2003-02-12 02:00:12 +00:00
<Docs >
2003-03-02 21:16:32 +00:00
<summary > Alters the minimum and maximum allowable values.</summary>
<param name= "min" > The minimum value that can be entered.</param>
<param name= "max" > The maximum value that can be entered.</param>
2003-03-07 01:30:00 +00:00
<remarks />
2003-02-12 02:00:12 +00:00
</Docs>
</Member>
<Member MemberName= "GetIncrements" >
2003-02-15 03:08:25 +00:00
<MemberSignature Language= "C#" Value= "public void GetIncrements (out double step, out double page);" />
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= "step" Type= "System.Double&" RefType= "out" />
<Parameter Name= "page" Type= "System.Double&" RefType= "out" />
</Parameters>
2003-02-12 02:00:12 +00:00
<Docs >
2003-03-02 21:16:32 +00:00
<summary > Retrieve the current step and page increments.</summary>
<param name= "step" > Outputs the value that a spin button is changed by when the user clicks with button 1, (usually the left mouse button).</param>
<param name= "page" > Outputs the value that a spin button is changed by when the user clicks with button 2, (usually the middle mouse button).</param>
2003-03-07 01:30:00 +00:00
<remarks />
2003-02-12 02:00:12 +00:00
</Docs>
</Member>
<Member MemberName= ".ctor" >
<MemberSignature Language= "C#" Value= "public SpinButton (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= ".ctor" >
<MemberSignature Language= "C#" Value= "public SpinButton (Gtk.Adjustment adjustment, double climb_rate, uint digits);" />
<MemberType > Constructor</MemberType>
<ReturnValue />
<Parameters >
2003-09-17 21:56:59 +00:00
<Parameter Name= "adjustment" Type= "Gtk.Adjustment" />
<Parameter Name= "climb_rate" Type= "System.Double" />
<Parameter Name= "digits" Type= "System.UInt32" />
</Parameters>
2003-02-12 02:00:12 +00:00
<Docs >
2003-03-07 01:30:00 +00:00
<summary > Creates a new SpinButton based on the specified <see cref= "T:Gtk.Adjustment" /> .</summary>
2004-11-05 21:25:40 +00:00
<param name= "adjustment" > A <see cref= "T:Gtk.Adjustment" /> </param>
<param name= "climb_rate" > A <see cref= "T:System.Double" /> </param>
<param name= "digits" > A <see cref= "T:uint" /> </param>
<remarks />
2003-02-12 02:00:12 +00:00
</Docs>
</Member>
<Member MemberName= ".ctor" >
<MemberSignature Language= "C#" Value= "public SpinButton (double min, double max, double step);" />
<MemberType > Constructor</MemberType>
<ReturnValue />
<Parameters >
2003-09-17 21:56:59 +00:00
<Parameter Name= "min" Type= "System.Double" />
<Parameter Name= "max" Type= "System.Double" />
<Parameter Name= "step" Type= "System.Double" />
</Parameters>
2003-02-12 02:00:12 +00:00
<Docs >
2003-03-07 01:30:00 +00:00
<summary > Creates a SpinButton without the need for a manually created <see cref= "T:Gtk.Adjustment" /> .</summary>
2003-03-02 21:16:32 +00:00
<param name= "min" > Minimum allowable value.</param>
<param name= "max" > Maximum allowable value.</param>
2003-03-07 01:30:00 +00:00
<param name= "step" > The value to alter the SpinButton by when a <see cref= "Gtk.SpinButton.Spin" /> is carried out on it.</param>
<remarks >
<para > The default value of the new SpinButton is initially set to <paramref name= "min" /> .</para>
<para > The default page increment is set to 10 * <paramref name= "step" /> .</para>
<para > The visible precision of the spin button is equivalent to the precision of <paramref name= "step" /> .</para>
</remarks>
2003-02-12 02:00:12 +00:00
</Docs>
</Member>
<Member MemberName= "ValueAsInt" >
<MemberSignature Language= "C#" Value= "public int ValueAsInt { get; };" />
<MemberType > Property</MemberType>
<ReturnValue >
<ReturnType > System.Int32</ReturnType>
</ReturnValue>
<Docs >
2003-03-02 21:16:32 +00:00
<summary > Retrieve the current value as an integer.</summary>
2005-05-23 20:41:51 +00:00
<value > The value of the SpinButton with integer precision.</value>
2003-03-07 01:30:00 +00:00
<remarks />
2003-02-12 02:00:12 +00:00
</Docs>
</Member>
<Member MemberName= "Numeric" >
<MemberSignature Language= "C#" Value= "public bool Numeric { 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-02 21:16:32 +00:00
<summary > Manage whether or not the SpinButton accepts non-numeric input.</summary>
2005-05-23 20:41:51 +00:00
<value > Whether the SpinButton currently accepts only numeric input.</value>
2003-03-07 01:30:00 +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="numeric")</AttributeName>
</Attribute>
2005-08-23 17:02:47 +00:00
</Attributes>
</Member>
2003-02-12 02:00:12 +00:00
<Member MemberName= "ClimbRate" >
<MemberSignature Language= "C#" Value= "public double ClimbRate { 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 acceleration rate when user holds down a button.</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="climb_rate")</AttributeName>
</Attribute>
2005-08-23 17:02:47 +00:00
</Attributes>
</Member>
2003-02-12 02:00:12 +00:00
<Member MemberName= "Wrap" >
<MemberSignature Language= "C#" Value= "public bool Wrap { 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-02 21:16:32 +00:00
<summary > Manage whether a SpinButton's value wraps around to the opposite limit when the upper or lower limit of the range is exceeded.</summary>
2005-05-23 20:41:51 +00:00
<value > Whether this SpinButton wraps its maximum/minimum values when spinning.</value>
2003-03-07 01:30:00 +00:00
<remarks >
<para > If this property is set to <see langword= "true" /> , then when the user tries to change the value in a SpinButton, (usually by clicking one of the arrows), the next value after the maximum will wrap to the minimum.</para>
<para > Alternatively, if this property is set to <see langword= "false" /> , then trying to increase the value of the SpinButton when it is at the maximum value, will have no effect. Likewise when trying to decrement the value at its minimum.</para>
</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="wrap")</AttributeName>
</Attribute>
2005-08-23 17:02:47 +00:00
</Attributes>
</Member>
2003-02-12 02:00:12 +00:00
<Member MemberName= "Value" >
<MemberSignature Language= "C#" Value= "public double Value { 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 >
2003-03-02 21:16:32 +00:00
<summary > The current value of the SpinButton.</summary>
2005-05-23 20:41:51 +00:00
<value > The current value of the SpinButton.</value>
2003-03-07 01:30:00 +00:00
<remarks >
<para > The value of the SpinButton is limited by the precision set with the <see cref= "P:Gtk.SpinButton.Digits" /> property.</para>
</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="value")</AttributeName>
</Attribute>
2005-08-23 17:02:47 +00:00
</Attributes>
</Member>
2003-02-12 02:00:12 +00:00
<Member MemberName= "Digits" >
<MemberSignature Language= "C#" Value= "public uint Digits { set; get; };" />
<MemberType > Property</MemberType>
<ReturnValue >
<ReturnType > System.UInt32</ReturnType>
</ReturnValue>
2003-12-24 01:35:30 +00:00
<Parameters >
</Parameters>
2003-02-12 02:00:12 +00:00
<Docs >
2003-03-02 21:16:32 +00:00
<summary > Manage the precision that this SpinButton's value is displayed with.</summary>
2005-05-23 20:41:51 +00:00
<value > The maximum number of digits that the SpinButton will currently display.</value>
2003-03-07 01:30:00 +00:00
<remarks >
<para > Up to 20 digit precision is allowed.</para>
</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="digits")</AttributeName>
</Attribute>
2005-08-23 17:02:47 +00:00
</Attributes>
</Member>
2003-02-12 02:00:12 +00:00
<Member MemberName= "SnapToTicks" >
<MemberSignature Language= "C#" Value= "public bool SnapToTicks { 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-02 21:16:32 +00:00
<summary > Manage whether values are corrected to the nearest step increment when a SpinButton is activated with an invalid value.</summary>
2005-05-23 20:41:51 +00:00
<value >
<see langword= "true" /> if values are snapped to the nearest step, <see langword= "false" /> otherwise.</value>
2003-03-07 01:30:00 +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="snap_to_ticks")</AttributeName>
</Attribute>
2005-08-23 17:02:47 +00:00
</Attributes>
</Member>
2003-02-12 02:00:12 +00:00
<Member MemberName= "UpdatePolicy" >
<MemberSignature Language= "C#" Value= "public Gtk.SpinButtonUpdatePolicy UpdatePolicy { set; get; };" />
<MemberType > Property</MemberType>
<ReturnValue >
<ReturnType > Gtk.SpinButtonUpdatePolicy</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 policy for how to update this SpinButton when its value changes.</summary>
2005-05-23 20:41:51 +00:00
<value > A <see cref= "T:Gtk.SpinButtonUpdatePolicy" /> </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="update_policy")</AttributeName>
</Attribute>
2005-08-23 17:02:47 +00:00
</Attributes>
</Member>
2003-02-12 02:00:12 +00:00
<Member MemberName= "Adjustment" >
<MemberSignature Language= "C#" Value= "public Gtk.Adjustment Adjustment { set; get; };" />
<MemberType > Property</MemberType>
<ReturnValue >
<ReturnType > Gtk.Adjustment</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/upper/step range of this widget's values.</summary>
2005-05-23 20:41:51 +00:00
<value > A <see cref= "T:Gtk.Adjustment" /> </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="adjustment")</AttributeName>
</Attribute>
2005-08-23 17:02:47 +00:00
</Attributes>
</Member>
2003-02-12 02:00:12 +00:00
<Member MemberName= "Output" >
2004-02-25 23:39:06 +00:00
<MemberSignature Language= "C#" Value= "public event Gtk.OutputHandler Output;" />
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.OutputHandler</ReturnType>
2003-09-17 21:56:59 +00:00
</ReturnValue>
2003-02-12 02:00:12 +00:00
<Parameters />
<Docs >
2004-08-28 03:46:45 +00:00
<summary > Fired when this widget outputs its value.</summary>
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.Signal(CName="output")</AttributeName>
</Attribute>
2005-08-23 17:02:47 +00:00
</Attributes>
</Member>
2003-02-12 02:00:12 +00:00
<Member MemberName= "ValueChanged" >
<MemberSignature Language= "C#" Value= "public event EventHandler ValueChanged;" />
<MemberType > Event</MemberType>
2003-09-17 21:56:59 +00:00
<ReturnValue >
<ReturnType > System.EventHandler</ReturnType>
</ReturnValue>
2003-02-12 02:00:12 +00:00
<Parameters />
<Docs >
2004-08-28 03:46:45 +00:00
<summary > This event is fired after the SpinButton's value changes.</summary>
2003-03-07 01:30:00 +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.Signal(CName="value_changed")</AttributeName>
</Attribute>
2005-08-23 17:02:47 +00:00
</Attributes>
</Member>
2003-02-12 02:00:12 +00:00
<Member MemberName= "Input" >
2004-02-25 23:39:06 +00:00
<MemberSignature Language= "C#" Value= "public event Gtk.InputHandler Input;" />
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.InputHandler</ReturnType>
2003-09-17 21:56:59 +00:00
</ReturnValue>
2003-02-12 02:00:12 +00:00
<Parameters />
<Docs >
2004-08-28 03:46:45 +00:00
<summary > Fired when the user inputs a new value.</summary>
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.Signal(CName="input")</AttributeName>
</Attribute>
2005-08-23 17:02:47 +00:00
</Attributes>
</Member>
2003-02-12 02:00:12 +00:00
<Member MemberName= "ChangeValue" >
2004-02-25 23:39:06 +00:00
<MemberSignature Language= "C#" Value= "public event Gtk.ChangeValueHandler ChangeValue;" />
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.ChangeValueHandler</ReturnType>
2003-09-17 21:56:59 +00:00
</ReturnValue>
2003-02-12 02:00:12 +00:00
<Parameters />
<Docs >
2004-08-28 03:46:45 +00:00
<summary > Fired in order to change the button's value.</summary>
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.Signal(CName="change_value")</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.SpinButton" /> .</remarks>
2003-12-24 01:35:30 +00:00
</Docs>
</Member>
<Member MemberName= "OnChangeValue" >
<MemberSignature Language= "C#" Value= "protected virtual void OnChangeValue (Gtk.ScrollType scroll);" />
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.Void</ReturnType>
</ReturnValue>
<Parameters >
<Parameter Name= "scroll" Type= "Gtk.ScrollType" />
</Parameters>
<Docs >
2004-06-15 15:41:25 +00:00
<summary > Default handler for the <see cref= "M:Gtk.SpinButton.ChangeValue" /> event.</summary>
2003-12-24 01:35:30 +00:00
<param name= "scroll" > a <see cref= "T:Gtk.ScrollType" /> </param>
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.SpinButton.ChangeValue" /> event.</remarks>
2003-12-24 01:35:30 +00:00
</Docs>
</Member>
<Member MemberName= "OnInput" >
<MemberSignature Language= "C#" Value= "protected virtual int OnInput (out double new_value);" />
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.Int32</ReturnType>
</ReturnValue>
<Parameters >
<Parameter Name= "new_value" Type= "System.Double&" RefType= "out" />
</Parameters>
<Docs >
2004-06-15 15:41:25 +00:00
<summary > Default handler for the <see cref= "M:Gtk.SpinButton.Input" /> event.</summary>
2003-12-24 01:35:30 +00:00
<param name= "new_value" > a <see cref= "T:System.Double&" /> </param>
<returns > a <see cref= "T:System.Int32" /> </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.SpinButton.Input" /> event.</remarks>
2003-12-24 01:35:30 +00:00
</Docs>
</Member>
<Member MemberName= "OnValueChanged" >
<MemberSignature Language= "C#" Value= "protected virtual void OnValueChanged ();" />
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.Void</ReturnType>
</ReturnValue>
<Parameters />
<Docs >
2004-06-15 15:41:25 +00:00
<summary > Default handler for the <see cref= "M:Gtk.SpinButton.ValueChanged" /> event.</summary>
<remarks > Override this method in a subclass to provide a default handler for the <see cref= "M:Gtk.SpinButton.ValueChanged" /> event.</remarks>
2003-12-24 01:35:30 +00:00
</Docs>
</Member>
<Member MemberName= "OnOutput" >
<MemberSignature Language= "C#" Value= "protected virtual int OnOutput ();" />
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.Int32</ReturnType>
</ReturnValue>
<Parameters />
<Docs >
2004-06-15 15:41:25 +00:00
<summary > Default handler for the <see cref= "M:Gtk.SpinButton.Output" /> event.</summary>
2003-12-24 01:35:30 +00:00
<returns > a <see cref= "T:System.Int32" /> </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.SpinButton.Output" /> 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 SpinButton (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>
2003-02-12 02:00:12 +00:00
</Members>
2005-05-23 20:41:51 +00:00
</Type>