[R] tcl('tk::fontchooser', 'show') : Hoe to use? R-devel Tcl 8.6

Cleber N.Borges klebyn at yahoo.com.br
Sat Nov 5 17:06:26 CET 2016


Hello,
Somebody would indicate the correct way to use the option the
fontchooser widget into tcltk package (in R-devel, Tcl 8.6) ?
I tried to use as other traditional widgets but no success. (code below)
Thanks
Cleber

 > tt <- tktoplevel(); but <- ttkbutton( tt, text='Test'); tcl('pack', but )
<Tcl>
 > tcl( but, 'configure', '-text' )
<Tcl> -text text Text {} Test
 > tcl( but, 'configure', text=NULL )
<Tcl> -text text Text {} Test
 > tcl( but, 'cget', '-text')
<Tcl> Test
 >
 >
 > tcl('tk::fontchooser', 'show')
<Tcl>
 > tcl( 'tk::fontchooser', 'configure', '-font')
<Tcl>
 >
 >
 > sessionInfo()
R Under development (unstable) (2016-11-01 r71616)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows 7 x64 (build 7600)

locale:
[1] LC_COLLATE=Portuguese_Brazil.1252 LC_CTYPE=Portuguese_Brazil.1252
LC_MONETARY=Portuguese_Brazil.1252
[4] LC_NUMERIC=C LC_TIME=Portuguese_Brazil.1252

attached base packages:
[1] tcltk     stats     graphics  grDevices utils     datasets methods
base

loaded via a namespace (and not attached):
[1] tools_3.4.0
 >




---
Este email foi escaneado pelo Avast antivírus.
https://www.avast.com/antivirus

	[[alternative HTML version deleted]]



More information about the R-help mailing list