Re: [Tutor] Listbox help

2005-08-31 Thread Kent Johnson
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  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor


[Tutor] Listbox help

2005-08-31 Thread David Holland
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.

Thanks in advance.

David



___ 
To help you stay safe and secure online, we've developed the all new Yahoo! 
Security Centre. http://uk.security.yahoo.com
___
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor