Using Gtkmm - 2.22 on my Win7 with MinGW, I am trying to compile this
program, but the
this->ntrTest->signal_focus_out_event().connect(sigc::mem_fun(*this,
&jme::myEntry::notifyOutofFocus));
gives me an error at compile time, what am I doing wrong?
class myEntry : virtual public Gtk::VBox {
private:
Gtk::Entry* ntrTest;
Gtk::Label* lblTest;
public:
myEntry();
virtual ~myEntry() {}
bool notifyOutofFocus();
};
}
myEntry::myEntry() {
this->ntrTest = Gtk::manage(new Gtk::Entry());
this->ntrTest->signal_focus_out_event().connect(sigc::mem_fun(*this,
&myEntry::notifyOutofFocus));
this->lblTest = Gtk::manage(new Gtk::Label("test", Gtk::ALIGN_LEFT));
this->pack_start(*lblTest);
this->pack_start(*ntrTest);
}
bool jme::myEntry::notifyOutofFocus(){
//Display "I ma here"
return false;
}
Thanks in advance
--------
This e-mail is for the sole use of the intended recipient and may contain
confidential or privileged information. Unauthorized use of its contents is
prohibited. If you have received this e-mail in error, please notify sender
immediately via return e-mail and then delete the original e-mail.
_______________________________________________
gtkmm-list mailing list
[email protected]
https://mail.gnome.org/mailman/listinfo/gtkmm-list