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)
60           The GdkFont that is currently selected
61
62       'font-name' (string : default "Sans 10" : readable / writable /
63       private)
64           The string that represents this font
65
66       'preview-text' (string : default "abcdefghijk ABCDEFGHIJK" : readable /
67       writable / private)
68           The text to display in order to demonstrate the selected font
69

SEE ALSO

71       Gtk2, Glib::Object, Glib::InitiallyUnowned, Gtk2::Object, Gtk2::Widget,
72       Gtk2::Container, Gtk2::Box, Gtk2::VBox
73
75       Copyright (C) 2003-2011 by the gtk2-perl team.
76
77       This software is licensed under the LGPL.  See Gtk2 for a full notice.
78
79
80
81perl v5.28.1                      2019-02-02            Gtk2::FontSelection(3)
Impressum