Hi,
I'm very new to pygtk and pretty new to python so forgive me if this is a
stupid question.
I have created a window in glade with a GtkText widget on it and in my
python code connected the text-changed signal (inherited from GtkEditable)
to my function text_inserted().
now, from the 'c' documentation the signal text-changed has the following
prototype:
(GtkEditable *editable,
gchar *new_text,
gint new_text_length,
gint *position,
gpointer user_data);
The function that I have connected to this signal seems to want 4 args, the
first seems to be the GtkText widget, the second seems to be the key pressed
+some random binary data, the third is an integer thats always 1 and the 4th
is a python object.
What I'm trying to find is how the arguments are mapped (so that I can work
it out for myself inthe future) and what the character is that was input.
Thanks for any help
Tony Leake
_________________________________________________________________
Chat with friends online, try MSN Messenger: http://messenger.msn.com
_______________________________________________
pygtk mailing list [EMAIL PROTECTED]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/