How to catch mouse events from a GtkImage?
- From: "Damián Cinich" <damiancinich gmail com>
- To: gtk-app-devel-list gnome org
- Subject: How to catch mouse events from a GtkImage?
- Date: Wed, 26 Apr 2006 02:32:18 -0300
Hi,
I have a little piece of code where I connect the signals
corresponding to the mouse events to a GtkImage, and then the callback
prints a message when it detect some of these signals, but it doesn't
seems to work. If I connect them to a GtkWindow it works, but it
doesn't with the GtkImage.
Additionaly, the goal of catch the mouse events is to get the x and y
coordinates of the GtkImage for drag it arount the GtkWindow. Is it
possible? How can i do this?
I have attached the code in the mail.
Thanks!
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]