search for: columnspan

Displaying 16 results from an estimated 16 matches for "columnspan".

2012 Jul 16
2
Tk grid problem
...A.but <- tkbutton(tt,text="A",command=function()ls()) B.but <- tkbutton(tt,text="B",command=function()ls()) C.but <- tkbutton(tt,text="C",command=function()ls()) D.but <- tkbutton(tt,text="D",command=function()ls()) tkgrid(A.but,row=1,column=1,columnspan=2,rowspan=2,sticky="nswe") tkgrid(B.but,row=3,column=1,columnspan=2,rowspan=1,sticky="nswe") tkgrid(C.but,row=1,column=3,columnspan=2,rowspan=1,sticky="wens") tkgrid(D.but,row=3,column=3,columnspan=2,rowspan=2,sticky="wens") any idea? thx Vincent [[...
2008 Nov 03
1
possible tcltk event loop problem
...unction(...) tkset(outputYscroll, ...)) Note that the functions MessagesWindow(), LogWindow(), and OutputWindow() simply return their respective tk windows. These windows are also similarly placed in the master Rcmdr window (slightly edited): tkgrid(.log, logYscroll, sticky="news", columnspan=2) tkgrid(logXscroll) tkgrid(logFrame, sticky="news", padx=10, pady=0, columnspan=2) tkgrid(.output, outputYscroll, sticky="news", columnspan=2) tkgrid(outputXscroll, columnspan=1 + (.log.commands && !.console.output)) tkgrid(outputFrame, sticky=&quo...
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
2008 Mar 31
2
tkconfigure throws an error
...lease help: ############ library(tcltk) tt<- tktoplevel() tktitle(tt)<-"the title" heading<-tklabel(tt,text="Enter date as YYYY-MM-DD") l1<-tklabel(tt,text="Reporting date") b1=tkbutton(tt,text="Run") d.val<-tkentry(tt,width=12) tkgrid(heading,columnspan=2) tkgrid(l1,d.val) tkgrid(b1,columnspan=2) tkconfigure(b1,command=source("./src/f.imm2.R")) ######### and get inconsistent errors: 1. Error in structure(.External("dotTclObjv", objv, PACKAGE = "tcltk"), class = "tclObj") : [tcl] invalid command name &quot...
2012 Aug 07
0
Trying to build up a user interface with the R tcltk package
...clsh, is as follows: #! /usr/bin/tclsh package require Tk ttk::frame .c -padding "3 3 12 12" ttk::frame .c.f -borderwidth 5 -relief sunken -width 200 -height 100 ttk::label .c.namelbl -text Name grid .c -column 0 -row 0 -sticky nsew grid .c.f -column 0 -row 0 -columnspan 3 -rowspan 2 -sticky nsew grid .c.namelbl -column 3 -row 0 -columnspan 2 -sticky nw -padx 5 Do you have any comments on this? Thanks, --Sergio. -- View this message in context: http://r.789695.n4.nabble.com/Trying-to-build-up-a-user-interface-with-the-R-tcltk-package-tp4639426.html Sent...
2009 Aug 24
1
Copy & Paste from tktext on Mac
...) txt <- tktext(tt, bg = "white", height=30, width=100, borderwidth=2) scr <- tkscrollbar(tt, orient = "vertical", repeatinterval = 1, command = function(...) tkyview(txt, ...)) tkconfigure(txt, yscrollcommand = function(...) tkset(scr, ...)) tkgrid(txt, column=0, row=0, columnspan=2, sticky="nwse") Session Info: R version 2.9.1 (2009-06-26) i386-apple-darwin8.11.1 locale: de_DE.UTF-8/de_DE.UTF-8/C/C/de_DE.UTF-8/de_DE.UTF-8 attached base packages: [1] tcltk stats graphics grDevices utils datasets methods base other attached packages: [1] tkrplo...
2023 Mar 13
1
tcl tk: set the position button
Dear Rodrigo, Try tkwm.geometry(win1, "-0+0"), which should position win1 at the top right. I hope this helps, John -- John Fox, Professor Emeritus McMaster University Hamilton, Ontario, Canada web: https://socialsciences.mcmaster.ca/jfox/ On 2023-03-12 8:41 p.m., Rodrigo Badilla wrote: > Hi all, > I am using tcltk2 library to show buttons and messages. Everything > work
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
2009 Oct 19
1
Problem with geometry manager in TclTK
...T RELEVANT inputformat <- ask.format() if (inputformat == "ID_CANCEL") return() OpenVal[1] <<- 1 tkgrab.release(input) tkdestroy(input) } tkgrid(tklabel(input, text = "Choose an input file",background="white",font="Times 13"),columnspan=3) button.file <- tkbutton(input, text = "Open Input Data File", command = getfile) button.exit <- tkbutton(input, text = "Exit", command = function() {tkdestroy(input); OpenVal[2] <<- 1}) tkgrid(button.file, button.exit) tkfocus(input) tkbind(input, &quot...
2008 May 07
1
Aling elmentos into Windows with TK
Hello!! I would like create a window that has diferent element as: http://bioinf.wehi.edu.au/~wettenhall/RTclTkExamples/checkboxes.html http://bioinf.wehi.edu.au/~wettenhall/RTclTkExamples/radiobuttons.html I know as make it, but I don?t know as I could (align the diferent elemnts to left, right, top, bottom) or (put in a coordinates into windows). If anybody know as I could make it, I would
2002 Feb 11
0
read.table in TCL/TK interface
...command",label="Exit",command=exit) tkadd(topMenu,"cascade",label="File",menu=fileMenu) #tkadd(topMenu,"command",label="Run",command=run) tkgrid(tklabel(tt,text="Recursive Partioning"),columnspan=1) tkgrid(tklabel(tt,text="y variable"), y.entry) tkgrid(submit.but) ## capture destroy (e.g. from window controls ## otherwise the tkwait hangs with nowhere to go tkbind(tt, "<Destroy>", function()tclvalue(done)<...
2001 Oct 06
1
tcltk
...d=reset) submit.but <- tkbutton(tt,text="submit",command=function()tclvar$done<-1) build <- function() { x <- parse(text=tclvar$cdata) [[1]] y <- parse(text=tclvar$k) [[1]] result <- substitute(fanny(x,y)) } tkgrid(tklabel(tt,text="Fuzzy-Cluster"),columnspan=4) tkgrid(tklabel(tt,text="data"),cdata.entry) tkgrid(tklabel(tt,text="numberOfCluster"),k.entry) tkgrid(submit.but, reset.but) tkbind(tt, "<Destroy>", function()tclvar$done<-2) tkwait.variable("done") if(tclvar$done=="2") stop("abo...
2002 Jul 06
1
R: one-sample binomial test
try ?power.prop.test > -----Messaggio originale----- > Da: Tim Wilson [mailto:wilson at visi.com] > Inviato: sabato 6 luglio 2002 6.05 > A: R-help > Oggetto: [R] one-sample binomial test > > > Hi everyone, > > Here's how I solved a problem for my stats class. I'm pretty sure I > understand what's going on, but I wonder if there's a more >
2012 May 03
2
Help with readBin
I'm trying to read a binary file created by a fortran code using readBin and readChar. Everything reads fine (integers and strings) except for double precision numbers, they are read as huge or very small number (1E-250,...). I tried various endianness, swap, But nothing has worked so far. I also tried on R 64 bit for linux and windows (R 2.14) and R 2.11 on windows XP 32 bit. Any help would
2020 Jun 19
0
Wine release 5.11
...TMLCSSStyleDeclaration2::columnWidth property semi-stub implementation. mshtml: Add IHTMLCSSStyleDeclaration2::columnWidth property semi-stub implementation. mshtml: Add IHTMLCSSStyleDeclaration2::columnFill property semi-stub implementation. mshtml: Add IHTMLCSSStyleDeclaration2::columnSpan property semi-stub implementation. mshtml: Add IHTMLCSSStyleDeclaration2::columnRuleColor property semi-stub implementation. mshtml: Add IHTMLCSSStyleDeclaration2::columnRuleStyle property semi-stub implementation. mshtml: Add IHTMLCSSStyleDeclaration2::columnRuleWidth property se...