Displaying 20 results from an estimated 200 matches similar to: "tcltk scrollbar"
2010 Mar 01
0
Multicolumn Listbox selectcommand trouble
Hey folks,
This is my first message to the mailing list so please let me know if I
mess something up.
I'm trying to use the selectcommand for the mclistbox but I'm not very
adept at using functions. Ideally I'd like to change the editor text when
a different list item is selected but any help using the selectcommand
would be appreciated and I think I could get the rest working.
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 -
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.)
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,
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 <-
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 May 10
0
Resolved tklistbox selection problem
Turns out I needed to add "exportselection=0". So:
foo.lb <- tklistbox(root, height = 5,
selectmode = "extended", exportselection = 0)
Got this from:
http://tolstoy.newcastle.edu.au/R/e2/help/06/12/6955.html
(That's what I get for assuming there'd be no tcl/tk questions on this
list. D'oh!)
Cheers!
Mark
--
I'm taking reality in
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
2020 May 14
2
rmd y pdf
Estimados
quisiera tener el script para al hacer un pdf desde rmarkdown poder
modificarle el tamano y tipo de fuente
saludos
José
--
Dr. Jose A. Betancourt Bethencourt
Universidad de Ciencias Medicas Carlos j. Finlay
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",
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
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
2010 Jul 21
1
tcltk resizing when using tkgrid for layout
I've been able to figure out on my own how to do what I need in the
largely undocumented tcltk package, but I've finally hit a wall. I can't
even think of any sufficiently specific search terms to use for this.
I'm trying to make the widgets in my tk window resize when the window is
resized by clicking and dragging on its corners or edges. Instead they
stay exactly where they
2002 Nov 06
1
Combo Box Wdget for Tcl/Tk under R
Hi,
I have two questions:
First, does anyone know how to put a combobox inside a GUI made with Tcl/Tk ? I think there isn't a simple way to do this (a command like tkcombobox()!), but is it possible to write a more complex code to achieve this ?
Second, when I put two listboxes in the same window or frame (even in two different toplevel windows), I cannot select things in the two lists
2009 Aug 24
1
Copy & Paste from tktext on Mac
Hi there,
a text Window is supposed to map the shortcuts for copying and pasting
(<Ctrl-C>, <Ctrl-V>) automatically.
I'm working under Mac OS X and my text window doesn't really map these
functions automatically - it works fine under Windows. Is there an
easy way to map copy&paste functions to a text window under Mac OS X?
This is what I'm doing with my text
2009 Oct 12
0
tktext-window smaller than text
Hi there,
I need to build up a tktext-widget that contains a longer text than
the tktext-widget actually is. So what I mean is, that the tktext
window is of width=100 and the text in it has a length greater 100.
But I don't want the window to just wrap the line, but to belong to
scrollbar that is able to scroll to the end of the text.
tt <- tktoplevel()
txt <- tktext(tt,
2006 Sep 26
0
sym53c8xx parity errors
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
This seems to be an old problem, but I haven't found much about it.
SuSE mentions "hwprobe=-pci" but, as far as I know, CentOS doesn't
use it.
This does stop the machine from booting (mounting /) quite a few
times.
Logs:
SCSI subsystem initialized
sym0: <895> rev 0x2 at pci 0000:00:13.0 irq 177
sym0: Symbios NVRAM, ID 7,
2007 Feb 14
1
monitor a simulation with a special console box?
I like to monitor simulation by reporting some current values to the
console, every 25th iteration say. I think it might be nice to have
that appear in a separate window. Anyone know how?
regards,
David Farrar
New River Analytic
[[alternative HTML version deleted]]
2001 Feb 14
2
help with tcltk
Hallo!
Can anyone explain to me how to add a vert. scrollbar to a listbox using tcltk please?
Thanks
--
Frank Gerrit Zoellner
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject