in reply to Re^2: Calling a TK Method by reference
in thread Calling a TK Method by reference

update: The docs are wrong.

I did not expect it either, and I haven't tested it, but this is from Tk::place (emphasis mine):

$slave->place?(-option=>value?, -option=>value, ...?)? The place method arranges for the placer to manage the geometry of $slave. The remaining arguments consist of one or more -option=>value pairs that specify the way in which $slave's geome- try is managed. If the placer is already managing $slave, then the -option=>value pairs modify the configuration for $slave. The place method returns an empty string as result.

Replies are listed 'Best First'.
Re^4: Calling a TK Method by reference
by eserte (Deacon) on Jul 09, 2004 at 10:54 UTC
    Then the doc is wrong. Which is not surprising, because it is auto-generated from the original Tcl/Tk docs, and in Tcl/Tk there's no need to write something like
    set bla [pack [label .l -text hello]]
    as there are no widget references, just path names.

    Who will supply a bug report in RT? :-)