1999-08-16 18:51:52 +00:00
|
|
|
<!-- ##### SECTION Title ##### -->
|
|
|
|
GtkFontSelectionDialog
|
|
|
|
|
|
|
|
<!-- ##### SECTION Short_Description ##### -->
|
2004-10-11 18:08:35 +00:00
|
|
|
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>
|
2006-02-27 18:18:57 +00:00
|
|
|
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>
|
|
|
|
|
2007-07-01 23:38:07 +00:00
|
|
|
<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>
|
docs/reference/gtk/tmpl/gtkfontseldlg.sgml, gdk/gdkwindow.c,
Sat Oct 5 16:47:03 2002 Soeren Sandmann <sandmann@daimi.au.dk>
* docs/reference/gtk/tmpl/gtkfontseldlg.sgml, gdk/gdkwindow.c,
gdk/x11/gdkwindow-x11.c, gtk/gtkfontsel.h, gtk/gtkimcontext.c,
gtk/gtktreeview.c, gtk/gtktreeviewcolumn.c
Documentation fixes:
#75170, Dan Winship;
#73220, Havoc Pennington;
#70742, Boris Shingarov;
#72007, Alexey A. Malyshev
2002-10-05 15:09:29 +00:00
|
|
|
<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 ##### -->
|
|
|
|
|
|
|
|
|
2010-05-08 05:18:53 +00:00
|
|
|
<!-- ##### SECTION Image ##### -->
|
|
|
|
|
|
|
|
|
1999-08-16 18:51:52 +00:00
|
|
|
<!-- ##### STRUCT GtkFontSelectionDialog ##### -->
|
|
|
|
|
|
|
|
|
docs/reference/gtk/tmpl/gtkfontseldlg.sgml, gdk/gdkwindow.c,
Sat Oct 5 16:47:03 2002 Soeren Sandmann <sandmann@daimi.au.dk>
* docs/reference/gtk/tmpl/gtkfontseldlg.sgml, gdk/gdkwindow.c,
gdk/x11/gdkwindow-x11.c, gtk/gtkfontsel.h, gtk/gtkimcontext.c,
gtk/gtktreeview.c, gtk/gtktreeviewcolumn.c
Documentation fixes:
#75170, Dan Winship;
#73220, Havoc Pennington;
#70742, Boris Shingarov;
#72007, Alexey A. Malyshev
2002-10-05 15:09:29 +00:00
|
|
|
|
1999-08-16 18:51:52 +00:00
|
|
|
<!-- ##### FUNCTION gtk_font_selection_dialog_new ##### -->
|
|
|
|
<para>
|
2008-12-29 04:19:56 +00:00
|
|
|
|
1999-08-16 18:51:52 +00:00
|
|
|
</para>
|
|
|
|
|
2009-01-01 22:24:56 +00:00
|
|
|
@title:
|
|
|
|
@Returns:
|
1999-08-16 18:51:52 +00:00
|
|
|
|
|
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_font_selection_dialog_get_font_name ##### -->
|
|
|
|
<para>
|
|
|
|
</para>
|
|
|
|
|
2006-02-27 18:18:57 +00:00
|
|
|
@fsd:
|
|
|
|
@Returns:
|
1999-08-16 18:51:52 +00:00
|
|
|
|
|
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_font_selection_dialog_set_font_name ##### -->
|
|
|
|
<para>
|
2008-12-29 04:19:56 +00:00
|
|
|
|
1999-08-16 18:51:52 +00:00
|
|
|
</para>
|
|
|
|
|
2008-12-29 04:19:56 +00:00
|
|
|
@fsd:
|
|
|
|
@fontname:
|
2009-01-01 22:24:56 +00:00
|
|
|
@Returns:
|
1999-08-16 18:51:52 +00:00
|
|
|
|
|
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_font_selection_dialog_get_preview_text ##### -->
|
|
|
|
<para>
|
2008-12-29 04:19:56 +00:00
|
|
|
|
1999-08-16 18:51:52 +00:00
|
|
|
</para>
|
|
|
|
|
2009-01-01 22:24:56 +00:00
|
|
|
@fsd:
|
2008-12-29 04:19:56 +00:00
|
|
|
@Returns:
|
1999-08-16 18:51:52 +00:00
|
|
|
|
|
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_font_selection_dialog_set_preview_text ##### -->
|
|
|
|
<para>
|
2008-12-29 04:19:56 +00:00
|
|
|
|
1999-08-16 18:51:52 +00:00
|
|
|
</para>
|
|
|
|
|
2009-01-01 22:24:56 +00:00
|
|
|
@fsd:
|
|
|
|
@text:
|
1999-08-16 18:51:52 +00:00
|
|
|
|
|
|
|
|
2008-08-19 01:17:29 +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:
|
|
|
|
|
|
|
|
|
2010-06-28 14:19:56 +00:00
|
|
|
<!-- ##### FUNCTION gtk_font_selection_dialog_get_font_selection ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@fsd:
|
|
|
|
@Returns:
|
|
|
|
|
|
|
|
|