On Wed, 28 Mar 2001, Agustín Fernández wrote:
> If I try to connect some function to the insert_text signal of a
> gtk_text I have some problems:
>
> 1) I get some garbage at the end of new_text (not a problem since I can
> cut it since I know new_text_length)
>
> 2) As position I get a PyCObject object instead of a int.
That signal argument is actually a pointer to an int (int *) -- not an
int. In GTK+, the signal argument is marked as a pointer, so my code
doesn't know what type it is. This makes that signal argument unusable.
James.
--
Email: [EMAIL PROTECTED]
WWW: http://www.daa.com.au/~james/
_______________________________________________
pygtk mailing list [EMAIL PROTECTED]
http://www.daa.com.au/mailman/listinfo/pygtk