Gtk::ColorSelectButton - A clickable colour preview label
use Gtk::ColorSelectButton; $color_button = Gtk::ColorSelectButton->new(); $hbox->pack_start($color_button, 1,1,0); $color_button->show(); ... print join(" ",$color_button->color); ...
Gtk::ColorSelectButton shows a button with a uniform color. Pressing this buton pops up the color_selection dialog in which a new color may be chosen. When the color selection dialog is closed, the chosen color is reflected in the color of the button.
The member function color provides a way to access the chosen color.
color
Dov Grobgeld <dov@imagic.weizmann.ac.il>
Copyright (c) 1998 Dov Grobgeld. All rights reserved. This program may be redistributed and copied under the same licence as Perl itself.
To install Gimp, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Gimp
CPAN shell
perl -MCPAN -e shell install Gimp
For more information on module installation, please visit the detailed CPAN module installation guide.