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 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')

Without the notebook, I get the same error, with just the signal name,
it died totally, but that could be because I forgot to change the
handler to not have any arguments.

> 
> ?
> 
> 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/
-- 
Steve McClure                   430 10th St NW
Racemi                          Suite N-210
http://www.racemi.com           Atlanta, GA 30318
[EMAIL PROTECTED]             voice/fax: 404-892-5850

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to