ttk Listbox

Kevin Walzer kw at codebykevin.com
Mon Oct 31 10:00:22 EDT 2011


On 10/31/11 12:37 AM, Ric at rdo wrote:
>
> What would be an equivalent widget in ttk like a Listbox and if
> possible a small example? I tried to look here
> http://docs.python.org/library/ttk.html but did not see anything.
>
> Maybe I did not look in the right place?
>
> tia

The listbox isn't part of the themed ttk widgets. The ttk::treview is, 
and that can be set up as a single-column list display. There may be an 
example of how to do this in the docs or source code tree (I don't use 
the widget myself so I don't have any sample code to share).

--Kevin

-- 
Kevin Walzer
Code by Kevin
http://www.codebykevin.com



More information about the Python-list mailing list