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

METHODS

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

PROPERTIES

55       'alpha' (Glib::UInt : readable / writable / private)
56           The selected opacity value (0 fully transparent, 65535 fully
57           opaque)
58
59       'color' (Gtk2::Gdk::Color : readable / writable / private)
60           The selected color
61
62       'title' (string : readable / writable / private)
63           The title of the color selection dialog
64
65       'use-alpha' (boolean : readable / writable / private)
66           Whether or not to give the color an alpha value
67

SIGNALS

69       color-set (Gtk2::ColorButton)
70

SEE ALSO

72       Gtk2, Glib::Object, Glib::InitiallyUnowned, Gtk2::Object, Gtk2::Widget,
73       Gtk2::Container, Gtk2::Bin, Gtk2::Button
74
76       Copyright (C) 2003-2007 by the gtk2-perl team.
77
78       This software is licensed under the LGPL.  See Gtk2 for a full notice.
79
80
81
82perl v5.8.8                       2007-03-18              Gtk2::ColorButton(3)
Impressum