.\" -*- mode: troff; coding: utf-8 -*- .\" Automatically generated by Pod::Man 5.01 (Pod::Simple 3.43) .\" .\" Standard preamble: .\" ======================================================================== .de Sp \" Vertical space (when we can't use .PP) .if t .sp .5v .if n .sp .. .de Vb \" Begin verbatim text .ft CW .nf .ne \\$1 .. .de Ve \" End verbatim text .ft R .fi .. .\" \*(C` and \*(C' are quotes in nroff, nothing in troff, for use with C<>. .ie n \{\ . ds C` "" . ds C' "" 'br\} .el\{\ . ds C` . ds C' 'br\} .\" .\" Escape single quotes in literal strings from groff's Unicode transform. .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" .\" If the F register is >0, we'll generate index entries on stderr for .\" titles (.TH), headers (.SH), subsections (.SS), items (.Ip), and index .\" entries marked with X<> in POD. Of course, you'll have to process the .\" output yourself in some meaningful fashion. .\" .\" Avoid warning from groff about undefined register 'F'. .de IX .. .nr rF 0 .if \n(.g .if rF .nr rF 1 .if (\n(rF:(\n(.g==0)) \{\ . if \nF \{\ . de IX . tm Index:\\$1\t\\n%\t"\\$2" .. . if !\nF==2 \{\ . nr % 0 . nr F 2 . \} . \} .\} .rr rF .\" ======================================================================== .\" .IX Title "Gtk2::ColorButton 3" .TH Gtk2::ColorButton 3 2023-07-25 "perl v5.38.0" "User Contributed Perl Documentation" .\" For nroff, turn off justification. Always turn off hyphenation; it makes .\" way too many mistakes in technical documents. .if n .ad l .nh .SH NAME Gtk2::ColorButton \- wrapper for GtkColorButton .SH HIERARCHY .IX Header "HIERARCHY" .Vb 8 \& Glib::Object \& +\-\-\-\-Glib::InitiallyUnowned \& +\-\-\-\-Gtk2::Object \& +\-\-\-\-Gtk2::Widget \& +\-\-\-\-Gtk2::Container \& +\-\-\-\-Gtk2::Bin \& +\-\-\-\-Gtk2::Button \& +\-\-\-\-Gtk2::ColorButton .Ve .SH INTERFACES .IX Header "INTERFACES" .Vb 3 \& Glib::Object::_Unregistered::AtkImplementorIface \& Gtk2::Buildable \& Gtk2::Activatable .Ve .SH METHODS .IX Header "METHODS" .SS "widget = Gtk2::ColorButton\->\fBnew\fP ($color=undef)" .IX Subsection "widget = Gtk2::ColorButton->new ($color=undef)" .IP \(bu 4 \&\f(CW$color\fR (Gtk2::Gdk::Color) .SS "widget = Gtk2::ColorButton\->\fBnew_with_color\fP ($color=undef)" .IX Subsection "widget = Gtk2::ColorButton->new_with_color ($color=undef)" .IP \(bu 4 \&\f(CW$color\fR (Gtk2::Gdk::Color) .ie n .SS "unsigned = $color_button\->\fBget_alpha\fP" .el .SS "unsigned = \f(CW$color_button\fP\->\fBget_alpha\fP" .IX Subsection "unsigned = $color_button->get_alpha" .ie n .SS "$color_button\->\fBset_alpha\fP ($alpha)" .el .SS "\f(CW$color_button\fP\->\fBset_alpha\fP ($alpha)" .IX Subsection "$color_button->set_alpha ($alpha)" .IP \(bu 4 \&\f(CW$alpha\fR (unsigned) .ie n .SS "color = $color_button\->\fBget_color\fP" .el .SS "color = \f(CW$color_button\fP\->\fBget_color\fP" .IX Subsection "color = $color_button->get_color" .ie n .SS "$color_button\->\fBset_color\fP ($color)" .el .SS "\f(CW$color_button\fP\->\fBset_color\fP ($color)" .IX Subsection "$color_button->set_color ($color)" .IP \(bu 4 \&\f(CW$color\fR (Gtk2::Gdk::Color) .ie n .SS "string = $color_button\->\fBget_title\fP" .el .SS "string = \f(CW$color_button\fP\->\fBget_title\fP" .IX Subsection "string = $color_button->get_title" .ie n .SS "$color_button\->\fBset_title\fP ($title)" .el .SS "\f(CW$color_button\fP\->\fBset_title\fP ($title)" .IX Subsection "$color_button->set_title ($title)" .IP \(bu 4 \&\f(CW$title\fR (string) .ie n .SS "boolean = $color_button\->\fBget_use_alpha\fP" .el .SS "boolean = \f(CW$color_button\fP\->\fBget_use_alpha\fP" .IX Subsection "boolean = $color_button->get_use_alpha" .ie n .SS "$color_button\->\fBset_use_alpha\fP ($use_alpha)" .el .SS "\f(CW$color_button\fP\->\fBset_use_alpha\fP ($use_alpha)" .IX Subsection "$color_button->set_use_alpha ($use_alpha)" .IP \(bu 4 \&\f(CW$use_alpha\fR (boolean) .SH PROPERTIES .IX Header "PROPERTIES" .IP "'alpha' (Glib::UInt : default 65535 : readable / writable / private / static-nick / static-blurb)" 4 .IX Item "'alpha' (Glib::UInt : default 65535 : readable / writable / private / static-nick / static-blurb)" The selected opacity value (0 fully transparent, 65535 fully opaque) .IP "'color' (Gtk2::Gdk::Color : default undef : readable / writable / private / static-nick / static-blurb)" 4 .IX Item "'color' (Gtk2::Gdk::Color : default undef : readable / writable / private / static-nick / static-blurb)" The selected color .IP "'title' (string : default ""Pick a Color"" : readable / writable / private / static-nick / static-blurb)" 4 .IX Item "'title' (string : default ""Pick a Color"" : readable / writable / private / static-nick / static-blurb)" The title of the color selection dialog .IP "'use\-alpha' (boolean : default false : readable / writable / private / static-nick / static-blurb)" 4 .IX Item "'use-alpha' (boolean : default false : readable / writable / private / static-nick / static-blurb)" Whether or not to give the color an alpha value .SH SIGNALS .IX Header "SIGNALS" .IP "\fBcolor-set\fR (Gtk2::ColorButton)" 4 .IX Item "color-set (Gtk2::ColorButton)" .SH "SEE ALSO" .IX Header "SEE ALSO" Gtk2, Glib::Object, Glib::InitiallyUnowned, Gtk2::Object, Gtk2::Widget, Gtk2::Container, Gtk2::Bin, Gtk2::Button .SH COPYRIGHT .IX Header "COPYRIGHT" Copyright (C) 2003\-2011 by the gtk2\-perl team. .PP This software is licensed under the LGPL. See Gtk2 for a full notice.