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

NAME

6       Gnome2::FontPicker
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         Glib::Object::_Unregistered::GtkActivatable
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 : readable)
55           The selected GtkFont
56
57       'font-name' (string : readable / writable)
58           Name of the selected font
59
60       'label-font-size' (integer : readable / writable)
61           Font size for label in font info mode
62
63       'mode' (Gnome2::FontPickerMode : readable / writable)
64           The mode of operation of the font picker
65
66       'preview-text' (string : readable / writable)
67           Preview text shown in the dialog
68
69       'show-size' (boolean : readable / writable)
70           Show size in font info mode
71
72       'title' (string : readable / writable)
73           The title of the selection dialog box
74
75       'use-font-in-label' (boolean : readable / writable)
76           Use font in the label in font info mode
77

SIGNALS

79       font-set (Gnome2::FontPicker, string)
80

ENUMS AND FLAGS

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

SEE ALSO

92       Gnome2, Glib::Object, Glib::InitiallyUnowned, Gtk2::Object,
93       Gtk2::Widget, Gtk2::Container, Gtk2::Bin, Gtk2::Button
94
96       Copyright (C) 2003-2004 by the gtk2-perl team.
97
98       This software is licensed under the LGPL.  See Gnome2 for a full
99       notice.
100
101
102
103perl v5.12.0                      2010-05-12             Gnome2::FontPicker(3)
Impressum