correction : Re: pygtk button event

2007-03-27 Thread [EMAIL PROTECTED]
Oups a small mistake: bt=application.get_widget('button1') [EMAIL PROTECTED] wrote: > Hi > > > i am trying to implement the following: > > I want to be able to press a button, perform a task and return a > value. > > my button is named button1 and I used glade to build the gui. > > so, someth

pygtk button event

2007-03-27 Thread [EMAIL PROTECTED]
Hi i am trying to implement the following: I want to be able to press a button, perform a task and return a value. my button is named button1 and I used glade to build the gui. so, something like this should work application=gtk.glade.XML('app.glade','app') bt=app.get_widget('button1