Xfce Foundation Classes
Main Page  | IndexNamespace List  |  Alphabetical List  |  Class List  |  File List


Public Member Functions
Xfc::Gtk::ColorSelectionDialog Class Reference

A GtkColorSelectionDialog C++ wrapper class. More...

#include <xfc/gtk/colorselection.hh>

Inheritance diagram for Xfc::Gtk::ColorSelectionDialog:
Xfc::Gtk::Dialog Xfc::Gtk::Window Xfc::Gtk::Bin Xfc::Gtk::Container Xfc::Gtk::Widget Xfc::Gtk::Object Xfc::Atk::Implementor Xfc::G::Object Xfc::G::TypeInterface Xfc::G::TypeInstance Xfc::G::TypeInstance Xfc::Trackable Xfc::Trackable

List of all members.

Public Member Functions

Constructors


Detailed Description

A GtkColorSelectionDialog C++ wrapper class.

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


Constructor & Destructor Documentation

Xfc::Gtk::ColorSelectionDialog::ColorSelectionDialog ( GtkColorSelectionDialog *  color_selection_dialog,
bool  owns_reference = false 
) [explicit, protected]

Construct a new ColorSelectionDialog from an existing GtkColorSelectionDialog.

Parameters:
color_selection_dialogA pointer to a GtkColorSelectionDialog.
owns_referenceSet false if the initial reference count is floating, set true if it's not.

The color_selection_dialog can be a newly created GtkColorSelectionDialog or an existing GtkColorSelectionDialog. (see G::Object::Object).

Xfc::Gtk::ColorSelectionDialog::ColorSelectionDialog ( const String title) [explicit]

Construct a new ColorSelectionDialog with the specified title.

Parameters:
titleA String containing the title text for the dialog.

Member Function Documentation

Returns the ColorSelection widget contained within the dialog.

Use this widget and its get_current_color() method to gain access to the selected color. Connect a slot to this widget's color_changed_signal, to be notify when the color changes.


The documentation for this class was generated from the following file:
Xfce Foundation Classes
Copyright © 2004-2005 The XFC Development Team XFC