2003-02-12 02:00:12 +00:00
<Type Name= "HSV" FullName= "Gtk.HSV" >
2005-05-23 20:41:51 +00:00
<TypeSignature Language= "C#" Maintainer= "auto" Value= "public class HSV : Gtk.Widget" />
2011-11-09 16:01:51 +00:00
<TypeSignature Language= "ILAsm" Value= ".class public auto ansi beforefieldinit HSV extends 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>
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
<Base >
<BaseTypeName > Gtk.Widget</BaseTypeName>
</Base>
2007-01-16 16:18:05 +00:00
<Interfaces >
</Interfaces>
2011-11-09 16:01:51 +00:00
<Docs >
<summary > A color selector based on hue, saturation, and value.</summary>
<remarks > TODO: add an example.</remarks>
</Docs>
2003-02-12 02:00:12 +00:00
<Members >
2011-11-09 16:01:51 +00:00
<Member MemberName= ".ctor" >
<MemberSignature Language= "C#" Value= "public HSV ();" />
<MemberSignature Language= "ILAsm" Value= ".method public hidebysig specialname rtspecialname instance void .ctor() cil managed" />
<MemberType > Constructor</MemberType>
<ReturnValue />
<Parameters />
2003-02-12 02:00:12 +00:00
<Docs >
2011-11-09 16:01:51 +00:00
<summary > Default constructor.</summary>
2004-11-05 21:25:40 +00:00
<remarks />
2003-02-12 02:00:12 +00:00
</Docs>
</Member>
<Member MemberName= ".ctor" >
<MemberSignature Language= "C#" Value= "public HSV (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>
<Member MemberName= "Changed" >
<MemberSignature Language= "C#" Value= "public event EventHandler Changed;" />
2011-11-09 16:01:51 +00:00
<MemberSignature Language= "ILAsm" Value= ".event class System.EventHandler Changed" />
2003-02-12 02:00:12 +00:00
<MemberType > Event</MemberType>
2005-08-23 17:02:47 +00:00
<Attributes >
2005-05-23 20:41:51 +00:00
<Attribute >
2007-01-16 16:18:05 +00:00
<AttributeName > GLib.Signal("changed")</AttributeName>
2005-05-23 20:41:51 +00:00
</Attribute>
2005-08-23 17:02:47 +00:00
</Attributes>
2003-09-17 21:56:59 +00:00
<ReturnValue >
2011-11-09 16:01:51 +00:00
<ReturnType > System.EventHandler</ReturnType>
2003-09-17 21:56:59 +00:00
</ReturnValue>
2003-02-12 02:00:12 +00:00
<Parameters />
<Docs >
2011-11-09 16:01:51 +00:00
<summary > Raised when the color of this widget changes.</summary>
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);" />
2011-11-09 16:01:51 +00:00
<MemberSignature Language= "ILAsm" Value= ".method public hidebysig instance void GetColor(float64 h, float64 s, float64 v) cil managed" />
2003-10-28 00:48:23 +00:00
<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 >
<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>
2011-11-09 16:01:51 +00:00
<summary > Gets the current color indicated by this widget.</summary>
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);" />
2011-11-09 16:01:51 +00:00
<MemberSignature Language= "ILAsm" Value= ".method public hidebysig instance void GetMetrics(int32 size, int32 ring_width) cil managed" />
2003-10-28 00:48:23 +00:00
<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
<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>
2011-11-09 16:01:51 +00:00
<summary > Gets the current size of this widget.</summary>
2004-11-05 21:25:40 +00:00
<remarks />
2003-10-28 00:48:23 +00:00
</Docs>
</Member>
2011-11-09 16:01:51 +00:00
<Member MemberName= "GType" >
<MemberSignature Language= "C#" Value= "public static GLib.GType GType { get; }" />
<MemberSignature Language= "ILAsm" Value= ".property valuetype GLib.GType GType" />
<MemberType > Property</MemberType>
<ReturnValue >
<ReturnType > GLib.GType</ReturnType>
</ReturnValue>
<Parameters />
<Docs >
<summary > GType Property.</summary>
<value > a <see cref= "T:GLib.GType" /> </value>
<remarks > Returns the native <see cref= "T:GLib.GType" /> value for <see cref= "T:Gtk.HSV" /> .</remarks>
</Docs>
</Member>
2003-11-05 04:30:47 +00:00
<Member MemberName= "IsAdjusting" >
2011-11-09 16:01:51 +00:00
<MemberSignature Language= "C#" Value= "public bool IsAdjusting { get; }" />
<MemberSignature Language= "ILAsm" Value= ".property instance bool IsAdjusting" />
2003-11-05 04:30:47 +00:00
<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>
2005-05-23 20:41:51 +00:00
<value > a <see cref= "T:System.Boolean" /> </value>
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>
2011-11-09 16:01:51 +00:00
<Member MemberName= "Move" >
<MemberSignature Language= "C#" Value= "public event Gtk.MoveHandler Move;" />
<MemberSignature Language= "ILAsm" Value= ".event class Gtk.MoveHandler Move" />
<MemberType > Event</MemberType>
<Attributes >
<Attribute >
<AttributeName > GLib.Signal("move")</AttributeName>
</Attribute>
</Attributes>
2003-12-24 01:35:30 +00:00
<ReturnValue >
2011-11-09 16:01:51 +00:00
<ReturnType > Gtk.MoveHandler</ReturnType>
2003-12-24 01:35:30 +00:00
</ReturnValue>
<Parameters />
<Docs >
2011-11-09 16:01:51 +00:00
<summary > Raised when this widget is moved.</summary>
<remarks />
</Docs>
</Member>
<Member MemberName= "OnChanged" >
<MemberSignature Language= "C#" Value= "protected virtual void OnChanged ();" />
<MemberSignature Language= "ILAsm" Value= ".method familyhidebysig newslot virtual instance void OnChanged() cil managed" />
<MemberType > Method</MemberType>
<Attributes >
<Attribute >
<AttributeName > GLib.DefaultSignalHandler(ConnectionMethod="OverrideChanged", Type=typeof(Gtk.HSV))</AttributeName>
</Attribute>
</Attributes>
<ReturnValue >
<ReturnType > System.Void</ReturnType>
</ReturnValue>
<Parameters />
<Docs >
<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= "OnMove" >
<MemberSignature Language= "C#" Value= "protected virtual void OnMove (Gtk.DirectionType type);" />
2011-11-09 16:01:51 +00:00
<MemberSignature Language= "ILAsm" Value= ".method familyhidebysig newslot virtual instance void OnMove(valuetype Gtk.DirectionType type) 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="OverrideMove", Type=typeof(Gtk.HSV))</AttributeName>
</Attribute>
</Attributes>
2003-12-24 01:35:30 +00:00
<ReturnValue >
<ReturnType > System.Void</ReturnType>
</ReturnValue>
<Parameters >
<Parameter Name= "type" Type= "Gtk.DirectionType" />
</Parameters>
<Docs >
<param name= "type" > a <see cref= "T:Gtk.DirectionType" /> </param>
2011-11-09 16:01:51 +00:00
<summary > Default handler for the <see cref= "M:Gtk.HSV.Move" /> event.</summary>
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>
2011-11-09 16:01:51 +00:00
<Member MemberName= "SetColor" >
<MemberSignature Language= "C#" Value= "public void SetColor (double h, double s, double v);" />
<MemberSignature Language= "ILAsm" Value= ".method public hidebysig instance void SetColor(float64 h, float64 s, float64 v) cil managed" />
2003-12-24 01:35:30 +00:00
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.Void</ReturnType>
</ReturnValue>
2011-11-09 16:01:51 +00:00
<Parameters >
<Parameter Name= "h" Type= "System.Double" />
<Parameter Name= "s" Type= "System.Double" />
<Parameter Name= "v" Type= "System.Double" />
</Parameters>
2003-12-24 01:35:30 +00:00
<Docs >
2011-11-09 16:01:51 +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>
<summary > Sets the color displayed in the widget.</summary>
<remarks />
2003-12-24 01:35:30 +00:00
</Docs>
</Member>
2011-11-09 16:01:51 +00:00
<Member MemberName= "SetMetrics" >
<MemberSignature Language= "C#" Value= "public void SetMetrics (int size, int ring_width);" />
<MemberSignature Language= "ILAsm" Value= ".method public hidebysig instance void SetMetrics(int32 size, int32 ring_width) cil managed" />
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.Void</ReturnType>
</ReturnValue>
2003-12-24 01:35:30 +00:00
<Parameters >
2011-11-09 16:01:51 +00:00
<Parameter Name= "size" Type= "System.Int32" />
<Parameter Name= "ring_width" Type= "System.Int32" />
2003-12-24 01:35:30 +00:00
</Parameters>
<Docs >
2011-11-09 16:01:51 +00:00
<param name= "size" > A <see cref= "T:System.Int32" /> </param>
<param name= "ring_width" > A <see cref= "T:System.Int32" /> </param>
<summary > Set the basic size of the hue ring.</summary>
<remarks />
</Docs>
</Member>
<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);" />
<MemberSignature Language= "ILAsm" Value= ".method public static hidebysig void ToRgb(float64 h, float64 s, float64 v, float64 r, float64 g, float64 b) cil managed" />
<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 >
<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>
<summary > Converts a HSV value to a RGB (red-green-blue) triplet.</summary>
<remarks />
2003-12-24 01:35:30 +00:00
</Docs>
2005-08-23 17:02:47 +00:00
</Member>
2003-02-12 02:00:12 +00:00
</Members>
2005-05-23 20:41:51 +00:00
</Type>