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]] ______________________________________________ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.