Create  Edit  FrontPage  Index  Search  Changes  History  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://library.gnome.org/devel/gtk/stable/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.
ref_accessible
See Atk::Implementor#ref_accessible.
add_child
See Gtk::Buildable#add_child.
construct_child
See Gtk::Buildable#construct_child.
get_internal_child
See Gtk::Buildable#get_internal_child.
name
See Gtk::Buildable#name.
name=
See Gtk::Buildable#name=.
set_buildable_property
See Gtk::Buildable#set_buildable_property.
set_name
See Gtk::Buildable#set_name.
builder_name
See Gtk::Buildable#builder_name.
builder_name=
See Gtk::Buildable#builder_name=.
color_selection
Gets the color selection embedded in the dialog.
  • Returns: The color selection embedded in the dialog
set_builder_name
See Gtk::Buildable#set_builder_name.

Properties

cancel-button: Gtk::Widget (Read)
The cancel button of the dialog.
color-selection: Gtk::Widget (Read)
The color selection embedded in the dialog.
help-button: Gtk::Widget (Read)
The help button of the dialog.
ok-button: Gtk::Widget (Read)
The OK button of the dialog.

ChangeLog

  • 2007-02-14 Apply 2.10 - Masao

- Masao