1 <!-- ##### SECTION Title ##### -->
2 HildonFontSelectionDialog
4 <!-- ##### SECTION Short_Description ##### -->
5 A widget is used to select a font. (Selection is made by user)
7 <!-- ##### SECTION Long_Description ##### -->
9 Font selection can be made using this widget. User can select e.g.
10 font name, size, style, etc. User can also preview his/her selection.
15 HildonFontSelectionDialog *hfsd = hildon_font_selection_dialog_new( NULL, NULL );
16 gtk_widget_show_all(hfsd);
18 response = gtk_dialog_run(GTK_DIALOG(hfsd));
23 pango_attr_list_unref( list );i
24 list = hildon_font_selection_dialog_get_font(
25 HILDON_FONT_SELECTION_DIALOG(hfsd) );
26 gtk_label_set_attributes( GTK_LABEL(label), list );
28 gtk_widget_destroy(hfsd);
35 <!-- ##### SECTION See_Also ##### -->
40 <!-- ##### ENUM HildonPositioning ##### -->
45 @HILDON_POSITIONING_NORMAL:
46 @HILDON_POSITIONING_SUPER:
47 @HILDON_POSITIONING_SUB:
49 <!-- ##### ENUM HildonFontFaceType ##### -->
54 @HILDON_FONT_FACE_NORMAL:
55 @HILDON_FONT_FACE_ITALIC:
56 @HILDON_FONT_FACE_BOLD:
57 @HILDON_FONT_FACE_BOLD_ITALIC:
59 <!-- ##### STRUCT HildonFontSelectionDialog ##### -->
65 <!-- ##### FUNCTION hildon_font_selection_dialog_new ##### -->
75 <!-- ##### FUNCTION hildon_font_selection_dialog_set_font ##### -->
84 <!-- ##### FUNCTION hildon_font_selection_dialog_get_preview_text ##### -->
93 <!-- ##### FUNCTION hildon_font_selection_dialog_set_preview_text ##### -->