Re: events do NOT respond :S



HeavyJoost wrote:
> 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?

As in your previous posts about the same problem I don't think there's
anything wrong with your code... I suspect you should look into your
libsigc++ installation...

> _______________________________________________
> gtkmm-list mailing list
> gtkmm-list gnome org
> http://mail.gnome.org/mailman/listinfo/gtkmm-list
> 




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]