man Gtk2::ColorButton () - Gtk2::ColorButton

NAME

Gtk2::ColorButton

HIERARCHY

  Glib::Object
  +----Glib::Object::_Unregistered::GInitiallyUnowned
       +----Gtk2::Object
            +----Gtk2::Widget
                 +----Gtk2::Container
                      +----Gtk2::Bin
                           +----Gtk2::Button
                                +----Gtk2::ColorButton

INTERFACES

  Gtk2::Atk::ImplementorIface

METHODS

widget = Gtk2::ColorButton->new ($color=undef)

widget = Gtk2::ColorButton->new_with_color ($color=undef)

$color_button->set_alpha ($alpha)

$color_button->set_color ($color)

$color_button->set_title ($title)

$color_button->set_use_alpha ($use_alpha)

PROPERTIES

'alpha' (Glib::UInt : readable / writable / private)
The selected opacity value (0 fully transparent, 65535 fully opaque)
'color' (Gtk2::Gdk::Color : readable / writable / private)
The selected color
'title' (string : readable / writable / private)
The title of the color selection dialog
'use-alpha' (boolean : readable / writable / private)
Whether or not to give the color an alpha value

SIGNALS

color-set (Gtk2::ColorButton)

SEE ALSO

Gtk2, Glib::Object, Glib::Object::_Unregistered::GInitiallyUnowned, Gtk2::Object, Gtk2::Widget, Gtk2::Container, Gtk2::Bin, Gtk2::Button

COPYRIGHT

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

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