similar to: Tk force refresh

Displaying 20 results from an estimated 4000 matches similar to: "Tk force refresh"

2001 Feb 03
1
tk non-widget commands (esp. update and winfo)
Hi, I've been playing with the tcltk package. It's very nice to have access to buttons, menus etc. now. Thank you! Alas, I also have questions: In Tcl everything is a string [*]. This is not the case in R, of course. So why are return values of tk commands still strings? (Is there any other reason than speed or "package is work in progress"?) Example: > tt <-
2003 Nov 14
2
writeChar potential buffer overrun (PR#5090)
Trying to copy the (binary) header of a input file directly to an output file, I've had repeatable seg faults. The call: writeChar(hdr, outfh, nchars=6144) when hdr just contains one empty string seems to be the culprit. The stack traces weren't all that illuminating, with sig 11 in memory-related functions following this. But in src/main/connections.c it looks like do_writechar
2004 Apr 23
4
Tcl Tk table
Hi I've a problem with the following example: library(tcltk) .Tcl("array unset tclArray") myRarray <- matrix(1:1000, ncol=20) for (i in (0:49)) for (j in (0:19)) .Tcl(paste("set tclArray(",i,",",j,") ",myRarray[i+1,j+1],sep="")) tt<-tktoplevel() table1 <- tkwidget(tt,"table",variable="tclArray",
2004 Feb 27
1
Regular expressions & large strings (PR#6617)
A possible regex bug when working with large strings. The following code snippet t5 <- paste( c( "# === TEST", rep(' ', 2452294) ), collapse='') str( sub("^.*TEST", "xyz", t5) ) str( sub("^.*TEST", "xyz", substr(t5,0,200)) ) doesn't behave right; on one machine, the second and third lines print different results [the
2005 Apr 23
1
tclServiceMode: stop Tcl/Tk from updating
In Windows, Tcl/Tk programs running under the tcltk package can update too frequently: for exmaple, we might go through a long sequence of operations to construct a complex display, and in Windows each addition will be shown separately. To work around this, I've added a function "tclServiceMode" which serves as an R interface to the "Tcl_SetServiceMode" function in the
2004 Feb 28
1
Line splitting in system() (PR#6624)
According to the manual, system() splits output lines into 8096-char chunks; under UNIX, actually seems to return 8094 chars, and drop the 8095th. Spot missing digits in: x2 <- system("perl -e 'print \"0123456789\"x10000'", intern=T) Looks like a bug in the code to remove newlines at src/unix/sys-unix.c:218 -- fgets() reads size-1 characters and adds
2006 May 22
1
rerender tcltk toplevel
Hi everybody, I am trying to write a simple progress display based on a tcltk toplevel. My first approach was to use the progressBar widget from the BWidget library but since this is not available on every system (missing on at least almost all windows systems, I guess...) I wanted to have a backup there. So my second strategy was to use a simple toplevel with a label and update the tclvariable
2004 May 10
1
question about possibility with R - Tcl/tk library
Hi , i am using the R(1.8.1) tcl/tk library in order to build a graphical user interface to mathematic function and i would like to know if it is possible to retrieve the value of a tkentry to make a R vector for exemple with an entry containing "1,2,3,4,5" i want to make a vector which contains 1 2 3 4 5 i tried as.vector , as.list and even to write the object to a file with
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)
2003 Jul 29
1
Tktable active cell
Thomas Sudler <TSudler at ch.imshealth.com> wrote: > I want to start an action when i click into a cell. Example: When I click > into a cell, a message box should open with the information of the > location of the cell where I clicked in. <SNIP> So I only > need to know how to get the possition of the active cell. Thomas, Getting the active cell is easy, just use :
2009 Nov 19
6
Surprising length() of POSIXlt vector (PR#14073)
Arrays of POSIXlt dates always return a length of 9. This is correct (they're really lists of vectors of seconds, hours, and so forth), but other methods disguise them as flat vectors, giving superficially surprising behaviour: strings <- paste('2009-1-', 1:31, sep='') dates <- strptime(strings, format="%Y-%m-%d") print(dates) # [1]
2015 Feb 16
4
libvirt
Seems libvirt are broken in centos7? I can start it but Virsh list for example: Connection refused Kvm are installed And the kvm driver installed
2009 Jun 12
8
Dtc-xen
I have played around with dtc-xen Only one thing In the user registration form How to add vps locations I not find something in admin interface _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
2009 Apr 28
1
[macosx] improving quartz & Aqua Tk behaviour outside of RGui
Hello, On Mac OS X, certain Aqua/Quartz UI functionality requires an application to be launched from within an app bundle, or (alternatively) requires a Carbon application with a resource fork. Playing with the wxWidgets distribution, I discovered that it is quite easy and transparent to make such a Carbon app from (I guess) any command line application. When applied to the R executable called
2009 Apr 28
1
[macosx] improving quartz & Aqua Tk behaviour outside of RGui
Hello, On Mac OS X, certain Aqua/Quartz UI functionality requires an application to be launched from within an app bundle, or (alternatively) requires a Carbon application with a resource fork. Playing with the wxWidgets distribution, I discovered that it is quite easy and transparent to make such a Carbon app from (I guess) any command line application. When applied to the R executable called
2004 Aug 05
1
tcltk: repeat event while button is down?
Is there a way in TCL/TK to trigger an event multiple times while a button is held down? I'd like to have an rgl scene continuously rotate until the button is released. Duncan Murdoch
2013 Jun 24
2
qemu images
On Jun 24, 2013 3:28 PM, "H. Peter Anvin" <hpa at zytor.com> wrote: > > Not unless you explicitly force the OS to include a driver. http://www.syslinux.org/wiki/index.php/MEMDISK#-_Drivers_that_detect_the_MEMDISK_mapped_floppy.2Fdisk.2FISO_image > mattias <mj at mjw.se> wrote: > > >ah i meen that > >so i can boot e.g windows xp? > >let's
2011 Mar 19
5
Dvd iso?
Exist none or only livecd? mail mj at mjw.se telefon 0104906298 _______________________________________________ CentOS mailing list CentOS at centos.org http://lists.centos.org/mailman/listinfo/centos _______________________________________________ CentOS mailing list CentOS at centos.org http://lists.centos.org/mailman/listinfo/centos
2002 Feb 11
0
read.table in TCL/TK interface
hello, i would like program userfriendly tcl/tk widgets like the t-test example in a more complex way ! (1) Is it not possible to combine tk_getOpenFile with the R function read.table to select in userfriendly way data sets ? (I'm newbie and take code-parts from t-test example and scripting example.) (2) Is it possible to use a variableSelection widget to select a special variable which i
2003 Jul 30
1
Tktable White column when WIDTH>13
On Wed, 30 Jul 2003 TSudler at ch.imshealth.com wrote: <SNIP> table1 <- tkwidget(tt,"table",variable="tclArray", rows=as.character(dim(datifram)[1]+1), cols=as.character(dim(datifram)[2]),titlerows="1", titlecols="3",selectmode="extended",height="27",