#1
  1. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jun 2004
    Posts
    28
    Rep Power
    0

    Tkinter resizable command stopped working


    Linux, Debian, Testing.
    Python 2.3.4 (#2, Jul 5 2004, 09:15:05)

    The code:

    window_main.resizable(0, 0)

    no longer works. (window is resizable, but no errors are generated.) I think this is due to some components being upgraded, but I don't know which ones.

    Any idea what code can be used in its place?
  2. #2
  3. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jan 2004
    Posts
    84
    Rep Power
    11
    window_main.resizable(width=0, height=0)
  4. #3
  5. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jun 2004
    Posts
    28
    Rep Power
    0
    Originally Posted by rebbit
    window_main.resizable(width=0, height=0)
    Nope, doesn't work. Same effect as window_main.resizable(0, 0)
  6. #4
  7. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jan 2004
    Posts
    84
    Rep Power
    11
    works fine on my version of Tkinter/Python, what version of Tkiner/Tcl/Tk are you running?
  8. #5
  9. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jun 2004
    Posts
    28
    Rep Power
    0
    Originally Posted by rebbit
    works fine on my version of Tkinter/Python, what version of Tkiner/Tcl/Tk are you running?
    Worked fine on my system about a month ago, too.

    I think I'm running 8.4 (Debian package tk8.4 is installed.)
  10. #6
  11. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jun 2004
    Posts
    28
    Rep Power
    0
    Adding the maxsize command seems to have worked around this oddness. The following code works:

    window_new_game.resizable(0, 0)
    window_new_game.maxsize(1000, 1000)

IMN logo majestic logo threadwatch logo seochat tools logo