font {gWidgets2} | R Documentation |
Returns font specification for widget, if available
Description
The font
assignment method is used to change the font of
the currently selected text.
Usage
font(obj)
## Default S3 method:
font(obj)
font(obj) <- value
font(obj) <- value
## S3 replacement method for class 'GText'
font(obj) <- value
Arguments
obj |
object |
value |
The font specification is given in terms of a named vector or list where the names indicate a font attribute and the value a reasonable choice:
These are from Gtk's font specs, which though fairly standard, may not be totally supported in the other toolkits. |
[Package gWidgets2 version 1.0-9 Index]