Article 5B41B gui toolkit drag and drop of WIDGETS

gui toolkit drag and drop of WIDGETS

by
xahodo
from LinuxQuestions.org on (#5B41B)
For a program I'm looking to develop I need to be able to allow the user to add/remove/reorganize widgets.

I checked both fltk and qt and, while they do have drag and drop functionality available, that functionality seems to only be available to data contained in widgets and not the widgets themselves.

Now, I could just respond to the left mouse button down event and manually follow the mouse around with the widget, but would it be possible to move a widget from one container to another (no need to change from one window to another, just another box) or would mouse down automatically trigger the drag event on the data the widget holds?

I do like fltk's simplicity, but does that simplicity affect its usability?latest?d=yIl2AUoC8zA latest?i=Mq0LvqMQQAo:EBEJCHtuOMg:F7zBnMy latest?i=Mq0LvqMQQAo:EBEJCHtuOMg:V_sGLiP latest?d=qj6IDK7rITs latest?i=Mq0LvqMQQAo:EBEJCHtuOMg:gIN9vFwMq0LvqMQQAo
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments