libglade and glade_xml_signal_autoconnect() with C++ compiler?



Hi.

(For whatever reason, don't ask) I have an C++ application (foo.cc) and
I use GTK (not GTKmm) and libglade, and it seems that
glade_xml_signal_autoconnect() isn't working for me. Compiler used was
gcc v3.3.4.

The runtime error I get says "libglade-WARNING **: could not find signal
handler 'myhandler'".

The test app does have such function:
 void myhandler (GtkWidget*widget, gpointer data) {...}

* How does libglade try to locate the handler functions? (If, I have a
bug in my test app..)
* Should signal autoconnecting work with this kind of combination?

Thanks,
 Toni





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