[pygtk] GtkObject.emit problem

2002-10-09 Thread Steve McClure
I'm sure I'm doing something dumb but I'm trying to simulate a notebook page change if the notebook is already mapped and page X is already displayed. I'm doing this because I'm loading the contents of the page on the switch signal for that page and you don't get the signal if say the dialog is

Re: [pygtk] GtkObject.emit problem

2002-10-09 Thread Christian Reis
On Wed, Oct 09, 2002 at 03:02:52PM -0400, Steve McClure wrote: notebook.emit('switch-page', notebook, page, pageNum) but I get this error: File /opt/race/share/sw/os/Linux_2.4_i686/python/lib/python2.1/site-packages/gtk.py, line 167, in emit return

Re: [pygtk] GtkObject.emit problem

2002-10-09 Thread Steve McClure
On Wed, 2002-10-09 at 15:43, Christian Reis wrote: On Wed, Oct 09, 2002 at 03:02:52PM -0400, Steve McClure wrote: notebook.emit('switch-page', notebook, page, pageNum) but I get this error: File /opt/race/share/sw/os/Linux_2.4_i686/python/lib/python2.1/site-packages/gtk.py, line

Re: [pygtk] GtkObject.emit problem

2002-10-09 Thread James Henstridge
Steve McClure wrote: I'm sure I'm doing something dumb but I'm trying to simulate a notebook page change if the notebook is already mapped and page X is already displayed. I'm doing this because I'm loading the contents of the page on the switch signal for that page and you don't get the signal

Re: [pygtk] GtkObject.emit problem

2002-10-09 Thread Steve McClure
On Wed, 2002-10-09 at 21:06, James Henstridge wrote: Steve McClure wrote: I'm sure I'm doing something dumb but I'm trying to simulate a notebook page change if the notebook is already mapped and page X is already displayed. I'm doing this because I'm loading the contents of the page on