similar to: Resolved tklistbox selection problem

Displaying 20 results from an estimated 1000 matches similar to: "Resolved tklistbox selection problem"

2012 Nov 20
1
tcl/tk problem with tklistbox,the " " character and Rcmdr.
I everyone, i have a little problem with tklistbox,the " " character and Rcmdr. Please look at this code require(tcltk) tt<-tktoplevel() levels.list2 <-tklistbox(tt,selectmode="multiple",exportselection="FALSE", height=4, yscrollcommand=function(...)tkset(levels.list2.scroll,...))
2006 Dec 12
2
tklistbox...
Hi everyone, I have different listboxes in the same toplevel window. The problem is, if I select (by left clicking) one of those listbox elements, the current selection in the other listboxes is cleared! Anybody knows how I can prevent this? Thanks, --------------------------------------------------- Rita Sousa DME - ME: Departamento de Metodologia Estatística - Métodos Estatísticos INE -
2008 Oct 30
1
tklistbox selection
Hi, I'm posting yet another question about tcltk since I'm still struggling with the package. I'm trying to create a tklistbox and a ttkcombobox on the same parent and am having a problem. Here's an example: library(tcltk) tt <- tktoplevel() tcl1 <- tclVar() tcl2 <- tclVar() tclObj(tcl1) <- letters[1:5] tclObj(tcl2) <- LETTERS[1] tb1 <- tklistbox(tt,
2007 Oct 08
3
tcltk scrollbar
The following code should give me (at least that's what I think) two list boxes with their individual scrollbars. But instead both scrollbars stick to the same listbox even though they work as they should (scroll individual listboxes). When I remove all the widgets on top everything works perfectly. Any help would be highly apprecciated. ps: all subsequent listboxes and scrollbars work
2001 Feb 22
2
Problem with tcltk listbox
Hi! I've got two problems with listboxes and selection: I created a listbox, no problem. Then I bind the Button-1 of the mouse to the listbox to start some things by pressing the mousebutton. The proiblem is that as I click a item of the listbox this error occured: Error in .Tcl(.Tcl.args(...)) : [tcl] bad listbox index "": must be active, anchor, end, @x,y, or a number. Repaeting
2008 Nov 23
1
tklistbox - R-Objekt
Hello, I have a problem with a tklistbox. The user should be able to choose one out of two calculation methods needed for further calculations. My r-script for that purpose looks like that: require(tcltk) tt<-tktoplevel() tl<-tklistbox(tt,height=4,selectmode="single",background="white") tkgrid(tklabel(tt,text="select method for LAI
2008 Jul 22
1
tklistbox and extracting selection to R
Dear experts, I am trying to understand why is it that when I paste (into the R console) the following code to select an option from a list: require(tcltk) tt<-tktoplevel() tl<-tklistbox(tt,height=ntx,selectmode="single",background="white") tkgrid(tklabel(tt,text="Select the legend of" )) tkgrid(tl) treatments<<-levels.tx for(i in
2005 Apr 01
0
Selections from tcltk list boxes
Dear r-devel list members, I've experienced the following problem in getting a selection from a Tk list box using tcltk. This is a long-standing problem, but I've finally decided to tackle it. Consider the following: Library(tcltk) top <- tktoplevel() listbox <- tklistbox(top, height="10", width="2", exportselection="FALSE",
2010 Jun 22
0
Scrolling a tkcanvas non-starter
Hello, Is it possible to scroll a canvas that has a column of listboxes in it? Does scrolling only work with listboxes and text widgets? The following code displays the scrollbar, but - it has no thumb - does not respond to mouse clicks. - the vertical height of the tkcanvas (i.e. column1) is unconstrained. It's lower edge is out of view, and the lower button on the scrollbar is out of
2003 Jun 06
4
stuck tcltk scrollbars under Windows XP
Dear R-devel list members, I've encountered a problem with my Rcmdr package under Windows XP and could use some advice: The Rcmdr package uses the tcltk package to create menus and dialog boxes. My standard procedure when a dialog is created is to grab the focus -- e.g., by tkfocus(top) tkgrab(top) (Here, top is a top-level window -- say, containing one or more scrollbars.)
2006 Oct 21
0
tcltk: multiple listboxes, selection
Dear list, I have multiple (BWidget) listboxes in the same toplevel window. The problem is, if I select (by left clicking) on one of those listbox elements, the current selection in the *other* listboxes is cleared! Anybody knows how I can prevent this? Here's my code (sorry not complete): (E.g. If I select an X value, I'd lose the Y value I selected before) gui.create.tab.general <-
2003 Sep 25
1
tkinsert (PR#4289)
In R-1.7.1, I used to be able to append a character vector to a 'tklistbox' with e.g. listio <- tklistbox( tktoplevel(), font='Courier', height=20, width=20, setgrid=TRUE) tkinsert( listio, 'end', letters[1:3]) tkpack( listio,side='left', expand=TRUE, fill='both') and three items would be added to 'listio'. This doesn't work in R-devel-- it
2000 Aug 09
2
tcltk_example
Hello R and tcltk users... I'm running into difficulties applying the tkmenubutton() and tklistbox() functions, found in the tcltk package, to a simple gui. My search for R code which utilizes these two functions has come up empty. Currently, I am attempting to translate pure "Tcl/Tk" code to R with little to no success. So far, the most helpful tool for learning the tcltk R
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",
2008 Apr 20
1
Attempting to sync x-axis labels with grid lines in lattice bwplot
I have created a lattice bwplot that suffers from axis label overplotting. The box plot contains grid lines, and I thought that only plotting the labels for corresponding vertical grid lines would not only cure the overplotting but also be more aesthetically pleasing. Unfortunately hours of poring over manuals, documentations, mailing list archives, and other R-related text hasn't helped.
2003 Apr 25
1
tcltk tkfilefind demo problem
Hi everyone, I wonder if anybody observed the crash of the tkfilefind demo. I looked into the code and it seems to crash executing dirtree<-tkwidget(base, "hierarchy_dir", root=path, showparent="Parent", showfiles=1, showall=all.names,
2008 Jun 01
0
Cannot handle object of mode "list"
Hello..!!! I got a problem while built R program with tcltk. I try to list the name of all data frame in my memory by "tklistbox". when we choose the name of data frame, then i capture the name, and catch the data frame by tclObj(dat)<-as.data.frame(get(x,envir=.GlobalEnvir)) tclvalue(dat) where x is the name of the data frame.The error is "Cannot handle object
2011 Nov 01
0
Read/Write textbox in R
I am writing a GUI for my R script. It is a very basic form consisting of textboxes and buttons. I tried to run the following example to learn how to read value currently entered into the textbox: ( it requires tcltk/tcltk2 packages ) # Create the widgets base <- tktoplevel() list <- tklistbox(base, width = 20, height = 5) entry <- tkentry(base) text <-
2014 Sep 10
4
[LLVMdev] [cfe-dev] SVN infrastructure woes
On 10 September 2014 13:09, Anton Korobeynikov <anton at korobeynikov.info> wrote: > git mirror is located on llvm.org as well... :) d'oh! Should we start planning a wider infrastructure with separate servers for separate functionality? Seems like we're putting all our eggs, apples and oranges in the same basket. cheers, --renato
2008 Apr 12
2
Delete antispam emails
I'm using dovecot with the antispam plugin to allow for training, but how do I delete emails once they've been trained? If I delete them from the folder using an email client they get retrained as valid emails when they're moved to the trash folder! D'oh. I'm looking, ideally, for a solution that doesn't need a script to be run per user as I have a number of users using