DOKK / manpages / debian 10 / libgtk2-perl-doc / Gtk2::ColorButton.3pm.en
Gtk2::ColorButton(3pm) User Contributed Perl Documentation Gtk2::ColorButton(3pm)

Gtk2::ColorButton - wrapper for GtkColorButton

  Glib::Object
  +----Glib::InitiallyUnowned
       +----Gtk2::Object
            +----Gtk2::Widget
                 +----Gtk2::Container
                      +----Gtk2::Bin
                           +----Gtk2::Button
                                +----Gtk2::ColorButton

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

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

$color (Gtk2::Gdk::Color)

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

$color (Gtk2::Gdk::Color)

$color_button->set_alpha ($alpha)

$alpha (unsigned)

$color_button->set_color ($color)

$color (Gtk2::Gdk::Color)

$color_button->set_title ($title)

$title (string)

$color_button->set_use_alpha ($use_alpha)

$use_alpha (boolean)

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

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

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

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

2017-06-24 perl v5.24.1