2003-02-12 02:14:42 +00:00
<Type Name= "ColorPicker" FullName= "Gnome.ColorPicker" >
2003-02-15 03:08:25 +00:00
<TypeSignature Language= "C#" Value= "public class ColorPicker : Gtk.Button, Implementor, IWrapper, IWrapper, IDisposable" Maintainer= "auto" />
2003-02-12 02:14:42 +00:00
<AssemblyInfo >
<AssemblyName > gnome-sharp</AssemblyName>
2003-12-24 01:35:30 +00:00
<AssemblyPublicKey >
</AssemblyPublicKey>
2003-02-12 02:14:42 +00:00
<AssemblyVersion > 0.0.0.0</AssemblyVersion>
2003-10-28 00:48:23 +00:00
<AssemblyCulture > neutral</AssemblyCulture>
2003-02-12 02:14:42 +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:14:42 +00:00
<Docs >
2004-07-06 16:17:24 +00:00
<summary > A button for selecting a color.</summary>
<remarks > ColorPicker provides a button for selecting a color. When pressed, a dialog is opened allowing the user to select a color.</remarks>
2003-02-12 02:14:42 +00:00
</Docs>
<Base >
<BaseTypeName > Gtk.Button</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= "SetD" >
<MemberSignature Language= "C#" Value= "public void SetD (double r, double g, double b, double a);" />
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.Void</ReturnType>
</ReturnValue>
<Parameters >
2003-09-17 21:56:59 +00:00
<Parameter Name= "r" Type= "System.Double" />
<Parameter Name= "g" Type= "System.Double" />
<Parameter Name= "b" Type= "System.Double" />
<Parameter Name= "a" Type= "System.Double" />
</Parameters>
2003-02-12 02:14:42 +00:00
<Docs >
2004-07-06 16:17:24 +00:00
<summary > Set the color in the widget.</summary>
<param name= "r" > The red value to set.</param>
<param name= "g" > The green value to set.</param>
<param name= "b" > The blue value to set.</param>
<param name= "a" > The alpha value to set.</param>
2003-02-12 02:14:42 +00:00
<remarks > To be added</remarks>
</Docs>
</Member>
<Member MemberName= "SetI8" >
<MemberSignature Language= "C#" Value= "public void SetI8 (byte r, byte g, byte b, byte a);" />
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.Void</ReturnType>
</ReturnValue>
<Parameters >
2003-09-17 21:56:59 +00:00
<Parameter Name= "r" Type= "System.Byte" />
<Parameter Name= "g" Type= "System.Byte" />
<Parameter Name= "b" Type= "System.Byte" />
<Parameter Name= "a" Type= "System.Byte" />
</Parameters>
2003-02-12 02:14:42 +00:00
<Docs >
2004-07-06 16:17:24 +00:00
<summary > Set the color in the widget.</summary>
<param name= "r" > The red value to set.</param>
<param name= "g" > The green value to set.</param>
<param name= "b" > The blue value to set.</param>
<param name= "a" > The alpha value to set.</param>
2003-02-12 02:14:42 +00:00
<remarks > To be added</remarks>
</Docs>
</Member>
<Member MemberName= "SetI16" >
<MemberSignature Language= "C#" Value= "public void SetI16 (ushort r, ushort g, ushort b, ushort a);" />
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.Void</ReturnType>
</ReturnValue>
<Parameters >
2003-09-17 21:56:59 +00:00
<Parameter Name= "r" Type= "System.UInt16" />
<Parameter Name= "g" Type= "System.UInt16" />
<Parameter Name= "b" Type= "System.UInt16" />
<Parameter Name= "a" Type= "System.UInt16" />
</Parameters>
2003-02-12 02:14:42 +00:00
<Docs >
2004-07-06 16:17:24 +00:00
<summary > Set the color in the widget.</summary>
<param name= "r" > The red value to set.</param>
<param name= "g" > The green value to set.</param>
<param name= "b" > The blue value to set.</param>
<param name= "a" > The alpha value to set.</param>
2003-02-12 02:14:42 +00:00
<remarks > To be added</remarks>
</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:14:42 +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:14:42 +00:00
</Docs>
</Member>
<Member MemberName= ".ctor" >
<MemberSignature Language= "C#" Value= "public ColorPicker (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:14:42 +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 ColorPicker, 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:14:42 +00:00
</Docs>
</Member>
<Member MemberName= ".ctor" >
<MemberSignature Language= "C#" Value= "public ColorPicker ();" />
<MemberType > Constructor</MemberType>
<ReturnValue />
<Parameters />
<Docs >
2004-07-06 16:17:24 +00:00
<summary > Create a new ColorPicker widget.</summary>
2003-02-12 02:14:42 +00:00
<returns > To be added: an object of type 'Gnome.ColorPicker'</returns>
<remarks > To be added</remarks>
</Docs>
</Member>
<Member MemberName= "Green" >
<MemberSignature Language= "C#" Value= "public uint Green { 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:14:42 +00:00
<Docs >
2004-07-06 16:17:24 +00:00
<summary > The green value for the color in the widget.</summary>
<param name= "value" > Value of the color in the range from 0 to 65535. </param>
<returns > The current value of the channel.</returns>
2003-02-12 02:14:42 +00:00
<remarks > To be added</remarks>
</Docs>
</Member>
<Member MemberName= "Alpha" >
<MemberSignature Language= "C#" Value= "public uint Alpha { 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:14:42 +00:00
<Docs >
2004-07-06 16:17:24 +00:00
<summary > The alpha value for the color in the widget.</summary>
<param name= "value" > Value of the color in the range from 0 to 65535. </param>
<returns > The current value of the channel.</returns>
2003-02-12 02:14:42 +00:00
<remarks > To be added</remarks>
</Docs>
</Member>
<Member MemberName= "Title" >
<MemberSignature Language= "C#" Value= "public string Title { set; get; };" />
<MemberType > Property</MemberType>
<ReturnValue >
<ReturnType > System.String</ReturnType>
</ReturnValue>
2003-12-24 01:35:30 +00:00
<Parameters >
</Parameters>
2003-02-12 02:14:42 +00:00
<Docs >
2004-07-06 16:17:24 +00:00
<summary > The title to be displayed on the color selection dialog.</summary>
<param name= "value" > The text to use.</param>
<returns > Current text to be used for the color selection dialog.</returns>
2003-02-12 02:14:42 +00:00
<remarks > To be added</remarks>
</Docs>
</Member>
<Member MemberName= "Dither" >
<MemberSignature Language= "C#" Value= "public bool Dither { 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:14:42 +00:00
<Docs >
2004-07-06 16:17:24 +00:00
<summary > Whether the sample is dithered or simply a solid color.</summary>
<param name= "value" > Whether to dither or not.</param>
<returns > Current dither settings for the widget.</returns>
2003-02-12 02:14:42 +00:00
<remarks > To be added</remarks>
</Docs>
</Member>
<Member MemberName= "Blue" >
<MemberSignature Language= "C#" Value= "public uint Blue { 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:14:42 +00:00
<Docs >
2004-07-06 16:17:24 +00:00
<summary > The blue value for the color in the widget.</summary>
<param name= "value" > Value of the color in the range from 0 to 65535. </param>
<returns > The current value of the channel.</returns>
2003-02-12 02:14:42 +00:00
<remarks > To be added</remarks>
</Docs>
</Member>
<Member MemberName= "UseAlpha" >
<MemberSignature Language= "C#" Value= "public bool UseAlpha { 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:14:42 +00:00
<Docs >
2004-07-06 16:17:24 +00:00
<summary > Enable/Disable support for an alpha channel for the color.</summary>
<param name= "value" > Whether to support an alpha channel or not.</param>
<returns > Curren rule for the use of the alpha channel.</returns>
2003-02-12 02:14:42 +00:00
<remarks > To be added</remarks>
</Docs>
</Member>
<Member MemberName= "Red" >
<MemberSignature Language= "C#" Value= "public uint Red { 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:14:42 +00:00
<Docs >
2004-07-06 16:17:24 +00:00
<summary > The red value for the color in the widget.</summary>
<param name= "value" > Value of the color in the range from 0 to 65535.</param>
<returns > The current value of the channel.</returns>
2003-02-12 02:14:42 +00:00
<remarks > To be added</remarks>
</Docs>
</Member>
<Member MemberName= "ColorSet" >
2004-02-25 23:39:06 +00:00
<MemberSignature Language= "C#" Value= "public event Gnome.ColorSetHandler ColorSet;" />
2003-02-12 02:14:42 +00:00
<MemberType > Event</MemberType>
2003-09-17 21:56:59 +00:00
<ReturnValue >
2004-02-25 23:39:06 +00:00
<ReturnType > Gnome.ColorSetHandler</ReturnType>
2003-09-17 21:56:59 +00:00
</ReturnValue>
2003-02-12 02:14:42 +00:00
<Parameters />
<Docs >
2004-07-06 16:17:24 +00:00
<summary > Emitted when a color is selected in the color dialog.</summary>
2003-02-12 02:14:42 +00:00
<remarks > To be added</remarks>
</Docs>
</Member>
2003-10-28 00:48:23 +00:00
<Member MemberName= "GetI16" >
<MemberSignature Language= "C#" Value= "public void GetI16 (out ushort r, out ushort g, out ushort b, out ushort a);" />
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.Void</ReturnType>
</ReturnValue>
<Parameters >
<Parameter Name= "r" Type= "System.UInt16&" RefType= "out" />
<Parameter Name= "g" Type= "System.UInt16&" RefType= "out" />
<Parameter Name= "b" Type= "System.UInt16&" RefType= "out" />
<Parameter Name= "a" Type= "System.UInt16&" RefType= "out" />
</Parameters>
<Docs >
2004-07-06 16:17:24 +00:00
<summary > Get the UInt16s for the current color in the widget.</summary>
<param name= "r" > Location to store the red value.</param>
<param name= "g" > Location to store the green value.</param>
<param name= "b" > Location to store the blue value.</param>
<param name= "a" > Location to store the alpha value.</param>
2003-10-28 00:48:23 +00:00
<remarks > To be added</remarks>
</Docs>
</Member>
<Member MemberName= "GetD" >
<MemberSignature Language= "C#" Value= "public void GetD (out double r, out double g, out double b, out double a);" />
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.Void</ReturnType>
</ReturnValue>
<Parameters >
<Parameter Name= "r" Type= "System.Double&" RefType= "out" />
<Parameter Name= "g" Type= "System.Double&" RefType= "out" />
<Parameter Name= "b" Type= "System.Double&" RefType= "out" />
<Parameter Name= "a" Type= "System.Double&" RefType= "out" />
</Parameters>
<Docs >
2004-07-06 16:17:24 +00:00
<summary > Get the doubles for the current color in the widget.</summary>
<param name= "r" > Location to store the red value.</param>
<param name= "g" > Location to store the green value.</param>
<param name= "b" > Location to store the blue value.</param>
<param name= "a" > Location to store the alpha value.</param>
2003-10-28 00:48:23 +00:00
<remarks > To be added</remarks>
</Docs>
</Member>
<Member MemberName= "GetI8" >
<MemberSignature Language= "C#" Value= "public void GetI8 (out byte r, out byte g, out byte b, out byte a);" />
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.Void</ReturnType>
</ReturnValue>
<Parameters >
<Parameter Name= "r" Type= "System.Byte&" RefType= "out" />
<Parameter Name= "g" Type= "System.Byte&" RefType= "out" />
<Parameter Name= "b" Type= "System.Byte&" RefType= "out" />
<Parameter Name= "a" Type= "System.Byte&" RefType= "out" />
</Parameters>
<Docs >
2004-07-06 16:17:24 +00:00
<summary > Get the bytes for the current color in the widget.</summary>
<param name= "r" > Location to store the red value.</param>
<param name= "g" > Location to store the green value.</param>
<param name= "b" > Location to store the blue value.</param>
<param name= "a" > Location to store the alpha value.</param>
2003-10-28 00:48:23 +00:00
<remarks > To be added</remarks>
</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:Gnome.ColorPicker" /> .</remarks>
2003-12-24 01:35:30 +00:00
</Docs>
</Member>
<Member MemberName= "OnColorSet" >
<MemberSignature Language= "C#" Value= "protected virtual void OnColorSet (uint r, uint g, uint b, uint a);" />
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.Void</ReturnType>
</ReturnValue>
<Parameters >
<Parameter Name= "r" Type= "System.UInt32" />
<Parameter Name= "g" Type= "System.UInt32" />
<Parameter Name= "b" Type= "System.UInt32" />
<Parameter Name= "a" Type= "System.UInt32" />
</Parameters>
<Docs >
2004-06-15 15:41:25 +00:00
<summary > Default handler for the <see cref= "M:Gnome.ColorPicker.ColorSet" /> event.</summary>
2003-12-24 01:35:30 +00:00
<param name= "r" > a <see cref= "T:System.UInt32" /> </param>
<param name= "g" > a <see cref= "T:System.UInt32" /> </param>
<param name= "b" > a <see cref= "T:System.UInt32" /> </param>
<param name= "a" > a <see cref= "T:System.UInt32" /> </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:Gnome.ColorPicker.ColorSet" /> event.</remarks>
2003-12-24 01:35:30 +00:00
</Docs>
</Member>
<Member MemberName= ".ctor" >
<MemberSignature Language= "C#" Value= "protected ColorPicker (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:Gnome.ColorPicker" /> </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:14:42 +00:00
</Members>
2004-02-26 19:18:47 +00:00
</Type>