button-press-event only called if gtk_drag_source_set was used?



Hello everyone,

I want to catch a mouse-click on my widget, so I connected with the
'button-press-event' signal. However, it seems that it only gets called
if my widget used the 'gtk_drag_source_set()' function before. Why is
that? Now it is possible to drag from my widget, but I only wanted to
catch clicks.
Is it possible to disable dragging support without killing the
button-press-event call?




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