0

I want to provide a listbox where the user can select (multiple) characters (usually close to 15). Quite often some of these will be sequenced, so a listbox is easier than a validated text entry field.

Since the character combination has a meaning to the user, it is user friendly to orient the listbox horizontally.

Is there an easy way e.g. a theme, setting or subclass of the Tkinter listbox so I do not have to build my own?

1
  • It's not user-friendly to violate their expectations by having a horizontal listbox. Commented May 21, 2011 at 15:44

1 Answer 1

2

No, there is no setting, subclass or theme that will let you do that with a listbox.

What you might want to use instead is a set of check buttons with the indicator turned off so they each appear as a button with a single letter. You can then pack them all horizontally in a frame. With the indicator off, the button will appear sunken when selected, or normal otherwise.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.