Search code examples
pythonuser-interfacetkinterwxpython

import a tkinter widget in wxpython application as a panel


I created a analog rpm gauge using the canvas widget of Tkinter and I want to import it in a wx GUI application (as a panel, maybe). Is there any way to do it or I must rewrite this widget in wx?


Solution

  • WxPython has a speed meter widget just use that instead.

    import wx.lib.agw.speedmeter