creating custom options for custom widgets?

Discussion in 'Python' started by Alexandre Guimond, Mar 22, 2006.

  1. Hi all.

    I'm creating a new widget class using Tkinter (class inherited form
    Tkinter.Frame). This class creates a bunch of other widgets inside it
    that can be "gridded" either horizontally or vertically. I would like
    to provide the user of the class an option to change this layout on the
    fly, using something like "widget[ 'layout' ] = 'vertical'". Does
    anyone have experience with that? I'm afraid i just down know how to
    proceed or where to look for an example.

    thx for any help.

    alex.
     
    Alexandre Guimond, Mar 22, 2006
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Adonis
    Replies:
    2
    Views:
    371
    klappnase
    Apr 27, 2004
  2. Replies:
    3
    Views:
    466
    Max Erickson
    Nov 10, 2005
  3. Cliff  Martin
    Replies:
    1
    Views:
    3,080
    Larry Smith
    Jan 31, 2007
  4. jacksu
    Replies:
    0
    Views:
    537
    jacksu
    Oct 9, 2007
  5. Replies:
    1
    Views:
    108
    Mumia W.
    Oct 18, 2007
Loading...

Share This Page