events do NOT respond :S
- From: HeavyJoost <heavyjoost gmail com>
- To: gtkmm-list gnome org
- Subject: events do NOT respond :S
- Date: Tue, 04 Oct 2005 03:47:53 +0200
For some reason events are not received by my program, while I think it
should.
I use this piece of code:
buttonBack.set_events(Gdk::ALL_EVENTS_MASK);
buttonBack.signal_button_press_event().connect(sigc::mem_fun(*this,&MainWindow::BackClick));
Where buttonBack is a Gtk::Button. Bool
MainWindow::BackClick(GdkEventButton* event) is a simple function that
shows some message like "hello" using std::cout.
What is wrong with my code?
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]