Gtk mouse drag implementation
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
精彩评论