RE: [gtkmm] Mouse problems



> From: Stephens, Ben J (UK) [mailto:ben j stephens baesystems com] 
> // Nor is this
> bool MainWindow::on_button_press_event(GdkEventButton *event)
> {
> 	cout << "Button pressed" << endl;
> 	
> 	Gtk::Widget::on_button_press_event(event);

This looks strange. The base class of your MainWindow class is Gtk::Window,
not Gtk::Widget. It might not be a problem though.

Murray Cumming
murrayc usa net
www.murrayc.com



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