-
Notifications
You must be signed in to change notification settings - Fork 63
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
PNP for tkinter #75
Comments
It seems there is a way to get the HWND, this looks like a good starting point: https://web.archive.org/web/20200731093951id_/http://effbot.org/tkinterbook/wm.htm#Tkinter.Wm.frame-method |
Thanks for your very fast response! class MyFrame(ttk.Frame,hid.HidPnPWindowMixin):
Result: Do you have the time to check what's going wrong? |
WMFrame seems to be legacy. I check in a REPL session that a tkinter.Frame exposes a |
Hello Rene, `# This script requires wxPython, but it could be easily (really!) changed A hook will be inserted on the message handler so the window could be used as import pywinusb.hid as hid feel free to testtarget_vendor_id = 0x640 class MyFrame(ttk.Frame,hid.HidPnPWindowMixin):
if name == "main":
|
Hello,
I tried the pnp example for wx and it works fine for me.
Is there maybe an example available for tkinter available?
tkinter does not provide a handle, do you have some hints for me how to implement pnp for tkinter?
Thanks in advance,
GW
The text was updated successfully, but these errors were encountered: