Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #39718

tkinter / gui

Newsgroups comp.lang.python
Date 2013-02-23 14:50 -0800
Message-ID <724fdb01-d042-4e2f-b19e-18df25507abb@googlegroups.com> (permalink)
Subject tkinter / gui
From Rex Macey <xer0925@gmail.com>

Show all headers | View raw


Here is one general and one specific question about creating GUIs using tkinter from a newbie.  I have created a class in which to hold some data.  I want to create a GUI to get the data from the user and store it in the object.  Browsing the web I see that a lot of examples on GUIs have the forms put into classes.  I'm not clear why.  Why is that? Second, I've created a form with a bunch of widgets on it, one of which is a listbox.  This is done with a script, not a class.   I've defined a method that responds to a Button Release event.  I know this works because I can print the value selected in the listbox while within the method.  However, I want the value of the listbox after I've closed the form.  How do I get that? Thanks. 

Back to comp.lang.python | Previous | NextNext in thread | Find similar | Unroll thread


Thread

tkinter / gui Rex Macey <xer0925@gmail.com> - 2013-02-23 14:50 -0800
  Re: tkinter / gui inq1ltd <inq1ltd@inqvista.com> - 2013-02-24 12:00 -0500
  Re: tkinter / gui Rick Johnson <rantingrickjohnson@gmail.com> - 2013-02-24 20:03 -0800

csiph-web