Gnome2::ColorPicker

Section: User Contributed Perl Documentation (3pm)
Updated: 2009-03-15
Index Return to Main Contents
 

NAME

Gnome2::ColorPicker - wrapper for GnomeColorPicker  

HIERARCHY

  Glib::Object
  +----Glib::InitiallyUnowned
       +----Gtk2::Object
            +----Gtk2::Widget
                 +----Gtk2::Container
                      +----Gtk2::Bin
                           +----Gtk2::Button
                                +----Gnome2::ColorPicker

 

INTERFACES

  Glib::Object::_Unregistered::AtkImplementorIface
  Gtk2::Buildable

 

METHODS

 

widget = Gnome2::ColorPicker->new

 

(r, g, b, a) = $cp->get_d

 

$cp->set_d ($r, $g, $b, $a)

$r (double)
$g (double)
$b (double)
$a (double)
 

boolean = $cp->get_dither

 

$cp->set_dither ($dither)

$dither (boolean)
 

(r, g, b, a) = $cp->get_i16

 

$cp->set_i16 ($r, $g, $b, $a)

$r (unsigned)
$g (unsigned)
$b (unsigned)
$a (unsigned)
 

(r, g, b, a) = $cp->get_i8

 

$cp->set_i8 ($r, $g, $b, $a)

$r (unsigned)
$g (unsigned)
$b (unsigned)
$a (unsigned)
 

string = $cp->get_title

 

$cp->set_title ($title)

$title (string)
 

boolean = $cp->get_use_alpha

 

$cp->set_use_alpha ($use_alpha)

$use_alpha (boolean)
 

PROPERTIES

'alpha' (Glib::UInt : readable / writable)
The alpha value of the chosen color
'blue' (Glib::UInt : readable / writable)
The amount of blue in the chosen color
'dither' (boolean : readable / writable)
Whether or not to dither to color
'green' (Glib::UInt : readable / writable)
The amount of green in the chosen color
'red' (Glib::UInt : readable / writable)
The amount of red in the chosen color
'title' (string : readable / writable)
The title to give to the color picker
'use-alpha' (boolean : readable / writable)
Whether or not to give the color an alpha value
 

SIGNALS

color-set (Gnome2::ColorPicker, Glib::UInt, Glib::UInt, Glib::UInt, Glib::UInt)
 

SEE ALSO

Gnome2, Glib::Object, Glib::InitiallyUnowned, Gtk2::Object, Gtk2::Widget, Gtk2::Container, Gtk2::Bin, Gtk2::Button  

COPYRIGHT

Copyright (C) 2003-2004 by the gtk2-perl team.

This software is licensed under the LGPL. See Gnome2 for a full notice.


 

Index

NAME
HIERARCHY
INTERFACES
METHODS
widget = Gnome2::ColorPicker->new
(r, g, b, a) = $cp->get_d
$cp->set_d ($r, $g, $b, $a)
boolean = $cp->get_dither
$cp->set_dither ($dither)
(r, g, b, a) = $cp->get_i16
$cp->set_i16 ($r, $g, $b, $a)
(r, g, b, a) = $cp->get_i8
$cp->set_i8 ($r, $g, $b, $a)
string = $cp->get_title
$cp->set_title ($title)
boolean = $cp->get_use_alpha
$cp->set_use_alpha ($use_alpha)
PROPERTIES
SIGNALS
SEE ALSO
COPYRIGHT

This document was created by man2html, using the manual pages.
Time: 19:49:22 GMT, April 27, 2011