Gtk.FontSelection Class
A FontSelection is a widget that allows the user to select a font.

See Also: FontSelection Members

Syntax

public class FontSelection : VBox

Remarks

The FontSelection widget lists the available fonts, styles and sizes, allowing the user to select a font. It is used in the Gtk.FontSelectionDialog widget to provide a Gtk.Dialog box for selecting fonts.

Filters can be used to limit the fonts shown. There are 2 filters in the FontSelection - 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.

Requirements

Namespace: Gtk
Assembly: gtk-sharp (in gtk-sharp.dll)
Assembly Versions: 2.12.0.0