[gtkmm] cannot handle x events



when i try to execute the code given in the gtkmm book
section x event signals,nothing  happens.
how do i handle this button press event?

the code is :

bool on_button_press(GdkEventButton* event);
Gtk::Button button("label");
button.signal_button_press_event().connect(
sigc::ptr_fun(&on_button_press) );




	
		
__________________________________
Do you Yahoo!?
Friends.  Fun.  Try the all-new Yahoo! Messenger.
http://messenger.yahoo.com/ 



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