::tk::PlaceWindow is wrong
Closed / Invalid819227ffffffffffffffffffffffffffffffffffCreated 23 years agoUpdated 23 years ago
Descriptionplain2003-10-07 12:40:55
# ::tk::PlaceWindow --
# place a toplevel at a particular position
# Arguments:
# toplevel name of toplevel window
# ?placement? pointer ?center? ; places $w centered
on the pointer
# widget widgetPath ; centers $w over
widget_name
# defaults to placing toplevel in the
middle of the screen
^^^^^^^^^^^^^^^ BUG
# ?anchor? center or widgetPath
# Results:
# Returns nothing
#
=> this is wrong because the condition fails ....
a) first condition .....
[string equal -len [string length $place] $place
"pointer"]
thist ist true for $place == "" => the default ....
=> pointerplacement ist the default and !not! the
middle of
the screen
mfg
aotto
dgp Closed ticket [819227ffff].
[History diff]2003-10-07 20:30:48
dgpplain2003-10-07 20:30:49
Logged In: YES user_id=80530 This is not a Tcl bug. File with the tktoolkit project. Use Category "Bindings"
dgp Ticket [819227ffff]: 2 changes
[History diff]2003-10-07 20:30:50
Log in (anonymous is fine) to add a comment.