# Gtk::ColorSelectionDialog Class Reference
Dialogs

This dialog allows the user to select a color. More...

Inheritance diagram for Gtk::ColorSelectionDialog:
[legend]
Collaboration diagram for Gtk::ColorSelectionDialog:
[legend]

List of all members.

## Public Member Functions

virtual | ~ColorSelectionDialog ()
GtkColorSelectionDialog* | gobj ()
| Provides access to the underlying C GtkObject.
const GtkColorSelectionDialog* | gobj () const
| Provides access to the underlying C GtkObject.
| ColorSelectionDialog ()
| ColorSelectionDialog (const Glib::ustring& title)
ColorSelection* | get_color_selection ()
| Retrieves the Gtk::ColorSelection widget embedded in the dialog.
const ColorSelection* | get_color_selection () const
| Retrieves the Gtk::ColorSelection widget embedded in the dialog.
Glib::PropertyProxy_ReadOnly < ColorSelection* > | property_color_selection () const
| The color selection embedded in the dialog.
Glib::PropertyProxy_ReadOnly < Button* > | property_ok_button () const
| The OK button of the dialog.
Glib::PropertyProxy_ReadOnly < Button* > | property_cancel_button () const
| The cancel button of the dialog.
Glib::PropertyProxy_ReadOnly < Button* > | property_help_button () const
| The help button of the dialog.

## Related Functions

(Note that these are not member functions.)
Gtk::ColorSelectionDialog* | wrap (GtkColorSelectionDialog* object, bool take_copy=false)
| A Glib::wrap() method for this object.

## Detailed Description

This dialog allows the user to select a color.

A ColorSelectionDialog looks like this:

## Constructor & Destructor Documentation

virtual Gtk::ColorSelectionDialog::~ColorSelectionDialog | ( |  | ) | `[virtual]`

Gtk::ColorSelectionDialog::ColorSelectionDialog | ( |  | ) |

Gtk::ColorSelectionDialog::ColorSelectionDialog | ( | const Glib::ustring & | title | ) | `[explicit]`

## Member Function Documentation

ColorSelection* Gtk::ColorSelectionDialog::get_color_selection | ( |  | ) |

Retrieves the Gtk::ColorSelection widget embedded in the dialog.

Since gtkmm 2.14:

Returns:
  The embedded Gtk::ColorSelection.

const ColorSelection* Gtk::ColorSelectionDialog::get_color_selection | ( |  | ) | const

Retrieves the Gtk::ColorSelection widget embedded in the dialog.

Since gtkmm 2.14:

Returns:
  The embedded Gtk::ColorSelection.

const GtkColorSelectionDialog* Gtk::ColorSelectionDialog::gobj | ( |  | ) | const`[inline]`

Provides access to the underlying C GtkObject.

Reimplemented from Gtk::Dialog.

GtkColorSelectionDialog* Gtk::ColorSelectionDialog::gobj | ( |  | ) | `[inline]`

Provides access to the underlying C GtkObject.

Reimplemented from Gtk::Dialog.

Glib::PropertyProxy_ReadOnly<Button*> Gtk::ColorSelectionDialog::property_cancel_button | ( |  | ) | const

The cancel button of the dialog.

You rarely need to use properties because there are get_ and set_ methods for almost all of them.

Returns:
  A PropertyProxy that allows you to get or set the property of the value, or receive notification when the value of the property changes.

Glib::PropertyProxy_ReadOnly<ColorSelection*> Gtk::ColorSelectionDialog::property_color_selection | ( |  | ) | const

The color selection embedded in the dialog.

You rarely need to use properties because there are get_ and set_ methods for almost all of them.

Returns:
  A PropertyProxy that allows you to get or set the property of the value, or receive notification when the value of the property changes.

Glib::PropertyProxy_ReadOnly<Button*> Gtk::ColorSelectionDialog::property_help_button | ( |  | ) | const

The help button of the dialog.

You rarely need to use properties because there are get_ and set_ methods for almost all of them.

Returns:
  A PropertyProxy that allows you to get or set the property of the value, or receive notification when the value of the property changes.

Glib::PropertyProxy_ReadOnly<Button*> Gtk::ColorSelectionDialog::property_ok_button | ( |  | ) | const

The OK button of the dialog.

You rarely need to use properties because there are get_ and set_ methods for almost all of them.

Returns:
  A PropertyProxy that allows you to get or set the property of the value, or receive notification when the value of the property changes.

## Friends And Related Function Documentation

Gtk::ColorSelectionDialog* wrap | ( | GtkColorSelectionDialog * | object,
|  | bool | take_copy = `false`
| ) |  | `[related]`

A Glib::wrap() method for this object.

Parameters:

  object | The C instance.
  take_copy | False if the result should take ownership of the C instance. True if it should take a new copy or ref.

Returns:
  A C++ instance that wraps this C instance.

The documentation for this class was generated from the following file:

- gtkmm/colorselection.h