How to create a Collapsible button in a python 3.7 GUI

Hi !!!

I’m developing an application in python 3.7 using qt and I would like to create a collapsible button as the used in 3D slicer (ctk.ctkCollapsibleButton()). I tried to download ctk but it seems to don’t have this class inside. Does anyone can help me?

Thanks.

The ctk pypi package is built off of an old version of CTK that is no longer supported. Slicer builds and python wraps CTK itself to provide that functionality. It is not currently available outside of Slicer.