#2496 ::tk::PlaceWindow is wrong

obsolete: 8.4.1
closed-invalid
None
5
2003-10-07
2003-10-07
Anonymous
No

# ::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

Discussion

  • Don Porter

    Don Porter - 2003-10-07
    • status: open --> closed
     
  • Don Porter

    Don Porter - 2003-10-07
    • labels: 105676 -->
    • status: closed --> closed-invalid
     
  • Don Porter

    Don Porter - 2003-10-07

    Logged In: YES
    user_id=80530

    This is not a Tcl bug.
    File with the tktoolkit project.
    Use Category "Bindings"

     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks