1Gtk2::FontSelection(3)User Contributed Perl DocumentationGtk2::FontSelection(3)
2
3
4

NAME

6       Gtk2::FontSelection - wrapper for GtkFontSelection
7

HIERARCHY

9         Glib::Object
10         +----Glib::InitiallyUnowned
11              +----Gtk2::Object
12                   +----Gtk2::Widget
13                        +----Gtk2::Container
14                             +----Gtk2::Box
15                                  +----Gtk2::VBox
16                                       +----Gtk2::FontSelection
17

INTERFACES

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

METHODS

24   widget = Gtk2::FontSelection->new
25   fontface = $fontsel->get_face
26       Since: gtk+ 2.14
27
28   widget = $fontsel->get_face_list
29       Since: gtk+ 2.14
30
31   fontfamily = $fontsel->get_family
32       Since: gtk+ 2.14
33
34   widget = $fontsel->get_family_list
35       Since: gtk+ 2.14
36
37   font = $fontsel->get_font
38   string = $fontsel->get_font_name
39   boolean = $fontsel->set_font_name ($fontname)
40       •   $fontname (string)
41
42   widget = $fontsel->get_preview_entry
43       Since: gtk+ 2.14
44
45   string = $fontsel->get_preview_text
46   $fontsel->set_preview_text ($text)
47       •   $text (string)
48
49   widget = $fontsel->get_size_entry
50       Since: gtk+ 2.14
51
52   integer = $fontsel->get_size
53       Since: gtk+ 2.14
54
55   widget = $fontsel->get_size_list
56       Since: gtk+ 2.14
57

PROPERTIES

59       'font' (Gtk2::Gdk::Font : default undef : readable / private / static-
60       nick / static-blurb)
61           The GdkFont that is currently selected
62
63       'font-name' (string : default "Sans 10" : readable / writable / private
64       / static-nick / static-blurb)
65           The string that represents this font
66
67       'preview-text' (string : default "abcdefghijk ABCDEFGHIJK" : readable /
68       writable / private / static-nick / static-blurb)
69           The text to display in order to demonstrate the selected font
70

SEE ALSO

72       Gtk2, Glib::Object, Glib::InitiallyUnowned, Gtk2::Object, Gtk2::Widget,
73       Gtk2::Container, Gtk2::Box, Gtk2::VBox
74
76       Copyright (C) 2003-2011 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.34.0                      2022-01-21            Gtk2::FontSelection(3)
Impressum