[prev in list] [next in list] [prev in thread] [next in thread] 

List:       r-sig-gui
Subject:    Re: [R-gui] Tktable on Mac OSX with X11, systemWindowBody color
From:       Peter Dalgaard BSA <p.dalgaard () biostat ! ku ! dk>
Date:       2003-08-08 8:26:38
Message-ID: x21xvwblbm.fsf () biostat ! ku ! dk
[Download RAW message or body]

James Wettenhall <wettenhall@wehi.edu.au> writes:

> Hi,
> 
> I'm doing some testing of my R/TclTk application on Mac OSX with 
> Apple X11 (based on Xfree86), (with Tcl/Tk installed via the 
> Apple Developer Tools) and I've come across a problem 
> when trying to use the table widget in Tktable:
> 
> This works fine in wish (the Tcl/Tk interpreter) :
> % package require Tktable
> % toplevel .tt
> % table .tt.table1
> % pack .tt.table1
> 
> But when I try it in R (even when using the low-level .Tcl(...) 
> interface which should be similar to wish:
> 
> > library(tcltk)
> > addTclPath("/Library/Tcl")
> > .Tcl("package require Tktable")
> > .Tcl("toplevel .tt")
> > .Tcl("table .tt.table1")
>   Error ...
>     [tcl] unknown color name "systemWindowBody".
> 
> "grep systemWindowBody *" in the Tktable package directory 
> revealed just one reference to it, in the binary file, 
> libTktable2.8.dylib
> I don't have the Tcl/Tk source handy and I couldn't find 
> systemWindowBody in the R source or in the tcltk 
> R package source.

Beats me, but you might try a query on comp.lang.tcl. Presumably, wish
is somehow loading the system colors on startup, and this doesn't
happen with the R/Tcl interpreter. 

BTW, have you tried the tkAqua stuff?

-- 
   O__  ---- Peter Dalgaard             Blegdamsvej 3  
  c/ /'_ --- Dept. of Biostatistics     2200 Cph. N   
 (*) \(*) -- University of Copenhagen   Denmark      Ph: (+45) 35327918
~~~~~~~~~~ - (p.dalgaard@biostat.ku.dk)             FAX: (+45) 35327907


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic