1Gtk2::FontButton(3) User Contributed Perl Documentation Gtk2::FontButton(3)
2
3
4
6 Gtk2::FontButton - wrapper for GtkFontButton
7
9 Glib::Object
10 +----Glib::InitiallyUnowned
11 +----Gtk2::Object
12 +----Gtk2::Widget
13 +----Gtk2::Container
14 +----Gtk2::Bin
15 +----Gtk2::Button
16 +----Gtk2::FontButton
17
19 Glib::Object::_Unregistered::AtkImplementorIface
20 Gtk2::Buildable
21 Gtk2::Activatable
22
24 widget = Gtk2::FontButton->new ($fontname=undef)
25 • $fontname (string)
26
27 widget = Gtk2::FontButton->new_with_font ($fontname=undef)
28 • $fontname (string)
29
30 string = $font_button->get_font_name
31 boolean = $font_button->set_font_name ($fontname)
32 • $fontname (string)
33
34 boolean = $font_button->get_show_size
35 $font_button->set_show_size ($show_size)
36 • $show_size (boolean)
37
38 boolean = $font_button->get_show_style
39 $font_button->set_show_style ($show_style)
40 • $show_style (boolean)
41
42 string = $font_button->get_title
43 $font_button->set_title ($title)
44 • $title (string)
45
46 boolean = $font_button->get_use_font
47 $font_button->set_use_font ($use_font)
48 • $use_font (boolean)
49
50 boolean = $font_button->get_use_size
51 $font_button->set_use_size ($use_size)
52 • $use_size (boolean)
53
55 'font-name' (string : default "Sans 12" : readable / writable / private
56 / static-nick / static-blurb)
57 The name of the selected font
58
59 'show-size' (boolean : default true : readable / writable / private /
60 static-nick / static-blurb)
61 Whether selected font size is shown in the label
62
63 'show-style' (boolean : default true : readable / writable / private /
64 static-nick / static-blurb)
65 Whether the selected font style is shown in the label
66
67 'title' (string : default "Pick a Font" : readable / writable / private
68 / static-nick / static-blurb)
69 The title of the font selection dialog
70
71 'use-font' (boolean : default false : readable / writable / private /
72 static-nick / static-blurb)
73 Whether the label is drawn in the selected font
74
75 'use-size' (boolean : default false : readable / writable / private /
76 static-nick / static-blurb)
77 Whether the label is drawn with the selected font size
78
80 font-set (Gtk2::FontButton)
81
83 Gtk2, Glib::Object, Glib::InitiallyUnowned, Gtk2::Object, Gtk2::Widget,
84 Gtk2::Container, Gtk2::Bin, Gtk2::Button
85
87 Copyright (C) 2003-2011 by the gtk2-perl team.
88
89 This software is licensed under the LGPL. See Gtk2 for a full notice.
90
91
92
93perl v5.32.1 2021-01-27 Gtk2::FontButton(3)