1Gtk2::FontButton(3)   User Contributed Perl Documentation  Gtk2::FontButton(3)
2
3
4

NAME

6       Gtk2::FontButton - wrapper for GtkFontButton
7

HIERARCHY

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

INTERFACES

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

METHODS

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

PROPERTIES

55       'font-name' (string : default "Sans 12" : readable / writable /
56       private)
57           The name of the selected font
58
59       'show-size' (boolean : default true : readable / writable / private)
60           Whether selected font size is shown in the label
61
62       'show-style' (boolean : default true : readable / writable / private)
63           Whether the selected font style is shown in the label
64
65       'title' (string : default "Pick a Font" : readable / writable /
66       private)
67           The title of the font selection dialog
68
69       'use-font' (boolean : default false : readable / writable / private)
70           Whether the label is drawn in the selected font
71
72       'use-size' (boolean : default false : readable / writable / private)
73           Whether the label is drawn with the selected font size
74

SIGNALS

76       font-set (Gtk2::FontButton)
77

SEE ALSO

79       Gtk2, Glib::Object, Glib::InitiallyUnowned, Gtk2::Object, Gtk2::Widget,
80       Gtk2::Container, Gtk2::Bin, Gtk2::Button
81
83       Copyright (C) 2003-2011 by the gtk2-perl team.
84
85       This software is licensed under the LGPL.  See Gtk2 for a full notice.
86
87
88
89perl v5.30.0                      2019-07-26               Gtk2::FontButton(3)
Impressum