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 _gtk.gtk_signal_emitv_by_name(self._o,signal,params)
> TypeError: argument 1: expected gpointer, GtkObject found
>
> Can anyone point out my error please?
Do you need to pass the notebook as a parameter too? What happens if you
do just:
notebook.emit('switch-page', page, pageNum)
or even:
notebook.emit('switch-page')
?
Take care,
--
Christian Reis, Senior Engineer, Async Open Source, Brazil.
http://async.com.br/~kiko/ | [+55 16] 261 2331 | NMFL
_______________________________________________
pygtk mailing list [EMAIL PROTECTED]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/