470,849 Members | 1,224 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 470,849 developers. It's quick & easy.

tkinter OptionMenu column break

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!

Jul 19 '05 #1
1 2658
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+EL4wE6 H6oBuFfQCfR6Lc
330iKdOirk6xywQbDc7s5Ss=
=4BxL
-----END PGP SIGNATURE-----

Jul 19 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

1 post views Thread by stewart | last post: by
2 posts views Thread by Stewart Midwinter | last post: by
2 posts views Thread by Jeffrey Barish | last post: by
1 post views Thread by Martin | last post: by
reply views Thread by mariox19 | last post: by
4 posts views Thread by Alex Hunsley | last post: by
3 posts views Thread by dwelch91 | last post: by
2 posts views Thread by Chad | last post: by
2 posts views Thread by skanemupp | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.