Re: [pygtk] ProgressBar widget click event

2006-11-07 Thread Noah Schwartz
On Tuesday 07 November 2006 06:55, Alessandro Pellizzari wrote: Il giorno lun, 06/11/2006 alle 19.00 -0500, Noah Schwartz ha scritto: I don't seem to be able to capture the click event for ProgressBar. I tried connecting the button-press-event to a function but, it wasn't getting called

Re: [pygtk] ProgressBar widget click event

2006-11-07 Thread Noah Schwartz
On Tuesday 07 November 2006 12:14, Tom Cato Amundsen wrote: Maybe I am wrong, but the progressbar doesn't support clicking events. You can create a button (which is a container) and associate a progress bar as child. This way, when you press the progress bar, you really press the

[pygtk] ProgressBar widget click event

2006-11-06 Thread Noah Schwartz
I don't seem to be able to capture the click event for ProgressBar. I tried connecting the button-press-event to a function but, it wasn't getting called. Then I set it up to capture all events and still I wasn't capturing clicks. What I need to do is to be able to pass the click event back up

[pygtk] Progress bar as tab for a notebook page

2006-11-02 Thread Noah Schwartz
Hi, I am using the notebook widget in my application and in the tab for the each of the pages there is a progressbar and a button. The problem is that clicking somewhere on that progress bar doesnt activate the tab. Is there a way for to set up that progress bar widget so that it does

[pygtk] Putting a PyObject in a ListStore

2006-09-15 Thread Noah Schwartz
Hi, I'd like one of the columns in my ListStore to contain a PyObject. I have defined the __str__ and __repr__ (both return a string) for the object I would like to put in the column and have created my ListStore like so: self.listStoreJobs = gtk.ListStore(gobject.TYPE_PYOBJECT, int)