Menu

#1798 TkAqua: overrideredirect is permanent

open
4
2006-06-18
2004-11-24
No

wm withdraw .
wm overrideredirect . 1
update idletasks
wm deiconify .
update
after 1000
wm withdraw .
wm overrideredirect . 0
update idletasks
wm deiconify .

Running the above script, the window should appear
without a titlebar for a second, then quickly disappear
and reappear with a titlebar. Instead, at the end of
the script, there is still no titlebar.

Discussion

  • Jeffrey Hobbs

    Jeffrey Hobbs - 2005-07-28

    Logged In: YES
    user_id=72656

    this is currently by design on aqua, where you cannot change
    the class of a window after creating it. various wm
    attributes require particular classes. elaborate window
    recreation and reparenting would be required to correct this.

     
  • Michael Kirkham

    Michael Kirkham - 2005-07-29

    Logged In: YES
    user_id=498198

    I realize window recreation and repariting would be
    required. I'm not sure I"d agree that it's "by design"
    since that's exactly what the Windows version does. I
    chalk it up to oversight or "just haven't gotten around to
    it," as opposed to design.

     
  • Daniel A. Steffen

    • priority: 5 --> 4
     
MongoDB Logo MongoDB