Thread: Tkinter Tabs

    #1
  1. No Profile Picture
    Contributing User
    Devshed Novice (500 - 999 posts)

    Join Date
    Nov 2004
    Location
    There where the rabbits jump
    Posts
    556
    Rep Power
    11

    Tkinter Tabs


    Well...

    As the titel says:

    Are there Tabs in Tkinter or not?
    and if then how do I use them?
  2. #2
  3. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Nov 2004
    Posts
    394
    Rep Power
    51
    Hi!

    Ehm, what is a tab? A table, tabulator, ...? (I'm sorry if I should know this, but my english is not the best )

    Regards, mawe
  4. #3
  5. No Profile Picture
    Contributing User
    Devshed Novice (500 - 999 posts)

    Join Date
    Nov 2004
    Location
    There where the rabbits jump
    Posts
    556
    Rep Power
    11
    Okay well it is quite unclear I meant the Tabs in a window:

    ________________________________
    | | | | | | | | |

    something like that
    where you can choose which part of a program you want to use
  6. #4
  7. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Nov 2004
    Posts
    394
    Rep Power
    51
    Ah, great ASCII-art

    So I guess you mean a notebook-widget. No, Tkinter doesn't have one. But there's a simple one in the Cookbook.
    You can see the code here.

    I'm not sure, but I think the PMW do have a notebook-widget.

    Regards, mawe
  8. #5
  9. No Profile Picture
    Contributing User
    Devshed Novice (500 - 999 posts)

    Join Date
    Nov 2004
    Location
    There where the rabbits jump
    Posts
    556
    Rep Power
    11
    does Wxpython maybe have it
  10. #6
  11. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Nov 2004
    Posts
    394
    Rep Power
    51
    Jep.
  12. #7
  13. Mini me.
    Devshed Novice (500 - 999 posts)

    Join Date
    Nov 2003
    Location
    Cambridge, UK
    Posts
    783
    Rep Power
    13
    Don't forget the excellent Python mega widgets:
    http://pmw.sourceforge.net/

    grim
  14. #8
  15. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Nov 2004
    Posts
    394
    Rep Power
    51
    That's what I meant with PMW (should have written the whole name ...)
  16. #9
  17. Mini me.
    Devshed Novice (500 - 999 posts)

    Join Date
    Nov 2003
    Location
    Cambridge, UK
    Posts
    783
    Rep Power
    13
    Originally Posted by mawe
    That's what I meant with PMW (should have written the whole name ...)
    Missed your post

    grim
  18. #10
  19. No Profile Picture
    Contributing User
    Devshed Novice (500 - 999 posts)

    Join Date
    Nov 2004
    Location
    There where the rabbits jump
    Posts
    556
    Rep Power
    11
    oh okay

    how do I download them
    Last edited by monkeyman23555; May 12th, 2005 at 11:04 AM.
  20. #11
  21. Mini me.
    Devshed Novice (500 - 999 posts)

    Join Date
    Nov 2003
    Location
    Cambridge, UK
    Posts
    783
    Rep Power
    13
    Originally Posted by monkeyman23555
    oh okay

    how do I download them
    Did you go to the web page I posted and click the download link?
    Did you read the "Getting started.." document?
    Which bit is the problem?
    grim
  22. #12
  23. No Profile Picture
    Contributing User
    Devshed Novice (500 - 999 posts)

    Join Date
    Nov 2004
    Location
    There where the rabbits jump
    Posts
    556
    Rep Power
    11
    The first time I went on the site, it gave me a list of whta you can do and now the second time it could download it thanks

    but since there is no install file. where do I place it? (the package)
    Last edited by monkeyman23555; May 12th, 2005 at 01:29 PM.
  24. #13
  25. Mini me.
    Devshed Novice (500 - 999 posts)

    Join Date
    Nov 2003
    Location
    Cambridge, UK
    Posts
    783
    Rep Power
    13
    Originally Posted by monkeyman23555
    The first time I went on the site, it gave me a list of whta you can do and now the second time it could download it thanks

    but since there is no install file. where do I place it? (the package)
    You now need to put this directory somewhere python can find it, preferably in one of the standard places, such as in the site-packages directory (eg: /usr/lib/python2.2/site-packages/Pmw) or the sys.prefix directory (eg: C:\Program Files\Python\Pmw or /usr/lib/python2.2).
    To quote the Getting started guide

    Please dont ask us how to use tabs until you have PMW working and tried out the demo code.

    grim
  26. #14
  27. No Profile Picture
    Contributing User
    Devshed Novice (500 - 999 posts)

    Join Date
    Nov 2004
    Location
    There where the rabbits jump
    Posts
    556
    Rep Power
    11
    well i am off to learn thanks for all the help

IMN logo majestic logo threadwatch logo seochat tools logo