_
ComboA Gtk_Color_Combo is a widget that ease the selection of colors by the user. It is a special form of a Gtk_Combo_Box, that displays a special popup window, with a list of colors.
Note that nothing appears in the button, this your responsibility to update it when the user selects a new color (see the "changed" signal).
Widget Hierarchy |
---|
Gtk_Object (see section Package Gtk.Object) \___ Gtk_Widget (see section Package Gtk.Widget) \___ Gtk_Container (see section Package Gtk.Container) \___ Gtk_Box (see section Package Gtk.Box) \___ Gtk_Combo_Box (see section Package Gtk.Extra.Combo |
Signals |
---|
Subprograms |
---|
procedure Gtk_New (Widget : out Gtk_Color_Combo); | ||
Create a new default combo box. | ||
procedure Gtk_New (Widget : out Gtk_Color_Combo; Nrows : in Gint; Ncols : in Gint; Color_Names : in Gtkada.Types.Chars_Ptr_Array); | ||
Create a new combo box with a specific list of colors. | ||
function Get_Type return Gtk.Gtk_Type; | ||
Return the internal value associated with a Gtk_Color_Combo.
| ||
function Get_Color_At (Widget : access Gtk_Color_Combo_Record; Row : Gint; Col : Gint) return String; | ||
Return the name of the color at specific coordinates.
| ||
procedure Find_Color (Color_Combo : access Gtk_Color_Combo_Record; Color : in Gdk.Color.Gdk_Color; Row : out Gint; Col : out Gint); | ||
Return the coordinates in which a color appear in the popup window.
|