gtk2/docs/reference/gtk/tmpl/gtkfontseldlg.sgml

130 lines
2.3 KiB
Plaintext
Raw Normal View History

1999-08-16 18:51:52 +00:00
<!-- ##### SECTION Title ##### -->
GtkFontSelectionDialog
<!-- ##### SECTION Short_Description ##### -->
A dialog box for selecting fonts
1999-08-16 18:51:52 +00:00
<!-- ##### SECTION Long_Description ##### -->
<para>
The #GtkFontSelectionDialog widget is a dialog box for selecting a font.
</para>
<para>
To set the font which is initially selected, use
gtk_font_selection_dialog_set_font_name().
</para>
<para>
To get the selected font use gtk_font_selection_dialog_get_font_name().
1999-08-16 18:51:52 +00:00
</para>
<para>
To change the text which is shown in the preview area, use
gtk_font_selection_dialog_set_preview_text().
</para>
<refsect2 id="GtkFontSelectionDialog-BUILDER-UI">
<title>GtkFontSelectionDialog as GtkBuildable</title>
<para>
The GtkFontSelectionDialog implementation of the GtkBuildable interface
exposes the embedded #GtkFontSelection as internal child with the
name "font_selection". It also exposes the buttons with the names
"ok_button", "cancel_button" and "apply_button".
</para>
</refsect2>
1999-08-16 18:51:52 +00:00
<!-- ##### SECTION See_Also ##### -->
<para>
<variablelist>
<varlistentry>
<term>#GtkFontSelection</term>
<listitem><para>the underlying widget for selecting
fonts.</para></listitem>
<term>#GtkDialog</term>
<listitem><para>the parent class of GtkFontSelectionDialog</para></listitem>
1999-08-16 18:51:52 +00:00
</varlistentry>
</variablelist>
</para>
2005-06-20 22:06:27 +00:00
<!-- ##### SECTION Stability_Level ##### -->
<!-- ##### SECTION Image ##### -->
1999-08-16 18:51:52 +00:00
<!-- ##### STRUCT GtkFontSelectionDialog ##### -->
1999-08-16 18:51:52 +00:00
<!-- ##### FUNCTION gtk_font_selection_dialog_new ##### -->
<para>
1999-08-16 18:51:52 +00:00
</para>
@title:
@Returns:
1999-08-16 18:51:52 +00:00
<!-- ##### FUNCTION gtk_font_selection_dialog_get_font_name ##### -->
<para>
</para>
@fsd:
@Returns:
1999-08-16 18:51:52 +00:00
<!-- ##### FUNCTION gtk_font_selection_dialog_set_font_name ##### -->
<para>
1999-08-16 18:51:52 +00:00
</para>
@fsd:
@fontname:
@Returns:
1999-08-16 18:51:52 +00:00
<!-- ##### FUNCTION gtk_font_selection_dialog_get_preview_text ##### -->
<para>
1999-08-16 18:51:52 +00:00
</para>
@fsd:
@Returns:
1999-08-16 18:51:52 +00:00
<!-- ##### FUNCTION gtk_font_selection_dialog_set_preview_text ##### -->
<para>
1999-08-16 18:51:52 +00:00
</para>
@fsd:
@text:
1999-08-16 18:51:52 +00:00
<!-- ##### FUNCTION gtk_font_selection_dialog_get_cancel_button ##### -->
<para>
</para>
@fsd:
@Returns:
<!-- ##### FUNCTION gtk_font_selection_dialog_get_ok_button ##### -->
<para>
</para>
@fsd:
@Returns:
<!-- ##### FUNCTION gtk_font_selection_dialog_get_font_selection ##### -->
<para>
</para>
@fsd:
@Returns: