Gtk2::FontButton3pm
Wrapper for gtkfontbutton
Hierarchy
Glib::Object+----Glib::InitiallyUnowned+----Gtk2::Object+----Gtk2::Widget+----Gtk2::Container+----Gtk2::Bin+----Gtk2::Button+----Gtk2::FontButton
Interfaces
Glib::Object::_Unregistered::AtkImplementorIfaceGtk2::BuildableGtk2::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)
Releases
7 releases since Debian 3.1 (Sarge); the text changed 6 times.