gtkd ,drawingarea, capture mouse pressed
evilrat
evilrat666 at gmail.com
Fri May 21 12:34:08 UTC 2021
On Friday, 21 May 2021 at 12:28:36 UTC, Alain De Vos wrote:
> On a gtkd drawingarea I want to capture the mouse-pressed event
> and get the coordinates of the pointer on the area.
> I have
> ```
> addEvents(GdkEventMask.BUTTON_PRESS_MASK);
> ```
> Maybe I must add a signal-handler ?
Not a gtk user, but maybe this will help (has quite a list of
examples on gtkd, newest first)
https://gtkdcoding.com/
More information about the Digitalmars-d-learn
mailing list