Top-rated recipes tagged "draggable"http://code.activestate.com/recipes/tags/draggable/top/2017-03-03T14:13:14-08:00ActiveState Code RecipesTkinter draggable list V2 (Python) 2017-03-03T14:13:14-08:00Miguel Martínez Lópezhttp://code.activestate.com/recipes/users/4189907/http://code.activestate.com/recipes/580748-tkinter-draggable-list-v2/ <p style="color: grey"> Python recipe 580748 by <a href="/recipes/users/4189907/">Miguel Martínez López</a> (<a href="/recipes/tags/draggable/">draggable</a>, <a href="/recipes/tags/list/">list</a>, <a href="/recipes/tags/tkinter/">tkinter</a>). Revision 3. </p> <p>This version use tkinter frame instead of ttk frame.</p> <p>This next link is version 1 (It's the same code but it uses ttk frame):</p> <p><a href="https://code.activestate.com/recipes/580717-sortable-megawidget-in-tkinter-like-the-sortable-w/" rel="nofollow">https://code.activestate.com/recipes/580717-sortable-megawidget-in-tkinter-like-the-sortable-w/</a></p> Sortable megawidget in tkinter (like the sortable widget in jquery UI) or draggable list (Python) 2017-03-03T14:11:42-08:00Miguel Martínez Lópezhttp://code.activestate.com/recipes/users/4189907/http://code.activestate.com/recipes/580717-sortable-megawidget-in-tkinter-like-the-sortable-w/ <p style="color: grey"> Python recipe 580717 by <a href="/recipes/users/4189907/">Miguel Martínez López</a> (<a href="/recipes/tags/draggable/">draggable</a>, <a href="/recipes/tags/list/">list</a>, <a href="/recipes/tags/megawidget/">megawidget</a>, <a href="/recipes/tags/sortable/">sortable</a>, <a href="/recipes/tags/tkinter/">tkinter</a>). Revision 13. </p> <p>Sortable element list for tkinter using drag and drop.</p> <p>This version use themed Tk. My other version doesn't use ttk:</p> <p><a href="https://code.activestate.com/recipes/580748-tkinter-draggable-list-v2/" rel="nofollow">https://code.activestate.com/recipes/580748-tkinter-draggable-list-v2/</a></p> Draggable desktop Note or Sticky Notes in Tkinter (Python) 2017-01-28T21:43:00-08:00Miguel Martínez Lópezhttp://code.activestate.com/recipes/users/4189907/http://code.activestate.com/recipes/578885-draggable-desktop-note-or-sticky-notes-in-tkinter/ <p style="color: grey"> Python recipe 578885 by <a href="/recipes/users/4189907/">Miguel Martínez López</a> (<a href="/recipes/tags/desktop/">desktop</a>, <a href="/recipes/tags/draggable/">draggable</a>, <a href="/recipes/tags/note/">note</a>, <a href="/recipes/tags/sticky/">sticky</a>, <a href="/recipes/tags/tkinter/">tkinter</a>). Revision 14. </p> <p>Inspired by "A-Note": <a href="http://a-note.sourceforge.net/" rel="nofollow">http://a-note.sourceforge.net/</a></p> <p>And based on these tricks: </p> <ul> <li><a href="https://stackoverflow.com/questions/11544187/tkinter-resize-text-to-contents" rel="nofollow">https://stackoverflow.com/questions/11544187/tkinter-resize-text-to-contents</a></li> </ul> <p>But here I am using my improved version of the automatic resized Text widget: <a href="https://code.activestate.com/recipes/578886-automatic-resized-text-widget-tkinter/" rel="nofollow">https://code.activestate.com/recipes/578886-automatic-resized-text-widget-tkinter/</a></p> <ul> <li><a href="https://stackoverflow.com/questions/6104991/transparent-colors-tkinter" rel="nofollow">https://stackoverflow.com/questions/6104991/transparent-colors-tkinter</a></li> </ul> <p>Features:</p> <ul> <li>The note is draggable</li> <li>You can minimize the note at the left side of the screen or maximize it</li> <li>You can hide the contents of the note</li> <li>Hotkeys to save content of note to a file, open content of file inside a note and show help.</li> </ul> <p>Please, comment me whether you see some bug.</p> Simultaneous panels (Tkinter). Moving several panels at the same time in panedwindow widgets. (Python) 2017-01-15T15:02:09-08:00Miguel Martínez Lópezhttp://code.activestate.com/recipes/users/4189907/http://code.activestate.com/recipes/578873-simultaneous-panels-tkinter-moving-several-panels-/ <p style="color: grey"> Python recipe 578873 by <a href="/recipes/users/4189907/">Miguel Martínez López</a> (<a href="/recipes/tags/draggable/">draggable</a>, <a href="/recipes/tags/pannedwindow/">pannedwindow</a>, <a href="/recipes/tags/syncronous/">syncronous</a>, <a href="/recipes/tags/tkinter/">tkinter</a>). Revision 14. </p> <p>Several paned windows which you can drag their shash at the same time. They are grouped by tags.</p>