On 11/26/06, weijie <[EMAIL PROTECTED]> wrote:
Hi, I have attached the source, main.cc It works with and without & You mean it doesn't work neither with nor without?
I used: bool on_prefs_cancel_btn_clicked(GdkEventAny* ev) ... prefs_diag->signal_delete_event().connect( sigc::ptr_fun(&on_prefs_cancel_btn_clicked) ); And it worked. signal_delete_event() returns Glib::SignalProxy1<file:///D:/Programs/GTK/share/doc/glibmm-2.4/docs/reference/html/classGlib_1_1SignalProxy1.html>< bool,GdkEventAny* > so your listener must use 1 argument of type GdkEventAny*, return bool. -- WBR, Pavlo Korzhyk ICQ#155870780
_______________________________________________ gtkmm-list mailing list [email protected] http://mail.gnome.org/mailman/listinfo/gtkmm-list
