[R] Tk table: how to get information about configurations ?

phgrosjean at sciviews.org phgrosjean at sciviews.org
Sat Dec 5 14:40:10 CET 2015


It depends what property you are looking for… Have you tried tkcget(table, …)?

Philippe Grosjean
> On 05 Dec 2015, at 12:41, Cleber N.Borges <klebyn at yahoo.com.br> wrote:
> 
> Hello
> I would like to know the correct way of getting information about the values of the parameters of a Tktable.
> some details I even managed to extract but quite archaic form ...
> I thank you for advance for any help.
> 
> cleber
> ###################
> # example
> 
> library( tcltk ) ; tclRequire( 'Tktable' )
> 
> tt <- tktoplevel() ; fm <- ttkframe( tt )
> 
> tkpack( fm, expand=T, fill='both')
> 
> # set info (geometry) of toplevel
> tkwm.geometry( tt, "600x400+400+200" )
> 
> # get info (geometry) about toplevel
> tcl( 'wm', 'geometry', wDataOrg )
> 
> table <- tkwidget( fm, 'table', background='white', selectmode="extended" )
> 
> tkpack( table, expand=T, fill='both' )
> 
> # how get informations about this table?????????????
> tkconfigure( table )  #  ?????????
> 
> tcl( table, 'xxxxx' ) # ???????????
> 
> tcl( table, 'curselection' )
> 
> 
> 
> 
> ---
> Este email foi escaneado pelo Avast antivírus.
> https://www.avast.com/antivirus
> 
> ______________________________________________
> R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.



More information about the R-help mailing list