Provided by: libgtk2-perl-doc_1.249-2_all
NAME
Gtk2::FontButton - wrapper for GtkFontButton
HIERARCHY
Glib::Object +----Glib::InitiallyUnowned +----Gtk2::Object +----Gtk2::Widget +----Gtk2::Container +----Gtk2::Bin +----Gtk2::Button +----Gtk2::FontButton
INTERFACES
Glib::Object::_Unregistered::AtkImplementorIface Gtk2::Buildable Gtk2::Activatable
METHODS
widget = Gtk2::FontButton->new ($fontname=undef) • $fontname (string) widget = Gtk2::FontButton->new_with_font ($fontname=undef) • $fontname (string) string = $font_button->get_font_name boolean = $font_button->set_font_name ($fontname) • $fontname (string) boolean = $font_button->get_show_size $font_button->set_show_size ($show_size) • $show_size (boolean) boolean = $font_button->get_show_style $font_button->set_show_style ($show_style) • $show_style (boolean) string = $font_button->get_title $font_button->set_title ($title) • $title (string) boolean = $font_button->get_use_font $font_button->set_use_font ($use_font) • $use_font (boolean) boolean = $font_button->get_use_size $font_button->set_use_size ($use_size) • $use_size (boolean)
PROPERTIES
'font-name' (string : default "Sans 12" : readable / writable / private) The name of the selected font 'show-size' (boolean : default true : readable / writable / private) Whether selected font size is shown in the label 'show-style' (boolean : default true : readable / writable / private) Whether the selected font style is shown in the label 'title' (string : default "Pick a Font" : readable / writable / private) The title of the font selection dialog 'use-font' (boolean : default false : readable / writable / private) Whether the label is drawn in the selected font 'use-size' (boolean : default false : readable / writable / private) Whether the label is drawn with the selected font size
SIGNALS
font-set (Gtk2::FontButton)
SEE ALSO
Gtk2, Glib::Object, Glib::InitiallyUnowned, Gtk2::Object, Gtk2::Widget, Gtk2::Container, Gtk2::Bin, Gtk2::Button
COPYRIGHT
Copyright (C) 2003-2011 by the gtk2-perl team. This software is licensed under the LGPL. See Gtk2 for a full notice.