Le lundi 21 janvier 2013 à 10:32 +0100, Christoph Lange a écrit :
> Dear all,
> 
> please excuse the somewhat special question:
> 
> >From within R I create a Tk windows with a list of checkboxes, which can
> bekome too long for the screen. The obvious solution would be to put all
> checkboxes into a frame and make that scrollable. Alas, there are (for
> whatever reason!) no scrollable frames in Tk :-(
> 
> The usual workaround is to put widgets (my checkboxes) into a textbox,
> which you _can_ make scrollable. In Tcl/Tk, when $t is a text widget, the
> code would be as follows:
> 
> 
> button $t.help -bitmap questhead -command Help
> $t window create end -window $t.help
> 
> But what is the R equivalent? From the general naming scheme I would have
> guessed something like 'tktext.window', but that doesn't exist. Any trick
> with 'tkconfigure', perhaps?
(Totally uninformed guess:) tkwindow.create() maybe? At least, that's be
how I would translate the code you posted above.

> Any help is urgently appreciated ;-)
> (Which could also be a totally different workaround ...)
> 
> Cheers
> Christoph
>

______________________________________________
R-help@r-project.org mailing list
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.

Reply via email to