pylibui icon indicating copy to clipboard operation
pylibui copied to clipboard

Run from iPython/Jupyter Notebook

Open ebraminio opened this issue 6 years ago • 0 comments

Jupyter Notebooks (can be installed with pip install jupyter notebook and run with jupyter notebook) has mainly data processing usage and such but is also tweaked to support pyqt and wxpython, I wonder, if it would possible to support libui on it also, steps to reproduce:

  1. Open jupyter notebook on pylibui folder
  2. Create a notebook and paste a sample pylibui code on it
  3. Close the created window

Expected: Everything goes smoothly and I could repeat running of the sample code

Actual: Jupyter will not notice even the created window is closed or crashes.

I think things can be tweaked to work more smoothly, for example see this documentation, it seems IPython.lib.guisupport provides good utilities to enhance the support.

ebraminio avatar Sep 18 '17 05:09 ebraminio