Catch mouse events



Hi,

Is there a simple way to capture mouse events just like the example 
application does with keyboard events?

I tried  

gtk_signal_connect(GTK_OBJECT(window), "button-press-event",
   GTK_SIGNAL_FUNC(vnc_click), vnc);

but it only works if the vnc client is in read only mode.

Regards,
  Marton


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