-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to approach Drag and Drop? #82
Comments
I think this should be achievable with a custom widget accepting a draggable set of items and containing a drop zone. Once one of the items is clicked, you would draw it at the cursor position until it is dropped. If it is dropped in the drop zone, you could produce a The main limitation of this approach is that both draggable and drop zone will be part of the same widget and flexibility when it comes to styling/layout may be difficult. Right now, this is necessary in order to control drawing properly, as layers are not supported yet (see #30). |
Interesting, let me see if I can get something done. Thanks. |
The new |
Awesome!
…On Fri, 20 Mar 2020, 14:02 Héctor Ramón, ***@***.***> wrote:
The new PaneGrid widget (see #224 <#224>)
implements drag and drop with the approach I described in my previous
comment.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#82 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABU6FTW3LFGOQUJ3FWYIWY3RINEKTANCNFSM4JSPSZTA>
.
|
I want to create drag and drop similar to this one Codepen
According to #61, I can't use gtk and I am wondering where to start.
The text was updated successfully, but these errors were encountered: