1Gnome2::FontPicker(3) User Contributed Perl DocumentationGnome2::FontPicker(3)
2
3
4

NAME

6       Gnome2::FontPicker - wrapper for GnomeFontPicker
7

HIERARCHY

9         Glib::Object
10         +----Glib::InitiallyUnowned
11              +----Gtk2::Object
12                   +----Gtk2::Widget
13                        +----Gtk2::Container
14                             +----Gtk2::Bin
15                                  +----Gtk2::Button
16                                       +----Gnome2::FontPicker
17

INTERFACES

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

METHODS

24   widget = Gnome2::FontPicker->new
25   $gfp->fi_set_show_size ($show_size)
26       ·   $show_size (boolean)
27
28   $gfp->fi_set_use_font_in_label ($use_font_in_label, $size)
29       ·   $use_font_in_label (boolean)
30
31       ·   $size (integer)
32
33   string = $gfp->get_font_name
34   boolean = $gfp->set_font_name ($fontname)
35       ·   $fontname (string)
36
37   fontpickermode = $gfp->get_mode
38   $gfp->set_mode ($mode)
39       ·   $mode (Gnome2::FontPickerMode)
40
41   string = $gfp->get_preview_text
42   $gfp->set_preview_text ($text)
43       ·   $text (string)
44
45   string = $gfp->get_title
46   $gfp->set_title ($title)
47       ·   $title (string)
48
49   widget = $gfp->uw_get_widget
50   $gfp->uw_set_widget ($widget)
51       ·   $widget (Gtk2::Widget)
52

PROPERTIES

54       'font' (gpointer : default 0 : readable)
55           The selected GtkFont
56
57       'font-name' (string : default "sans 12" : readable / writable)
58           Name of the selected font
59
60       'label-font-size' (integer : default 14 : readable / writable)
61           Font size for label in font info mode
62
63       'mode' (Gnome2::FontPickerMode : default "pixmap" : readable /
64       writable)
65           The mode of operation of the font picker
66
67       'preview-text' (string : default
68       "AaBbCcDdEeFfGgHhIiJjKkLlMmNnOoPpQqRrSsTtUuVvWwXxYyZz" : readable /
69       writable)
70           Preview text shown in the dialog
71
72       'show-size' (boolean : default true : readable / writable)
73           Show size in font info mode
74
75       'title' (string : default "Pick a Font" : readable / writable)
76           The title of the selection dialog box
77
78       'use-font-in-label' (boolean : default false : readable / writable)
79           Use font in the label in font info mode
80

SIGNALS

82       font-set (Gnome2::FontPicker, string)
83

ENUMS AND FLAGS

85   enum Gnome2::FontPickerMode
86       ·   'pixmap' / 'GNOME_FONT_PICKER_MODE_PIXMAP'
87
88       ·   'font-info' / 'GNOME_FONT_PICKER_MODE_FONT_INFO'
89
90       ·   'user-widget' / 'GNOME_FONT_PICKER_MODE_USER_WIDGET'
91
92       ·   'unknown' / 'GNOME_FONT_PICKER_MODE_UNKNOWN'
93

SEE ALSO

95       Gnome2, Glib::Object, Glib::InitiallyUnowned, Gtk2::Object,
96       Gtk2::Widget, Gtk2::Container, Gtk2::Bin, Gtk2::Button
97
99       Copyright (C) 2003-2004 by the gtk2-perl team.
100
101       This software is licensed under the LGPL.  See Gnome2 for a full
102       notice.
103
104
105
106perl v5.30.0                      2019-07-26             Gnome2::FontPicker(3)
Impressum