<Type Name="ColorButton" FullName="Gtk.ColorButton"> <TypeSignature Language="C#" Maintainer="auto" Value="public class ColorButton : Gtk.Button" /> <AssemblyInfo> <AssemblyName>gtk-sharp</AssemblyName> <AssemblyPublicKey>[00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4]</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 which displays the currently selected color and allows opening of a color selection dialog to change the color.</summary> <remarks>This widget is suitable for selecting a color in a preference dialog.</remarks> <since version="Gtk# 2.4" /> </Docs> <Base> <BaseTypeName>Gtk.Button</BaseTypeName> </Base> <Interfaces> </Interfaces> <Members> <Member MemberName="OnColorSet"> <MemberSignature Language="C#" Value="protected virtual void OnColorSet ();" /> <MemberType>Method</MemberType> <ReturnValue> <ReturnType>System.Void</ReturnType> </ReturnValue> <Parameters /> <Docs> <summary>Protected method called when the color of the widget is set.</summary> <remarks /> </Docs> </Member> <Member MemberName=".ctor"> <MemberSignature Language="C#" Value="protected ColorButton (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 /> </Docs> <Attributes> <Attribute> <AttributeName>System.Obsolete(Message=null, IsError=False)</AttributeName> </Attribute> </Attributes> </Member> <Member MemberName=".ctor"> <MemberSignature Language="C#" Value="public ColorButton (IntPtr raw);" /> <MemberType>Constructor</MemberType> <ReturnValue /> <Parameters> <Parameter Name="raw" Type="System.IntPtr" /> </Parameters> <Docs> <summary>Constructor; for internal use only.</summary> <param name="raw">a <see cref="T:System.IntPtr" />, pointer to underlying C object.</param> <remarks /> </Docs> </Member> <Member MemberName=".ctor"> <MemberSignature Language="C#" Value="public ColorButton ();" /> <MemberType>Constructor</MemberType> <ReturnValue /> <Parameters /> <Docs> <summary>Constructor for public use.</summary> <remarks /> </Docs> </Member> <Member MemberName=".ctor"> <MemberSignature Language="C#" Value="public ColorButton (Gdk.Color color);" /> <MemberType>Constructor</MemberType> <ReturnValue /> <Parameters> <Parameter Name="color" Type="Gdk.Color" /> </Parameters> <Docs> <summary>Constructor for public use.</summary> <param name="color">a <see cref="T:Gdk.Color" />, the color to make the button.</param> <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>Do not use.</summary> <value>a <see cref="T:GLib.GType" /></value> <remarks /> </Docs> </Member> <Member MemberName="UseAlpha"> <MemberSignature Language="C#" Value="public bool UseAlpha { set; get; };" /> <MemberType>Property</MemberType> <ReturnValue> <ReturnType>System.Boolean</ReturnType> </ReturnValue> <Parameters /> <Docs> <summary>Whether or not to make this button transparent.</summary> <value>a <see cref="T:System.Boolean" /></value> <remarks /> </Docs> <Attributes> <Attribute> <AttributeName>GLib.Property(Name="use-alpha")</AttributeName> </Attribute> </Attributes> </Member> <Member MemberName="Color"> <MemberSignature Language="C#" Value="public Gdk.Color Color { set; get; };" /> <MemberType>Property</MemberType> <ReturnValue> <ReturnType>Gdk.Color</ReturnType> </ReturnValue> <Parameters /> <Docs> <summary>The color this widget is set to.</summary> <value>a <see cref="T:Gdk.Color" /></value> <remarks /> </Docs> <Attributes> <Attribute> <AttributeName>GLib.Property(Name="color")</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 /> <Docs> <summary>The title for this button.</summary> <value>a <see cref="T:System.String" /></value> <remarks /> </Docs> <Attributes> <Attribute> <AttributeName>GLib.Property(Name="title")</AttributeName> </Attribute> </Attributes> </Member> <Member MemberName="Alpha"> <MemberSignature Language="C#" Value="public ushort Alpha { set; get; };" /> <MemberType>Property</MemberType> <ReturnValue> <ReturnType>System.UInt16</ReturnType> </ReturnValue> <Parameters /> <Docs> <summary>How transparent to make this button, if transparency is being used.</summary> <value>a <see cref="T:System.UInt16" /></value> <remarks /> </Docs> <Attributes> <Attribute> <AttributeName>GLib.Property(Name="alpha")</AttributeName> </Attribute> </Attributes> </Member> <Member MemberName="ColorSet"> <MemberSignature Language="C#" Value="public event EventHandler ColorSet;" /> <MemberType>Event</MemberType> <ReturnValue> <ReturnType>System.EventHandler</ReturnType> </ReturnValue> <Parameters /> <Docs> <summary>Event that happens when the color of this ColorButton is set.</summary> <remarks /> </Docs> <Attributes> <Attribute> <AttributeName>GLib.Signal(CName="color_set")</AttributeName> </Attribute> </Attributes> </Member> </Members> </Type>