Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

gtkFontSelectionSetFontName

gtkFontSelectionSetFontName


Description

Sets the currently-selected font.

Usage

gtkFontSelectionSetFontName(object, fontname)

Arguments

object

a GtkFontSelection

fontname

a font name like "Helvetica 12" or "Times Bold 18"

Details

Note that the fontsel needs to know the screen in which it will appear for this to work; this can be guaranteed by simply making sure that the fontsel is inserted in a toplevel window before you call this function.

Value

[logical] TRUE if the font could be set successfully; FALSE if no such font exists or if the fontsel doesn't belong to a particular screen yet.

Author(s)

Derived by RGtkGen from GTK+ documentation


RGtk2

R Bindings for Gtk 2.8.0 and Above

v2.20.36
GPL
Authors
Michael Lawrence <michafla@gene.com> and Duncan Temple Lang <duncan@wald.ucdavis.edu>
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.