[Tutor] Listbox help

Kent Johnson kent37 at tds.net
Wed Aug 31 12:07:30 CEST 2005

David Holland wrote:
> I can work out how to use most Tkinter widgets.  Eg 
> buttons like :-
>    def create_widgets(self):
>         #create GUI
>        Button(self, text = "x", command =
> self.y).grid(row = 3, column = 3, columnspan = 3)
> However I am not sure how to use Listboxes.  What
> would be the similar syntax to create a listbox.

This page has a complete example of using a listbox:

And this page has some useful snippets:


More information about the Tutor mailing list