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:
http://effbot.org/zone/tkinter-scrollbar-patterns.htm

And this page has some useful snippets:
http://www.pythonware.com/library/tkinter/introduction/x5453-patterns.htm

Kent

_______________________________________________
Tutor maillist  -  [email protected]
http://mail.python.org/mailman/listinfo/tutor

Reply via email to