Get mouse events in Gtk::Window

Hello I am writing an application in which I have MPlayer embedded in a window. I am trying to retrieve mouse events from the window. I have tried to set_events("button-press-mask") on the embedded element, but that did not allow me to see button-press-events. What am I doing wrong?

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