Package: gtk

Class gtk:color-selection-dialog

Superclasses

gtk:dialog, gtk:window, gtk:bin, gtk:container, gtk:widget, gtk:buildable, gobject:object, common-lisp:standard-object, common-lisp:t

Documented Subclasses

None

Direct Slots

cancel-button
The cancel-button property of type gtk:widget (Read)
The Cancel button of the dialog.
color-selection
The color-selection property of type gtk:widget (Read)
The color selection embedded in the dialog.
help-button
The help-button property of type gtk:widget (Read)
The Help button of the dialog.
ok-button
The ok-button property of type gtk:widget (Read)
The Ok button of the dialog.

Details

The gtk:color-selection-dialog widget provides a standard dialog which allows the user to select a color much like the gtk:file-chooser-dialog widget provides a standard dialog for file selection.

Use the gtk:color-selection-dialog-color-selection function to get the gtk:color-selection widget contained within the dialog. Use this widget and its gtk:color-selection-current-color function to gain access to the selected color. Connect a handler for the "color-changed" signal of the widget to be notified when the color changes.

GtkColorSelectionDialog as GtkBuildable

The gtk:color-selection-dialog implementation of the gtk:buildable interface exposes the embedded gtk:color-selection widget as internal child with the name color_selection. It also exposes the buttons with the names ok_button, cancel_button and help_button.

Warning

The gtk:color-selection-dialog widget is deprecated since GTK 3.4 and should not be used in newly written code. Use the gtk:color-chooser-dialog widget instead.
 

Returned by

Slot Access Functions

Inherited Slot Access Functions

gtk:dialog-use-header-bar
gtk:widget-app-paintable
gtk:widget-can-default
gtk:widget-can-focus
gtk:widget-composite-child
gtk:widget-double-buffered
gtk:widget-events
gtk:widget-expand
gtk:widget-focus-on-click
gtk:widget-halign
gtk:widget-has-default
gtk:widget-has-focus
gtk:widget-has-tooltip
gtk:widget-height-request
gtk:widget-hexpand
gtk:widget-hexpand-set
gtk:widget-is-focus
gtk:widget-margin
gtk:widget-margin-bottom
gtk:widget-margin-end
gtk:widget-margin-left
gtk:widget-margin-right
gtk:widget-margin-start
gtk:widget-margin-top
gtk:widget-name
gtk:widget-no-show-all
gtk:widget-opacity
gtk:widget-parent
gtk:widget-receives-default
gtk:widget-scale-factor
gtk:widget-sensitive
gtk:widget-style
gtk:widget-tooltip-markup
gtk:widget-tooltip-text
gtk:widget-valign
gtk:widget-vexpand
gtk:widget-vexpand-set
gtk:widget-visible
gtk:widget-width-request
gtk:widget-window
gtk:window-accept-focus
gtk:window-application
gtk:window-attached-to
gtk:window-decorated
gtk:window-default-height
gtk:window-default-width
gtk:window-deletable
gtk:window-destroy-with-parent
gtk:window-focus-on-map
gtk:window-focus-visible
gtk:window-gravity
gtk:window-has-resize-grip
gtk:window-has-toplevel-focus
gtk:window-hide-titlebar-when-maximized
gtk:window-icon
gtk:window-icon-name
gtk:window-is-active
gtk:window-mnemonics-visible
gtk:window-modal
gtk:window-opacity
gtk:window-resizable
gtk:window-resize-grip-visible
gtk:window-role
gtk:window-screen
gtk:window-skip-pager-hint
gtk:window-skip-taskbar-hint
gtk:window-startup-id
gtk:window-title
gtk:window-transient-for
gtk:window-type
gtk:window-type-hint
gtk:window-urgency-hint
gtk:window-window-position
gtk:container-border-width
gtk:container-child
gtk:container-resize-mode
g:object-has-reference
g:object-pointer

See also

2023-6-15