| Top |
| CtkWidget * | cancel-button | Read |
| CtkWidget * | color-selection | Read |
| CtkWidget * | help-button | Read |
| CtkWidget * | ok-button | Read |
GObject
╰── GInitiallyUnowned
╰── CtkWidget
╰── CtkContainer
╰── CtkBin
╰── CtkWindow
╰── CtkDialog
╰── CtkColorSelectionDialog
The CtkColorSelectionDialog provides a standard dialog which allows the user to select a color much like the CtkFileChooserDialog provides a standard dialog for file selection.
Use ctk_color_selection_dialog_get_color_selection() to get the
CtkColorSelection widget contained within the dialog. Use this widget
and its ctk_color_selection_get_current_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.
The CtkColorSelectionDialog implementation of the CtkBuildable interface exposes the embedded CtkColorSelection as internal child with the name “color_selection”. It also exposes the buttons with the names “ok_button”, “cancel_button” and “help_button”.
CtkWidget *
ctk_color_selection_dialog_new (const gchar *title);
Creates a new CtkColorSelectionDialog.
CtkWidget *
ctk_color_selection_dialog_get_color_selection
(CtkColorSelectionDialog *colorsel);
Retrieves the CtkColorSelection widget embedded in the dialog.
Since: 2.14
“cancel-button” property“cancel-button” CtkWidget *
The cancel button of the dialog.
Owner: CtkColorSelectionDialog
Flags: Read
“color-selection” property“color-selection” CtkWidget *
The color selection embedded in the dialog.
Owner: CtkColorSelectionDialog
Flags: Read
“help-button” property“help-button” CtkWidget *
The help button of the dialog.
Owner: CtkColorSelectionDialog
Flags: Read
“ok-button” property“ok-button” CtkWidget *
The OK button of the dialog.
Owner: CtkColorSelectionDialog
Flags: Read