.\" -*- mode: troff; coding: utf-8 -*- .\" Automatically generated by Pod::Man 5.0102 (Pod::Simple 3.45) .\" .\" 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::FontButton 3" .TH Gtk2::FontButton 3 2024-09-01 "perl v5.40.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::FontButton \- wrapper for GtkFontButton .SH HIERARCHY .IX Header "HIERARCHY" .Vb 8 \& Glib::Object \& +\-\-\-\-Glib::InitiallyUnowned \& +\-\-\-\-Gtk2::Object \& +\-\-\-\-Gtk2::Widget \& +\-\-\-\-Gtk2::Container \& +\-\-\-\-Gtk2::Bin \& +\-\-\-\-Gtk2::Button \& +\-\-\-\-Gtk2::FontButton .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::FontButton\->\fBnew\fP ($fontname=undef)" .IX Subsection "widget = Gtk2::FontButton->new ($fontname=undef)" .IP \(bu 4 \&\f(CW$fontname\fR (string) .SS "widget = Gtk2::FontButton\->\fBnew_with_font\fP ($fontname=undef)" .IX Subsection "widget = Gtk2::FontButton->new_with_font ($fontname=undef)" .IP \(bu 4 \&\f(CW$fontname\fR (string) .ie n .SS "string = $font_button\->\fBget_font_name\fP" .el .SS "string = \f(CW$font_button\fP\->\fBget_font_name\fP" .IX Subsection "string = $font_button->get_font_name" .ie n .SS "boolean = $font_button\->\fBset_font_name\fP ($fontname)" .el .SS "boolean = \f(CW$font_button\fP\->\fBset_font_name\fP ($fontname)" .IX Subsection "boolean = $font_button->set_font_name ($fontname)" .IP \(bu 4 \&\f(CW$fontname\fR (string) .ie n .SS "boolean = $font_button\->\fBget_show_size\fP" .el .SS "boolean = \f(CW$font_button\fP\->\fBget_show_size\fP" .IX Subsection "boolean = $font_button->get_show_size" .ie n .SS "$font_button\->\fBset_show_size\fP ($show_size)" .el .SS "\f(CW$font_button\fP\->\fBset_show_size\fP ($show_size)" .IX Subsection "$font_button->set_show_size ($show_size)" .IP \(bu 4 \&\f(CW$show_size\fR (boolean) .ie n .SS "boolean = $font_button\->\fBget_show_style\fP" .el .SS "boolean = \f(CW$font_button\fP\->\fBget_show_style\fP" .IX Subsection "boolean = $font_button->get_show_style" .ie n .SS "$font_button\->\fBset_show_style\fP ($show_style)" .el .SS "\f(CW$font_button\fP\->\fBset_show_style\fP ($show_style)" .IX Subsection "$font_button->set_show_style ($show_style)" .IP \(bu 4 \&\f(CW$show_style\fR (boolean) .ie n .SS "string = $font_button\->\fBget_title\fP" .el .SS "string = \f(CW$font_button\fP\->\fBget_title\fP" .IX Subsection "string = $font_button->get_title" .ie n .SS "$font_button\->\fBset_title\fP ($title)" .el .SS "\f(CW$font_button\fP\->\fBset_title\fP ($title)" .IX Subsection "$font_button->set_title ($title)" .IP \(bu 4 \&\f(CW$title\fR (string) .ie n .SS "boolean = $font_button\->\fBget_use_font\fP" .el .SS "boolean = \f(CW$font_button\fP\->\fBget_use_font\fP" .IX Subsection "boolean = $font_button->get_use_font" .ie n .SS "$font_button\->\fBset_use_font\fP ($use_font)" .el .SS "\f(CW$font_button\fP\->\fBset_use_font\fP ($use_font)" .IX Subsection "$font_button->set_use_font ($use_font)" .IP \(bu 4 \&\f(CW$use_font\fR (boolean) .ie n .SS "boolean = $font_button\->\fBget_use_size\fP" .el .SS "boolean = \f(CW$font_button\fP\->\fBget_use_size\fP" .IX Subsection "boolean = $font_button->get_use_size" .ie n .SS "$font_button\->\fBset_use_size\fP ($use_size)" .el .SS "\f(CW$font_button\fP\->\fBset_use_size\fP ($use_size)" .IX Subsection "$font_button->set_use_size ($use_size)" .IP \(bu 4 \&\f(CW$use_size\fR (boolean) .SH PROPERTIES .IX Header "PROPERTIES" .IP "'font\-name' (string : default ""Sans 12"" : readable / writable / private / static-nick / static-blurb)" 4 .IX Item "'font-name' (string : default ""Sans 12"" : readable / writable / private / static-nick / static-blurb)" The name of the selected font .IP "'show\-size' (boolean : default true : readable / writable / private / static-nick / static-blurb)" 4 .IX Item "'show-size' (boolean : default true : readable / writable / private / static-nick / static-blurb)" Whether selected font size is shown in the label .IP "'show\-style' (boolean : default true : readable / writable / private / static-nick / static-blurb)" 4 .IX Item "'show-style' (boolean : default true : readable / writable / private / static-nick / static-blurb)" Whether the selected font style is shown in the label .IP "'title' (string : default ""Pick a Font"" : readable / writable / private / static-nick / static-blurb)" 4 .IX Item "'title' (string : default ""Pick a Font"" : readable / writable / private / static-nick / static-blurb)" The title of the font selection dialog .IP "'use\-font' (boolean : default false : readable / writable / private / static-nick / static-blurb)" 4 .IX Item "'use-font' (boolean : default false : readable / writable / private / static-nick / static-blurb)" Whether the label is drawn in the selected font .IP "'use\-size' (boolean : default false : readable / writable / private / static-nick / static-blurb)" 4 .IX Item "'use-size' (boolean : default false : readable / writable / private / static-nick / static-blurb)" Whether the label is drawn with the selected font size .SH SIGNALS .IX Header "SIGNALS" .IP "\fBfont-set\fR (Gtk2::FontButton)" 4 .IX Item "font-set (Gtk2::FontButton)" .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.