TkinterDnD2 is a python wrapper for George Petasis'' tkDnD Tk extension version 2
Project description
fork
this is fork of tkinterdnd2 which is a python wrapper for tkdnd .
this repo forked and edited to be published to pypi so one could simply install this package
with pip install tkinterdnd2
.
install
python -m pip install tkinterdnd2
usage
see any of the demos for usage examples.
tkinterdnd2
Tkinter native drag and drop support for windows, unix and Mac OSX.
What is TkInterDnD2
TkinterDnD2 is a python wrapper for George Petasis' tkDnD Tk extension version 2.
It is a domain public project.
What is TkDnD2
tkDnD2 is a tcl/Tk extension adding native drag and drop support.
What this repository is about
It package TkinterDnD2 and tkdnd2 into a standard python module.
When the extension is imported in python its location will be automatically added to the Tk search path.
In this project we use the pre-compiled release from https://github.com/petasis/tkdnd/releases/tag/tkdnd-release-test-v2.9.2 and copy them in tkinterdnd2/tkdnd.
Installation
Nothing fancy:
python setup.py install
You can then import tkinterdnd2 in your project. See examples in folder "demos".
pyinstaller
If you want to use pyinstaller, you should use the hook-tkinterdnd2.py file included. Copy it in the base directory of your project, then:
pyinstaller -F -w myproject/myproject.py --additional-hooks-dir=.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for tkinterdnd2-0.3.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ef3ff4894c75e21ddc3252eb6d1292670824bf20240b9e82da9240631bbe63fe |
|
MD5 | 12ac45b4de910c47301d1e5da37e53dc |
|
BLAKE2b-256 | e04b7830aca780e65a3ff543f3e6216f2adce18ee3df8e3baf79907fb5f51ffc |