1Gtk2::ColorButton(3)  User Contributed Perl Documentation Gtk2::ColorButton(3)
2
3
4

NAME

6       Gtk2::ColorButton
7

HIERARCHY

9         Glib::Object
10         +----Glib::InitiallyUnowned
11              +----Gtk2::Object
12                   +----Gtk2::Widget
13                        +----Gtk2::Container
14                             +----Gtk2::Bin
15                                  +----Gtk2::Button
16                                       +----Gtk2::ColorButton
17

INTERFACES

19         Glib::Object::_Unregistered::AtkImplementorIface
20         Gtk2::Buildable
21         Glib::Object::_Unregistered::GtkActivatable
22

METHODS

24   widget = Gtk2::ColorButton->new ($color=undef)
25           ·   $color (Gtk2::Gdk::Color)
26
27   widget = Gtk2::ColorButton->new_with_color ($color=undef)
28           ·   $color (Gtk2::Gdk::Color)
29
30   unsigned = $color_button->get_alpha
31   $color_button->set_alpha ($alpha)
32           ·   $alpha (unsigned)
33
34   color = $color_button->get_color
35   $color_button->set_color ($color)
36           ·   $color (Gtk2::Gdk::Color)
37
38   string = $color_button->get_title
39   $color_button->set_title ($title)
40           ·   $title (string)
41
42   boolean = $color_button->get_use_alpha
43   $color_button->set_use_alpha ($use_alpha)
44           ·   $use_alpha (boolean)
45

PROPERTIES

47       'alpha' (Glib::UInt : readable / writable / private)
48           The selected opacity value (0 fully transparent, 65535 fully
49           opaque)
50
51       'color' (Gtk2::Gdk::Color : readable / writable / private)
52           The selected color
53
54       'title' (string : readable / writable / private)
55           The title of the color selection dialog
56
57       'use-alpha' (boolean : readable / writable / private)
58           Whether or not to give the color an alpha value
59

SIGNALS

61       color-set (Gtk2::ColorButton)
62

SEE ALSO

64       Gtk2, Glib::Object, Glib::InitiallyUnowned, Gtk2::Object, Gtk2::Widget,
65       Gtk2::Container, Gtk2::Bin, Gtk2::Button
66
68       Copyright (C) 2003-2008 by the gtk2-perl team.
69
70       This software is licensed under the LGPL.  See Gtk2 for a full notice.
71
72
73
74perl v5.12.0                      2010-05-02              Gtk2::ColorButton(3)
Impressum