2003-02-12 02:14:42 +00:00
<Type Name= "ColorPicker" FullName= "Gnome.ColorPicker" >
2005-05-23 20:41:51 +00:00
<TypeSignature Language= "C#" Maintainer= "auto" Value= "public class ColorPicker : Gtk.Button" />
2003-02-12 02:14:42 +00:00
<AssemblyInfo >
<AssemblyName > gnome-sharp</AssemblyName>
2003-12-24 01:35:30 +00:00
<AssemblyPublicKey >
</AssemblyPublicKey>
2005-06-17 18:43:30 +00:00
<AssemblyVersion > 2.6.0.0</AssemblyVersion>
2003-02-12 02:14:42 +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: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 >
</Interfaces>
2005-05-23 20:41:51 +00:00
<Attributes >
<Attribute >
<AttributeName > System.Obsolete(Message=null, IsError=False)</AttributeName>
</Attribute>
</Attributes>
2003-02-12 02:14:42 +00:00
<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>
2005-01-07 20:55:53 +00:00
<remarks > To be added</remarks>
2003-02-12 02:14:42 +00:00
</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>
2005-01-07 20:55:53 +00:00
<remarks > To be added</remarks>
2003-02-12 02:14:42 +00:00
</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>
2005-01-07 20:55:53 +00:00
<remarks > To be added</remarks>
2003-02-12 02:14:42 +00:00
</Docs>
</Member>
2005-05-23 21:11:27 +00:00
2003-02-12 02:14:42 +00:00
<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>
<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>
2005-01-07 20:55:53 +00:00
<remarks > To be added</remarks>
2003-02-12 02:14:42 +00:00
</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>
2005-05-23 20:41:51 +00:00
<value > The current value of the channel.</value>
2005-01-07 20:55:53 +00:00
<remarks > To be added</remarks>
2003-02-12 02:14:42 +00:00
</Docs>
2005-05-23 20:41:51 +00:00
<Attributes >
<Attribute >
<AttributeName > GLib.Property(Name="green")</AttributeName>
</Attribute>
</Attributes> </Member>
2003-02-12 02:14:42 +00:00
<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>
2005-05-23 20:41:51 +00:00
<value > The current value of the channel.</value>
2005-01-07 20:55:53 +00:00
<remarks > To be added</remarks>
2003-02-12 02:14:42 +00:00
</Docs>
2005-05-23 20:41:51 +00:00
<Attributes >
<Attribute >
<AttributeName > GLib.Property(Name="alpha")</AttributeName>
</Attribute>
</Attributes> </Member>
2003-02-12 02:14:42 +00:00
<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>
2005-05-23 20:41:51 +00:00
<value > Current text to be used for the color selection dialog.</value>
2005-01-07 20:55:53 +00:00
<remarks > To be added</remarks>
2003-02-12 02:14:42 +00:00
</Docs>
2005-05-23 20:41:51 +00:00
<Attributes >
<Attribute >
<AttributeName > GLib.Property(Name="title")</AttributeName>
</Attribute>
</Attributes> </Member>
2003-02-12 02:14:42 +00:00
<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>
2005-05-23 20:41:51 +00:00
<value > Current dither settings for the widget.</value>
2005-01-07 20:55:53 +00:00
<remarks > To be added</remarks>
2003-02-12 02:14:42 +00:00
</Docs>
2005-05-23 20:41:51 +00:00
<Attributes >
<Attribute >
<AttributeName > GLib.Property(Name="dither")</AttributeName>
</Attribute>
</Attributes> </Member>
2003-02-12 02:14:42 +00:00
<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>
2005-05-23 20:41:51 +00:00
<value > The current value of the channel.</value>
2005-01-07 20:55:53 +00:00
<remarks > To be added</remarks>
2003-02-12 02:14:42 +00:00
</Docs>
2005-05-23 20:41:51 +00:00
<Attributes >
<Attribute >
<AttributeName > GLib.Property(Name="blue")</AttributeName>
</Attribute>
</Attributes> </Member>
2003-02-12 02:14:42 +00:00
<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>
2005-05-23 20:41:51 +00:00
<value > Curren rule for the use of the alpha channel.</value>
2005-01-07 20:55:53 +00:00
<remarks > To be added</remarks>
2003-02-12 02:14:42 +00:00
</Docs>
2005-05-23 20:41:51 +00:00
<Attributes >
<Attribute >
<AttributeName > GLib.Property(Name="use_alpha")</AttributeName>
</Attribute>
</Attributes> </Member>
2003-02-12 02:14:42 +00:00
<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>
2005-05-23 20:41:51 +00:00
<value > The current value of the channel.</value>
2005-01-07 20:55:53 +00:00
<remarks > To be added</remarks>
2003-02-12 02:14:42 +00:00
</Docs>
2005-05-23 20:41:51 +00:00
<Attributes >
<Attribute >
<AttributeName > GLib.Property(Name="red")</AttributeName>
</Attribute>
</Attributes> </Member>
2003-02-12 02:14:42 +00:00
<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>
2005-01-07 20:55:53 +00:00
<remarks > To be added</remarks>
2003-02-12 02:14:42 +00:00
</Docs>
2005-05-23 20:41:51 +00:00
<Attributes >
<Attribute >
<AttributeName > GLib.Signal(CName="color_set")</AttributeName>
</Attribute>
</Attributes> </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>
2005-01-07 20:55:53 +00:00
<remarks > To be added</remarks>
2003-10-28 00:48:23 +00:00
</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>
2005-01-07 20:55:53 +00:00
<remarks > To be added</remarks>
2003-10-28 00:48:23 +00:00
</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>
2005-01-07 20:55:53 +00:00
<remarks > To be added</remarks>
2003-10-28 00:48:23 +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>
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: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>
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>
2005-05-23 20:41:51 +00:00
<Attributes >
<Attribute >
<AttributeName > System.Obsolete(Message=null, IsError=False)</AttributeName>
</Attribute>
</Attributes> </Member>
2003-02-12 02:14:42 +00:00
</Members>
2005-05-23 20:41:51 +00:00
</Type>