gtkmm 2.24.4
Public Member Functions | Related Functions

Gtk::ColorSelectionDialog Class Reference

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

Inheritance diagram for Gtk::ColorSelectionDialog:
Inheritance graph
[legend]
Collaboration diagram for Gtk::ColorSelectionDialog:
Collaboration graph
[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)
ColorSelectionget_color_selection ()
 Retrieves the Gtk::ColorSelection widget embedded in the dialog.
const ColorSelectionget_color_selection () const
 Retrieves the Gtk::ColorSelection widget embedded in the dialog.
ColorSelectionget_colorsel ()
const ColorSelectionget_colorsel () const
Buttonget_ok_button ()
const Buttonget_ok_button () const
Buttonget_cancel_button ()
const Buttonget_cancel_button () const
Buttonget_help_button ()
const Buttonget_help_button () const
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::ColorSelectionDialogwrap (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:

colorselectiondialog1.png

Constructor & Destructor Documentation

virtual Gtk::ColorSelectionDialog::~ColorSelectionDialog ( ) [virtual]
Gtk::ColorSelectionDialog::ColorSelectionDialog ( )
Gtk::ColorSelectionDialog::ColorSelectionDialog ( const Glib::ustring title) [explicit]

Member Function Documentation

Button* Gtk::ColorSelectionDialog::get_cancel_button ( )
const Button* Gtk::ColorSelectionDialog::get_cancel_button ( ) const
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.
ColorSelection* Gtk::ColorSelectionDialog::get_color_selection ( )

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

Since gtkmm 2.14:
Returns:
The embedded Gtk::ColorSelection.
ColorSelection* Gtk::ColorSelectionDialog::get_colorsel ( )
const ColorSelection* Gtk::ColorSelectionDialog::get_colorsel ( ) const
Button* Gtk::ColorSelectionDialog::get_help_button ( )
const Button* Gtk::ColorSelectionDialog::get_help_button ( ) const
const Button* Gtk::ColorSelectionDialog::get_ok_button ( ) const
Button* Gtk::ColorSelectionDialog::get_ok_button ( )
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:
objectThe C instance.
take_copyFalse 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: