mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-24 12:41:16 +00:00
Remove leftover documentation of the filter functionality that got removed
Fri Nov 21 00:09:36 2003 Matthias Clasen <maclas@gmx.de> * gtk/tmpl/gtkfontsel.sgml: * gtk/tmpl/gtkfontseldlg.sgml: Remove leftover documentation of the filter functionality that got removed long ago.
This commit is contained in:
parent
8f5f7fea74
commit
01780084d5
@ -1,3 +1,9 @@
|
||||
Fri Nov 21 00:09:36 2003 Matthias Clasen <maclas@gmx.de>
|
||||
|
||||
* gtk/tmpl/gtkfontsel.sgml:
|
||||
* gtk/tmpl/gtkfontseldlg.sgml: Remove leftover documentation of
|
||||
the filter functionality that got removed long ago.
|
||||
|
||||
2003-11-18 Federico Mena Quintero <federico@ximian.com>
|
||||
|
||||
* gtk/tmpl/gtkfilechooser.sgml: Added sections section about
|
||||
|
@ -23,15 +23,6 @@ or gtk_font_selection_get_font_name().
|
||||
To change the text which is shown in the preview area, use
|
||||
gtk_font_selection_set_preview_text().
|
||||
</para>
|
||||
<para>
|
||||
Filters can be used to limit the fonts shown. There are 2 filters in the
|
||||
#GtkFontSelection - a base filter and a user filter. The base filter
|
||||
can not be changed by the user, so this can be used when the user must choose
|
||||
from the restricted set of fonts (e.g. for a terminal-type application you may
|
||||
want to force the user to select a fixed-width font). The user filter can be
|
||||
changed or reset by the user, by using the 'Reset Filter' button or changing
|
||||
the options on the 'Filter' page of the widget.
|
||||
</para>
|
||||
|
||||
<!-- ##### SECTION See_Also ##### -->
|
||||
<para>
|
||||
|
@ -20,38 +20,6 @@ or gtk_font_selection_dialog_get_font_name().
|
||||
To change the text which is shown in the preview area, use
|
||||
gtk_font_selection_dialog_set_preview_text().
|
||||
</para>
|
||||
<para>
|
||||
Filters can be used to limit the fonts shown. There are 2 filters in the
|
||||
#GtkFontSelectionDialog - a base filter and a user filter. The base filter
|
||||
can not be changed by the user, so this can be used when the user must choose
|
||||
from the restricted set of fonts (e.g. for a terminal-type application you may
|
||||
want to force the user to select a fixed-width font). The user filter can be
|
||||
changed or reset by the user, by using the 'Reset Filter' button or changing
|
||||
the options on the 'Filter' page of the dialog.
|
||||
</para>
|
||||
|
||||
<example>
|
||||
<title>Setting a filter to show only fixed-width fonts.</title>
|
||||
<programlisting>
|
||||
gchar *spacings[] = { "c", "m", NULL };
|
||||
gtk_font_selection_dialog_set_filter (GTK_FONT_SELECTION_DIALOG (fontsel),
|
||||
GTK_FONT_FILTER_BASE, GTK_FONT_ALL,
|
||||
NULL, NULL, NULL, NULL, spacings, NULL);
|
||||
</programlisting>
|
||||
</example>
|
||||
|
||||
<para>
|
||||
To allow only true scalable fonts to be selected use:
|
||||
</para>
|
||||
|
||||
<example>
|
||||
<title>Setting a filter to show only true scalable fonts.</title>
|
||||
<programlisting>
|
||||
gtk_font_selection_dialog_set_filter (GTK_FONT_SELECTION_DIALOG (fontsel),
|
||||
GTK_FONT_FILTER_BASE, GTK_FONT_SCALABLE,
|
||||
NULL, NULL, NULL, NULL, NULL, NULL);
|
||||
</programlisting>
|
||||
</example>
|
||||
|
||||
<!-- ##### SECTION See_Also ##### -->
|
||||
<para>
|
||||
|
Loading…
Reference in New Issue
Block a user