Erstellen  Editieren  FrontPage  Index  Suchen  Veränderungen  Verlauf  RSS  Login

Gtk::ColorSelectionDialog

class Gtk::ColorSelectionDialog

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

<URL:http://developer.gnome.org/doc/API/2.0/gtk/colorsel.png>

Class Methods

Gtk::ColorSelectionDialog.new(title = nil)
Creates a new Gtk::ColorSelectionDialog.

Instance Methods

colorsel
Gets the Gtk::ColorSelection widget contained within the dialog. Use this widget and its Gtk::ColorSelection#current_color method to gain access to the selected color. Connect a handler for this widget's color_changed signal to be notified when the color changes.
ok_button
Gets the OK button widget contained within the dialog. Connect a handler for the clicked event.
cancel_button
Gets the cancel button widget contained within the dialog. Connect a handler for the clicked event.
help_button
Gets the help button widget contained within the dialog. Connect a handler for the clicked event.

ChangeLog

  • 2007-02-14 Apply 2.10 - Masao?

- Masao?

Zuletzt geändert:2008/04/06 03:58:05
Stichworte:
Referenzen:[Ruby/GTK] [Gdk::Display] [Gtk::ColorSelectionDialog] [Gtk::ColorSelection] [Gtk::ColorButton]