PyXLL provides support for PySide and PyQt, wxPython, and Tkinter.
If you want to use another Python UI toolkit that’s not already supported then you still may be able to. To do
so you need to provide you own implementation of PyXLL’s CTPBridgeBase
class.
The CTP Bridge is what PyXLL uses to manage getting certain properties of the Python UI toolkit’s window or frame objects in a consistent way and passing events from Excel to Python.
See the API reference for CTPBridgeBase
for details of the methods you need to implement.
Once you have implemented your CTP Bridge you pass it to create_ctp
as the bridge_cls
keyword argument. Whatever object you pass as the widget to create_ctp
will be used to
construct your CTP Bridge object. PyXLL will take care of the rest of embedding your widget into Excel.
Warning
Writing a CTP Bridge requires detailed knowledge of the UI toolkit you are working with.
This is an expert topic and PyXLL can only offer support limited to the functionality of PyXLL, and not third party packages.