2003-02-12 02:00:12 +00:00
<Type Name= "HSV" FullName= "Gtk.HSV" >
2003-02-15 03:08:25 +00:00
<TypeSignature Language= "C#" Value= "public class HSV : Gtk.Widget, 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 >
2004-08-29 04:47:18 +00:00
<summary > A color selector based on hue, saturation, and value.</summary>
<remarks > TODO: add an example.</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= "SetMetrics" >
<MemberSignature Language= "C#" Value= "public void SetMetrics (int size, int ring_width);" />
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.Void</ReturnType>
</ReturnValue>
<Parameters >
2003-09-17 21:56:59 +00:00
<Parameter Name= "size" Type= "System.Int32" />
<Parameter Name= "ring_width" Type= "System.Int32" />
</Parameters>
2003-02-12 02:00:12 +00:00
<Docs >
2004-08-29 04:47:18 +00:00
<summary > Set the basic size of the hue ring.</summary>
2004-11-05 21:25:40 +00:00
<param name= "size" > A <see cref= "T:System.Int32" /> </param>
<param name= "ring_width" > A <see cref= "T:System.Int32" /> </param>
<remarks />
2003-02-12 02:00:12 +00:00
</Docs>
</Member>
<Member MemberName= "SetColor" >
<MemberSignature Language= "C#" Value= "public void SetColor (double h, double s, double v);" />
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.Void</ReturnType>
</ReturnValue>
<Parameters >
2003-09-17 21:56:59 +00:00
<Parameter Name= "h" Type= "System.Double" />
<Parameter Name= "s" Type= "System.Double" />
<Parameter Name= "v" Type= "System.Double" />
</Parameters>
2003-02-12 02:00:12 +00:00
<Docs >
2004-08-29 04:47:18 +00:00
<summary > Sets the color displayed in the widget.</summary>
2004-11-05 21:25:40 +00:00
<param name= "h" > A <see cref= "T:System.Double" /> , the hue</param>
<param name= "s" > A <see cref= "T:System.Double" /> , the saturation</param>
<param name= "v" > A <see cref= "T:System.Double" /> , the value</param>
<remarks />
2003-02-12 02:00:12 +00:00
</Docs>
</Member>
<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 HSV (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 HSV, 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= "public HSV ();" />
<MemberType > Constructor</MemberType>
<ReturnValue />
<Parameters />
<Docs >
2004-08-29 04:47:18 +00:00
<summary > Default constructor.</summary>
2004-11-05 21:25:40 +00:00
<returns > A <see cref= "T:Gtk.HSV" /> </returns>
<remarks />
2003-02-12 02:00:12 +00:00
</Docs>
</Member>
<Member MemberName= "Changed" >
<MemberSignature Language= "C#" Value= "public event EventHandler Changed;" />
<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-29 04:47:18 +00:00
<summary > Fired when the color of this widget changes.</summary>
2004-11-05 21:25:40 +00:00
<remarks />
2003-02-12 02:00:12 +00:00
</Docs>
</Member>
<Member MemberName= "Move" >
2004-02-25 23:39:06 +00:00
<MemberSignature Language= "C#" Value= "public event Gtk.MoveHandler Move;" />
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.MoveHandler</ReturnType>
2003-09-17 21:56:59 +00:00
</ReturnValue>
2003-02-12 02:00:12 +00:00
<Parameters />
<Docs >
2004-08-29 04:47:18 +00:00
<summary > Fired when this widget is moved.</summary>
2004-11-05 21:25:40 +00:00
<remarks />
2003-02-12 02:00:12 +00:00
</Docs>
</Member>
2003-10-28 00:48:23 +00:00
<Member MemberName= "ToRgb" >
<MemberSignature Language= "C#" Value= "public static void ToRgb (double h, double s, double v, out double r, out double g, out double b);" />
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.Void</ReturnType>
</ReturnValue>
<Parameters >
<Parameter Name= "h" Type= "System.Double" />
<Parameter Name= "s" Type= "System.Double" />
<Parameter Name= "v" Type= "System.Double" />
<Parameter Name= "r" Type= "System.Double&" RefType= "out" />
<Parameter Name= "g" Type= "System.Double&" RefType= "out" />
<Parameter Name= "b" Type= "System.Double&" RefType= "out" />
</Parameters>
<Docs >
2004-08-29 04:47:18 +00:00
<summary > Converts a HSV value to a RGB (red-green-blue) triplet.</summary>
<param name= "h" > a <see cref= "T:System.Double" /> , the hue</param>
<param name= "s" > a <see cref= "T:System.Double" /> , the saturation</param>
<param name= "v" > a <see cref= "T:System.Double" /> , the value</param>
<param name= "r" > a <see cref= "T:System.Double&" /> , red component</param>
<param name= "g" > a <see cref= "T:System.Double&" /> , blue component</param>
<param name= "b" > a <see cref= "T:System.Double&" /> , green component</param>
2004-11-05 21:25:40 +00:00
<remarks />
2003-10-28 00:48:23 +00:00
</Docs>
</Member>
<Member MemberName= "GetColor" >
<MemberSignature Language= "C#" Value= "public void GetColor (out double h, out double s, out double v);" />
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.Void</ReturnType>
</ReturnValue>
<Parameters >
<Parameter Name= "h" Type= "System.Double&" RefType= "out" />
<Parameter Name= "s" Type= "System.Double&" RefType= "out" />
<Parameter Name= "v" Type= "System.Double&" RefType= "out" />
</Parameters>
<Docs >
2004-08-29 04:47:18 +00:00
<summary > Gets the current color indicated by this widget.</summary>
2003-10-28 00:48:23 +00:00
<param name= "h" > a <see cref= "T:System.Double&" /> </param>
<param name= "s" > a <see cref= "T:System.Double&" /> </param>
<param name= "v" > a <see cref= "T:System.Double&" /> </param>
2004-11-05 21:25:40 +00:00
<remarks />
2003-10-28 00:48:23 +00:00
</Docs>
</Member>
<Member MemberName= "GetMetrics" >
<MemberSignature Language= "C#" Value= "public void GetMetrics (out int size, out int ring_width);" />
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.Void</ReturnType>
</ReturnValue>
<Parameters >
<Parameter Name= "size" Type= "System.Int32&" RefType= "out" />
<Parameter Name= "ring_width" Type= "System.Int32&" RefType= "out" />
</Parameters>
<Docs >
2004-08-29 04:47:18 +00:00
<summary > Gets the current size of this widget.</summary>
<param name= "size" > a <see cref= "T:System.Int32&" /> to fill with the hue ring size.</param>
<param name= "ring_width" > a <see cref= "T:System.Int32&" /> to fill with the width of the hue ring.</param>
2004-11-05 21:25:40 +00:00
<remarks />
2003-10-28 00:48:23 +00:00
</Docs>
</Member>
2003-11-05 04:30:47 +00:00
<Member MemberName= "IsAdjusting" >
<MemberSignature Language= "C#" Value= "public bool IsAdjusting { get; };" />
<MemberType > Property</MemberType>
<ReturnValue >
<ReturnType > System.Boolean</ReturnType>
</ReturnValue>
<Parameters />
<Docs >
2004-08-29 04:47:18 +00:00
<summary >
An HSV color selector is "adjusting" if multiple rapid
changes are being made to its value, for example, when the user
is adjusting the value with the mouse. This property tells
whether the HSV color selector is being adjusted or not.
</summary>
2003-11-05 04:30:47 +00:00
<returns > a <see cref= "T:System.Boolean" /> </returns>
2004-08-29 04:47:18 +00:00
<remarks >
Returns true if clients can ignore changes to the color value, since
they may be transitory, or false if they should consider the color
value status to be final.
</remarks>
2003-11-05 04:30:47 +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.HSV" /> .</remarks>
2003-12-24 01:35:30 +00:00
</Docs>
</Member>
<Member MemberName= "OnMove" >
<MemberSignature Language= "C#" Value= "protected virtual void OnMove (Gtk.DirectionType type);" />
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.Void</ReturnType>
</ReturnValue>
<Parameters >
<Parameter Name= "type" Type= "Gtk.DirectionType" />
</Parameters>
<Docs >
2004-06-15 15:41:25 +00:00
<summary > Default handler for the <see cref= "M:Gtk.HSV.Move" /> event.</summary>
2003-12-24 01:35:30 +00:00
<param name= "type" > a <see cref= "T:Gtk.DirectionType" /> </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.HSV.Move" /> event.</remarks>
2003-12-24 01:35:30 +00:00
</Docs>
</Member>
<Member MemberName= "OnChanged" >
<MemberSignature Language= "C#" Value= "protected virtual void OnChanged ();" />
<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.HSV.Changed" /> event.</summary>
<remarks > Override this method in a subclass to provide a default handler for the <see cref= "M:Gtk.HSV.Changed" /> event.</remarks>
2003-12-24 01:35:30 +00:00
</Docs>
</Member>
<Member MemberName= ".ctor" >
<MemberSignature Language= "C#" Value= "protected HSV (GLib.GType gtype);" />
<MemberType > Constructor</MemberType>
<ReturnValue />
<Parameters >
<Parameter Name= "gtype" Type= "GLib.GType" />
</Parameters>
<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.HSV" /> </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-12-24 01:35:30 +00:00
</Docs>
</Member>
2003-02-12 02:00:12 +00:00
</Members>
2004-11-05 21:25:40 +00:00
</Type>