Gtk2::FontSelection

Section: User Contributed Perl Documentation (3)
Updated: 2008-05-05
Index Return to Main Contents
 

NAME

Gtk2::FontSelection  

HIERARCHY

  Glib::Object
  +----Glib::InitiallyUnowned
       +----Gtk2::Object
            +----Gtk2::Widget
                 +----Gtk2::Container
                      +----Gtk2::Box
                           +----Gtk2::VBox
                                +----Gtk2::FontSelection

 

INTERFACES

  Glib::Object::_Unregistered::AtkImplementorIface

 

METHODS

 

widget = Gtk2::FontSelection->new

 

font = $fontsel->get_font

 

string = $fontsel->get_font_name

 

boolean = $fontsel->set_font_name ($fontname)

* $fontname (string)
 

string = $fontsel->get_preview_text

 

$fontsel->set_preview_text ($text)

* $text (string)
 

PROPERTIES

'font' (Gtk2::Gdk::Font : readable / private)
The GdkFont that is currently selected
'font-name' (string : readable / writable / private)
The X string that represents this font
'preview-text' (string : readable / writable / private)
The text to display in order to demonstrate the selected font
 

SEE ALSO

Gtk2, Glib::Object, Glib::InitiallyUnowned, Gtk2::Object, Gtk2::Widget, Gtk2::Container, Gtk2::Box, Gtk2::VBox  

COPYRIGHT

Copyright (C) 2003-2008 by the gtk2-perl team.

This software is licensed under the LGPL. See Gtk2 for a full notice.


 

Index

NAME
HIERARCHY
INTERFACES
METHODS
widget = Gtk2::FontSelection->new
font = $fontsel->get_font
string = $fontsel->get_font_name
boolean = $fontsel->set_font_name ($fontname)
string = $fontsel->get_preview_text
$fontsel->set_preview_text ($text)
PROPERTIES
SEE ALSO
COPYRIGHT

linux.jgfs.net manual pages