I understood that the configuration is done by the "tk configure" but I can not get the value of the properties back. like this:
tkconfigure (table, background = 'red') tkcget (table, 'background') # give me an error thanks for you help cleber ############################## > tkconfigure (table, background = 'red', titlecol=1, multiline=0 ) <Tcl> > > tkcget (table, 'background') # give me an error Error in structure(.External(.C_dotTclObjv, objv), class = "tclObj") : [tcl] invalid command name ".1.1.1". > tkcget (table, 'multiline') # give me an error Error in structure(.External(.C_dotTclObjv, objv), class = "tclObj") : [tcl] invalid command name ".1.1.1". > tkcget (table, 'titlecol') # give me an error Error in structure(.External(.C_dotTclObjv, objv), class = "tclObj") : [tcl] invalid command name ".1.1.1". > Em 05/12/2015 11:40, phgrosj...@sciviews.org escreveu:
It depends what property you are looking for… Have you tried tkcget(table, …)? Philippe Grosjean
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@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.
--- Este email foi escaneado pelo Avast antivírus. https://www.avast.com/antivirus ______________________________________________ R-help@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.