Hi everybody! I'm writing a simple game. But I've faced with problem, thet my signal handler didn't get control. It's never called! I've done as your tutorial sais.
> Signal Handler sequence > > By default, your signal handlers are called after any previously-connected > signal handlers. However, this can be a problem with the X Event signals. > For instance, the existing signal handlers, or the default signal handler, > might return true to stop other signal handlers from being called. To > specify that your signal handler should be called before the other signal > handlers, so that will always be called, you can specify false for the > optional after parameter. For instance, > > button.signal_button_press_event().connect( > sigc::ptr_fun(&on_mywindow_button_press), false ); > > This is how I override this signal: > *signal_button_press_event().connect(sigc::mem_fun(this, > &FieldView::on_button_press), false);* But it didn't work! What am I doing wrong?
_______________________________________________ gtkmm-list mailing list [email protected] http://mail.gnome.org/mailman/listinfo/gtkmm-list
