Re: combined mouse and button event in a drawing area

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

 



On Thu, Jan 5, 2012 at 9:55 PM, victor-victor <nadaeck@xxxxxxxxxxx> wrote:

> 1) my widget is a drawing area; the 2 signals are emited when I use the
> mainWindow widget (that contains the drawingarea) but not the drawing area
> widget in itself; I don't see where is the problem;

you set the event mask for the mainWindow and then you connected to
signals emitted by mainWindow. what do you expect?

> 2) I use the GDK_BUTTON_MOTION_MASK option because I want the mouse motion
> to be considered only when the mouse button is pressed; in my case, EVERY
> mouse motion is reported...

not sure why you think this mask does this.
_______________________________________________
gtk-list mailing list
gtk-list@xxxxxxxxx
http://mail.gnome.org/mailman/listinfo/gtk-list


[Index of Archives]     [Touch Screen Library]     [GIMP Users]     [Gnome]     [KDE]     [Yosemite News]     [Steve's Art]

  Powered by Linux