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 displaying data and the data source changes.

I've tried notebook.emit('switch-page', page, pageNum) and
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?

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