[Contents] [Back] [Prev] [Up] [Next] [Forward]

# Package Gtk.Color`_`Selection`_`Dialog

The Gtk_Color_Selection_Dialog provides a standard dialog which allows the user to select a color much like the Gtk_File_Selection provides a standard dialog for file selection.

- Gtk.Color_Selection_Dialog Widget Hierarchy
- Gtk.Color_Selection_Dialog Subprograms

## Widget Hierarchy

    Gtk_Object                    (see section Package Gtk.Object)
       \___ Gtk_Widget            (see section Package Gtk.Widget)
          \___ Gtk_Container      (see section Package Gtk.Container)
             \___ Gtk_Bin         (see section Package Gtk.Bin)
                \___ Gtk_Window   (see section Package Gtk.Window)
                   \___ Gtk_Color_Selection_Dialog (see section Package Gtk.Color_Selection_Dialog)

## Subprograms

    procedure Gtk_New
      (Color_Selection_Dialog  : out    Gtk_Color_Selection_Dialog;
       Title              : in     String);
| Create a new Color_Selection_Dialog with a specified title.
    function Get_Type              return Gtk.Gtk_Type;
| Return the internal value associated with a Gtk_Menu.
### Functions to get the fields of the dialog
    function Get_Colorsel
      (Color_Selection_Dialog  : access Gtk_Color_Selection_Dialog_Record)
       return Gtk.Color_Selection.Gtk_Color_Selection;
| Get the Gtk_Color_Selection widget contained within the dialog. Use this widget and its Gtk.Color_Selection.Get_Color function to gain access to the selected color. Connect a handler for this widget's color_changed signal to be notified when the color changes.
    function Get_OK_Button
      (Color_Selection_Dialog  : access Gtk_Color_Selection_Dialog_Record)
       return Gtk.Button.Gtk_Button;
| Get the OK button widget contained within the dialog.
    function Get_Reset_Button
      (Color_Selection_Dialog  : access Gtk_Color_Selection_Dialog_Record)
       return Gtk.Button.Gtk_Button;
| Get the reset button widget contained within the dialog.
    function Get_Cancel_Button
      (Color_Selection_Dialog  : access Gtk_Color_Selection_Dialog_Record)
       return Gtk.Button.Gtk_Button;
| Get the cancel button widget contained within the dialog.
    function Get_Help_Button
      (Color_Selection_Dialog  : access Gtk_Color_Selection_Dialog_Record)
       return Gtk.Button.Gtk_Button;
| Get the help button widget contained within the dialog.

[Contents] [Back] [Prev] [Up] [Next] [Forward]