signal_connect with GtkTextBuffer



Hi to all,


I want to add an Callback to an Multiline Text Editor wich is called everytime the text is changed. The GtkTextBuffer I think is the part of the Editor that recives the "changed" signal But GtkTextBuffer isn't a GtkObject so that gtk_signal_connect() don't work in that way. I think I have to use g_object_connect(). I tried it but the "changed" signal was not accepted by this function. (Im using gtk-1.3.7)
Please help me in this case.

Thank's a lot.

Sebastian








[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]