tkinter OptionMenu column break

E

erikober

I'm creating a OptionMenu button for a gui and I'm having a problem
where the drop down list is so long that most of the options are off
screen. The correct behavior would be that another drop down menu list
would be created next to it with the continued options. Here is the
small code snippet that I have now:

myOptionList = .......
OMcreate = "OptionMenu(frame, myVar, \"%s\",
command=myOMCB)"%(myOptionList)

I was thinking that there must be some variable to do this. Any help
would be much appreciated. Thanks!
 
J

Jeff Epler

I don't think that Tk's menus ever use more than one column. They
certainly don't on Unix.

Jeff

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (GNU/Linux)

iD8DBQFCc9yHJd01MZaTXX0RAnlsAJwI0LTsKF4mWUU+EL4wE6H6oBuFfQCfR6Lc
330iKdOirk6xywQbDc7s5Ss=
=4BxL
-----END PGP SIGNATURE-----
 

Ask a Question

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

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,431
Messages
2,571,679
Members
48,796
Latest member
Greg L.

Latest Threads

Top