开发者

Gtk mouse drag implementation

开发者 https://www.devze.com 2023-03-30 02:55 出处:网络
Please provide sample code for implementation of mouse drag. In Gtk (in C) I am Trying to catch a signal for mouse drag functionality.

Please provide sample code for implementation of mouse drag.

In Gtk (in C) I am Trying to catch a signal for mouse drag functionality. But unfortunately couldn't do so. I tried motion-notify-event but it is for开发者_如何转开发 pointer motion but not for mouse drag. Also i couldn't understand drag-begin, drag-end or drag-motion, Probably they are used for drag and drop, i just need to implement drag functionality.


I hope this could help: http://live.gnome.org/GnomeLove/DragNDropTutorial

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号