Valadoc
|
Vala
|
Tutorial
|
API-References
|
Markup
Packages
gtk+-2.0
Gtk
FontSelectionDialog
FontSelectionDialog
get_cancel_button
get_font_name
get_ok_button
get_preview_text
set_font_name
set_preview_text
action_area
apply_button
auto_resize
cancel_button
dialog_width
fontsel
main_vbox
ok_button
FontSelectionDialog
Object Hierarchy:
Description:
public
class
FontSelectionDialog
:
Dialog
,
Implementor
,
Buildable
Namespace:
Gtk
Package:
gtk+-2.0
Content:
Creation methods:
public
FontSelectionDialog
(
string
title)
Creates a new
FontSelectionDialog
.
Methods:
public
weak
Widget
get_cancel_button
()
Gets the 'Cancel' button.
public
unowned
string
get_font_name
()
Gets the currently-selected font name.
public
weak
Widget
get_ok_button
()
Gets the 'OK' button.
public
unowned
string
get_preview_text
()
Gets the text displayed in the preview area.
public
bool
set_font_name
(
string
fontname)
Sets the currently selected font.
public
void
set_preview_text
(
string
text)
Sets the text displayed in the preview area.
Fields:
public
weak
Widget
action_area
public
weak
Widget
apply_button
public
bool
auto_resize
public
weak
Widget
cancel_button
public
int
dialog_width
public
weak
Widget
fontsel
public
weak
Widget
main_vbox
public
weak
Widget
ok_button