mirror of
https://github.com/Ryujinx/GtkSharp.git
synced 2024-12-26 20:25:28 +00:00
0e47e78f96
svn path=/trunk/gtk-sharp/; revision=54175
380 lines
15 KiB
XML
380 lines
15 KiB
XML
<Type Name="ColorPicker" FullName="Gnome.ColorPicker">
|
|
<TypeSignature Language="C#" Maintainer="auto" Value="public class ColorPicker : Gtk.Button" />
|
|
<AssemblyInfo>
|
|
<AssemblyName>gnome-sharp</AssemblyName>
|
|
<AssemblyPublicKey>
|
|
</AssemblyPublicKey>
|
|
<AssemblyVersion>2.8.0.0</AssemblyVersion>
|
|
</AssemblyInfo>
|
|
<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>
|
|
<Docs>
|
|
<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>
|
|
</Docs>
|
|
<Base>
|
|
<BaseTypeName>Gtk.Button</BaseTypeName>
|
|
</Base>
|
|
<Interfaces>
|
|
</Interfaces>
|
|
<Attributes>
|
|
<Attribute>
|
|
<AttributeName>System.Obsolete(Message=null, IsError=False)</AttributeName>
|
|
</Attribute>
|
|
</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>
|
|
<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>
|
|
<Docs>
|
|
<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>
|
|
<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>
|
|
<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>
|
|
<Docs>
|
|
<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>
|
|
<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>
|
|
<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>
|
|
<Docs>
|
|
<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>
|
|
<remarks>To be added</remarks>
|
|
</Docs>
|
|
</Member>
|
|
<Member MemberName=".ctor">
|
|
<MemberSignature Language="C#" Value="public ColorPicker (IntPtr raw);" />
|
|
<MemberType>Constructor</MemberType>
|
|
<ReturnValue />
|
|
<Parameters>
|
|
<Parameter Name="raw" Type="System.IntPtr" />
|
|
</Parameters>
|
|
<Docs>
|
|
<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>
|
|
</Docs>
|
|
</Member>
|
|
<Member MemberName=".ctor">
|
|
<MemberSignature Language="C#" Value="public ColorPicker ();" />
|
|
<MemberType>Constructor</MemberType>
|
|
<ReturnValue />
|
|
<Parameters />
|
|
<Docs>
|
|
<summary>Create a new ColorPicker widget.</summary>
|
|
<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>
|
|
<Parameters>
|
|
</Parameters>
|
|
<Docs>
|
|
<summary>The green value for the color in the widget.</summary>
|
|
<value>The current value of the channel.</value>
|
|
<remarks>To be added</remarks>
|
|
</Docs>
|
|
<Attributes>
|
|
<Attribute>
|
|
<AttributeName>GLib.Property(Name="green")</AttributeName>
|
|
</Attribute>
|
|
</Attributes>
|
|
</Member>
|
|
<Member MemberName="Alpha">
|
|
<MemberSignature Language="C#" Value="public uint Alpha { set; get; };" />
|
|
<MemberType>Property</MemberType>
|
|
<ReturnValue>
|
|
<ReturnType>System.UInt32</ReturnType>
|
|
</ReturnValue>
|
|
<Parameters>
|
|
</Parameters>
|
|
<Docs>
|
|
<summary>The alpha value for the color in the widget.</summary>
|
|
<value>The current value of the channel.</value>
|
|
<remarks>To be added</remarks>
|
|
</Docs>
|
|
<Attributes>
|
|
<Attribute>
|
|
<AttributeName>GLib.Property(Name="alpha")</AttributeName>
|
|
</Attribute>
|
|
</Attributes>
|
|
</Member>
|
|
<Member MemberName="Title">
|
|
<MemberSignature Language="C#" Value="public string Title { set; get; };" />
|
|
<MemberType>Property</MemberType>
|
|
<ReturnValue>
|
|
<ReturnType>System.String</ReturnType>
|
|
</ReturnValue>
|
|
<Parameters>
|
|
</Parameters>
|
|
<Docs>
|
|
<summary>The title to be displayed on the color selection dialog.</summary>
|
|
<value>Current text to be used for the color selection dialog.</value>
|
|
<remarks>To be added</remarks>
|
|
</Docs>
|
|
<Attributes>
|
|
<Attribute>
|
|
<AttributeName>GLib.Property(Name="title")</AttributeName>
|
|
</Attribute>
|
|
</Attributes>
|
|
</Member>
|
|
<Member MemberName="Dither">
|
|
<MemberSignature Language="C#" Value="public bool Dither { set; get; };" />
|
|
<MemberType>Property</MemberType>
|
|
<ReturnValue>
|
|
<ReturnType>System.Boolean</ReturnType>
|
|
</ReturnValue>
|
|
<Parameters>
|
|
</Parameters>
|
|
<Docs>
|
|
<summary>Whether the sample is dithered or simply a solid color.</summary>
|
|
<value>Current dither settings for the widget.</value>
|
|
<remarks>To be added</remarks>
|
|
</Docs>
|
|
<Attributes>
|
|
<Attribute>
|
|
<AttributeName>GLib.Property(Name="dither")</AttributeName>
|
|
</Attribute>
|
|
</Attributes>
|
|
</Member>
|
|
<Member MemberName="Blue">
|
|
<MemberSignature Language="C#" Value="public uint Blue { set; get; };" />
|
|
<MemberType>Property</MemberType>
|
|
<ReturnValue>
|
|
<ReturnType>System.UInt32</ReturnType>
|
|
</ReturnValue>
|
|
<Parameters>
|
|
</Parameters>
|
|
<Docs>
|
|
<summary>The blue value for the color in the widget.</summary>
|
|
<value>The current value of the channel.</value>
|
|
<remarks>To be added</remarks>
|
|
</Docs>
|
|
<Attributes>
|
|
<Attribute>
|
|
<AttributeName>GLib.Property(Name="blue")</AttributeName>
|
|
</Attribute>
|
|
</Attributes>
|
|
</Member>
|
|
<Member MemberName="UseAlpha">
|
|
<MemberSignature Language="C#" Value="public bool UseAlpha { set; get; };" />
|
|
<MemberType>Property</MemberType>
|
|
<ReturnValue>
|
|
<ReturnType>System.Boolean</ReturnType>
|
|
</ReturnValue>
|
|
<Parameters>
|
|
</Parameters>
|
|
<Docs>
|
|
<summary>Enable/Disable support for an alpha channel for the color.</summary>
|
|
<value>Curren rule for the use of the alpha channel.</value>
|
|
<remarks>To be added</remarks>
|
|
</Docs>
|
|
<Attributes>
|
|
<Attribute>
|
|
<AttributeName>GLib.Property(Name="use_alpha")</AttributeName>
|
|
</Attribute>
|
|
</Attributes>
|
|
</Member>
|
|
<Member MemberName="Red">
|
|
<MemberSignature Language="C#" Value="public uint Red { set; get; };" />
|
|
<MemberType>Property</MemberType>
|
|
<ReturnValue>
|
|
<ReturnType>System.UInt32</ReturnType>
|
|
</ReturnValue>
|
|
<Parameters>
|
|
</Parameters>
|
|
<Docs>
|
|
<summary>The red value for the color in the widget.</summary>
|
|
<value>The current value of the channel.</value>
|
|
<remarks>To be added</remarks>
|
|
</Docs>
|
|
<Attributes>
|
|
<Attribute>
|
|
<AttributeName>GLib.Property(Name="red")</AttributeName>
|
|
</Attribute>
|
|
</Attributes>
|
|
</Member>
|
|
<Member MemberName="ColorSet">
|
|
<MemberSignature Language="C#" Value="public event Gnome.ColorSetHandler ColorSet;" />
|
|
<MemberType>Event</MemberType>
|
|
<ReturnValue>
|
|
<ReturnType>Gnome.ColorSetHandler</ReturnType>
|
|
</ReturnValue>
|
|
<Parameters />
|
|
<Docs>
|
|
<summary>Emitted when a color is selected in the color dialog.</summary>
|
|
<remarks>To be added</remarks>
|
|
</Docs>
|
|
<Attributes>
|
|
<Attribute>
|
|
<AttributeName>GLib.Signal(CName="color_set")</AttributeName>
|
|
</Attribute>
|
|
</Attributes>
|
|
</Member>
|
|
<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>
|
|
<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>
|
|
<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>
|
|
<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>
|
|
<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>
|
|
<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>
|
|
<remarks>To be added</remarks>
|
|
</Docs>
|
|
</Member>
|
|
<Member MemberName="GType">
|
|
<MemberSignature Language="C#" Value="public static GLib.GType GType { get; };" />
|
|
<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:Gnome.ColorPicker" />.</remarks>
|
|
</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>
|
|
<summary>Default handler for the <see cref="M:Gnome.ColorPicker.ColorSet" /> event.</summary>
|
|
<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>
|
|
<remarks>Override this method in a subclass to provide a default handler for the <see cref="M:Gnome.ColorPicker.ColorSet" /> event.</remarks>
|
|
</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>
|
|
<summary>Protected Constructor.</summary>
|
|
<param name="gtype">a <see cref="T:GLib.GType" /></param>
|
|
<remarks>Chain to this constructor if you have manually registered a native <see cref="T:GLib.GType" /> value for your subclass.</remarks>
|
|
</Docs>
|
|
<Attributes>
|
|
<Attribute>
|
|
<AttributeName>System.Obsolete(Message=null, IsError=False)</AttributeName>
|
|
</Attribute>
|
|
</Attributes>
|
|
</Member>
|
|
</Members>
|
|
</Type>
|