problem handling "mouse button press"



hi, here's my problem, 

i got a pixmap on my main window and i would like to catch the button press event on this pixmap

to create my pixmap i use the function gtk_create_pixmap_from_xpm
and my main window only contains my pixmap

i tried the function
gtk_signal_connect(pixmap, "button_press_event", cllaback, NULL) but it doesn't work???

thanks for reading

greg, brussels, belgium





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