[gtkmm] cannot compile signal_focus_out_event(): what is my problem?
- From: "Andreas B. Thun" <abt gmx de>
- To: gtkmm-list <gtkmm-list gnome org>
- Subject: [gtkmm] cannot compile signal_focus_out_event(): what is my problem?
- Date: Tue, 13 Apr 2004 14:54:34 +0200
.cpp:
m_entryId.signal_focus_out_event().connect(slot(*this, &ConstraintEdit::entryIdFocusOut));
void ConstraintEdit::entryIdFocusOut(GdkEventFocus* event)
{
}
.h:
Gtk::Entry m_entryId;
void entryIdFocusOut(GdkEventFocus* event);
I get:
ConstraintEdit.cpp:64: error: no matching function for call to `
Glib::SignalProxy1<bool, GdkEventFocus*>::connect(SigC::Slot1<void,
GdkEventFocus*>)'
/usr/include/gtkmm-2.0/glibmm/signalproxy.h:136: error: candidates are:
SigC::Connection Glib::SignalProxy1<R, P1>::connect(const SigC::Slot1<R,
P1>&, bool) [with R = bool, P1 = GdkEventFocus*]
make: *** [ConstraintEdit.o] Fehler 1
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]