gtk-sharpGtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details.Gtk.VBoxA FontSelection is a widget that allows the user to select a font.The FontSelection widget lists the available fonts, styles and sizes, allowing the user to select a font. It is used in the widget to provide a 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.
ConstructorThe main way to construct a new FontSelectionCreates a new FontSelection widget that allows the user to select from the available fonts.Constructor
Pointer to the C object.
Internal constructorThis is an internal constructor, and should not be used by user code.PropertyPango.FontFaceTo be added.To be added.To be added.PropertyGtk.WidgetTo be added.To be added.To be added.PropertyPango.FontFamilyTo be added.To be added.To be added.PropertyGtk.WidgetTo be added.To be added.To be added.PropertyGLib.Property("font-name")System.StringManage the name of the font that is selected in this widget.The name of the currently selected font.If this property is used to alter the widget's font name to a font that could not be found, the widget will retain its original font selection. See also , which returns a value indicating whether or not the new font name was found.PropertyGLib.GTypeGType Property.a Returns the native value for .PropertyGtk.WidgetTo be added.To be added.To be added.PropertyGLib.Property("preview-text")System.StringThe text used to display a preview of the selected font.The text currently displaying the selected font.This property determines the exact string that is displayed in the 'preview area' of the FontSelection.MethodSystem.Boolean
the name of the font to be selected
Set the current font selection if the font was found and selectedThis can be used instead of setting property if you need to know whether or not was valid.PropertySystem.Int32To be added.To be added.To be added.PropertyGtk.WidgetTo be added.To be added.To be added.PropertyGtk.WidgetTo be added.To be added.To be added.