Home   |   Contact Us   |   Site Map

 

 

 

  ColorSelectButton.pm Perldoc

 


NAME

Gtk::ColorSelectButton - Choose a color


SYNOPSIS

use Gtk; use Gtk::ColorSelectButton;

... init Gtk; init Gtk::ColorSelectButton; ...

$color_button = Gtk::ColorSelectButton->new(); $hbox->pack_start($color_button, 1,1,0); $color_button->show();

... print $color_button->color; #shortcut for ->get('color') ... $color_button->set( color => "10 40 250" ); # R G B


DESCRIPTION

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 gtk variable color provides a way to access the chosen color.


AUTHOR

Dov Grobgeld <dov@imagic.weizmann.ac.il>, with modifications by Kenneth Albanowski <kjahds@kjahds.com>.


COPYRIGHT

Copyright (c) 1998 Dov Grobgeld. All rights reserved. This program may be redistributed and copied under the same licence as Perl itself.



 

Browse our Perldoc FAQs:

Perldoc Home

Perldoc Site Map


Previous Topics

charnames.pm Perldoc

Checker.pm Perldoc

CheckTree.pm Perldoc

Clan.pm Perldoc

CListModel.pm Perldoc

Cmd.pm Perldoc

Collate.pm Perldoc

Color.pm Perldoc


Next Topics

Command.pm Perldoc

Common.pm Perldoc

Compare.pm Perldoc

Complete.pm Perldoc

Complex.pm Perldoc

Composer.pm Perldoc

Concise.pm Perldoc

Config.pm Perldoc


Website Spotlight

Domain Hosting with the Leader in Innovative and Comprehensive Web Hosting Solutions, Globalnet GNP.

Reliable Domain Hosting

 

Click here to increase your web traffic insantly!


 Copyright © 1999-2005 Globalnet Promotions, LLC.   |   TheServerRoom.org Home    |   Sitemap    |   RSS News Feeds