Re: [pygtk] ProgressBar widget click event

2006-11-07 Thread Alessandro Pellizzari
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. Then I set it up to capture all events and still I wasn't capturing

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 Tom Cato Amundsen
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 button, that emits the clicked signal. You can give no border to

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