Gtk2::ColorSelection Glib::Object +----Glib::InitiallyUnowned +----Gtk2::Object +----Gtk2::Widget +----Gtk2::Container +----Gtk2::Box +----Gtk2::VBox +----Gtk2::ColorSelection Glib::Object::_Unregistered::AtkImplementorIface Gtk2::Buildable Glib::Object::_Unregistered::GtkOrientable

widget = Gtk2::ColorSelection->new

unsigned = $colorsel->get_current_alpha

$colorsel->set_current_alpha ($alpha)

color = $colorsel->get_current_color

$colorsel->set_current_color ($color)

boolean = $colorsel->get_has_opacity_control

$colorsel->set_has_opacity_control ($has_opacity)

boolean = $colorsel->get_has_palette

$colorsel->set_has_palette ($has_palette)

boolean = $colorsel->is_adjusting

list = Gtk2::ColorSelection->palette_from_string ($string)
Returns a list of Gtk2::Gdk::color's.

(string) = Gtk::ColorSelection->palette_to_string (...)
Encodes a palette as a string, useful for persistent storage.

unsigned = $colorsel->get_previous_alpha

$colorsel->set_previous_alpha ($alpha)

color = $colorsel->get_previous_color

$colorsel->set_previous_color ($color)
The current opacity value (0 fully transparent, 65535 fully opaque) The current color Whether the color selector should allow setting opacity Whether a palette should be used Gtk2, Glib::Object, Glib::InitiallyUnowned, Gtk2::Object, Gtk2::Widget, Gtk2::Container, Gtk2::Box, Gtk2::VBox Copyright (C) 2003-2008 by the gtk2-perl team. This software is licensed under the LGPL. See Gtk2 for a full notice.