Displaying 7 results from an estimated 7 matches for "xscrollcommand".
Did you mean:
yscrollcommand
2008 Nov 03
1
possible tcltk event loop problem
...<- MessagesWindow()
messagesXscroll <- ttkscrollbar(messagesFrame, orient="horizontal",
command=function(...) tkxview(.messages, ...))
messagesYscroll <- ttkscrollbar(messagesFrame,
command=function(...) tkyview(.messages, ...))
tkconfigure(.messages, xscrollcommand=function(...)
tkset(messagesXscroll, ...))
tkconfigure(.messages, yscrollcommand=function(...)
tkset(messagesYscroll, ...))
For the script window (note that "log" is a hold-over from earlier
terminology):
logFrame <- tkframe(CommanderWindow())
putRcmdr("logWindow&quo...
2002 Jun 09
1
Scrollable Listbox?
Hi,
Using the functions in the tcltk library (R1.5.0 Windows, tcltk v1.5.0),
does anyone know a simple way to create a list box with a scroll bar? I'm
stuck on what to supply to the -xscrollcommand in order to do this but I
might be on the wrong track.
Best wishes, Jess
_____________________________________
Jess Mar
Department of Mathematics
University of Queensland QLD 4072
AUSTRALIA
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list --...
2010 Jul 21
1
tcltk resizing when using tkgrid for layout
...ollbar(tt, repeatinterval=5,orient="horizontal",
command=function(...)tkxview(txt,...))
yscr<- tkscrollbar(tt, repeatinterval=5,
command=function(...)tkyview(txt,...))
txt<- tktext(tt,bg="white",font="courier",
xscrollcommand=function(...)tkset(xscr,...),yscrollcommand=function(...)tkset(yscr,...),
wrap="none")
tkgrid(txt,yscr)
tkgrid(xscr)
tkgrid.configure(yscr,sticky="ns")
tkgrid.configure(xscr,sticky="ew")
for (i in (1:100)) tkinsert(txt,"end",paste(i,"^ 2 =",i*i...
2003 Jul 30
1
Tktable White column when WIDTH>13
...ter(dim(datifram)[2]),titlerows="1",
titlecols="3",selectmode="extended",height="27",
width="13",bg="white",state="disabled",cursor="arrow",
drawmode="single",selectmode="single",invertselected=TRUE,
xscrollcommand=function(...)tkset(xscr,...),
yscrollcommand=function(...) tkset(yscr,...))
<SNIP>
>
> When I go to the right border with the scrollbar, I see a
> wihte column without cells and without titlerow. I could
> determine where the problem is.
> But I don't know why this proble...
2009 Oct 12
0
tktext-window smaller than text
...vertical", repeatinterval = 1,
command = function(...) tkyview(txt, ...))
tkconfigure(txt, yscrollcommand = function(...) tkset(scrergVert, ...))
scrergHor <- tkscrollbar(tt, orient = "horizontal", repeatinterval =
1, command = function(...) tkxview(txt, ...))
tkconfigure(txt, xscrollcommand = function(...) tkset(scrergHor, ...))
tkgrid(txt, column=0, row=0, sticky="nwse")
tkgrid(scrergVert, column=1, row=0, sticky="ns")
tkgrid(scrergHor, column=0, row=1, sticky="we")
tkinsert(txt, "0.0", paste(capture.output(resultKmean), collapse="\n&quo...
2008 Oct 30
3
using yscrollcommand in tkcanvas crashes R (PR#13231)
Full_Name: Sundar Dorai-Raj
Version: 2.8.0
OS: Windows
Submission from: (NULL) (76.220.41.126)
The following code crashes R:
library(tcltk)
tt <- tktoplevel()
tc <- tkcanvas(tt, yscrollcommand = function(...) tkset(ts, ...))
> sessionInfo()
R version 2.8.0 (2008-10-20)
i386-pc-mingw32
locale:
LC_COLLATE=English_United States.1252;LC_CTYPE=English_United
2002 Mar 14
1
gif, jpeg and png image files reader AND tcltk image
Hi all,
Roger Peng and Jason Turner's suggestion with ImageMagick seem to be the
simplest "dirty" way
to get the problem solved.
But I ran into yet another interesting but quite round-about way to solve
the problem (partially). Through tcltk package, one can read in the gif
image with
> x <- tkcmd("image", "create", "photo", file=mypic.gif)