Re: Learning flexx, part 2, and LeoWapp status

2018-11-09 Thread Almar Klein
Thanks for sharing this Edward! Thank you for your kind words about Flexx and PScript. And thanks for taking the time to write down your struggles. I'll try to boil it down to some points of action in Flexx/#516. > Almar, please correct me if I am wrong about [using props like this]. Yes, you

Re: Learning flexx, part 2, and LeoWapp status

2018-11-09 Thread Edward K. Ream
On Thursday, November 8, 2018 at 11:17:31 AM UTC-6, Terry Brown wrote: I'd evaluate the emit / react ( / action) framework too - avoids having > to have everything know about everything else. > Thanks for this. Today's work will be about communicating between the Python code in LeoApp and the

Re: Learning flexx, part 2, and LeoWapp status

2018-11-09 Thread Edward K. Ream
On Friday, November 9, 2018 at 5:18:42 AM UTC-6, Almar Klein wrote: BTW, you can use flx.ComponentProp() for components. > Thanks. I didn't know that ComponentProps existed. A pattern which I like is to define actions on a "central" PyComponent (I > refer to this as the `store` in the docs, b

Re: Wow: take a look at leoflexx.py

2018-11-09 Thread lewis
I tried running leoflexx.py from a console: python N:\git\leo-editor\leo\plugins\leoflexx.py --flexx-webruntime=firefox-browser and get this Traceback: [I 22:51:01 flexx.app] Asset store collected 2 new modules. [I 22:51:02 flexx.app] Serving apps at http://localhost:49190/ [I 22:51:02 flexx.app]

Re: Wow: take a look at leoflexx.py

2018-11-09 Thread Edward K. Ream
On Fri, Nov 9, 2018 at 6:08 AM lewis wrote: > I tried running leoflexx.py from a console: > python N:\git\leo-editor\leo\plugins\leoflexx.py > --flexx-webruntime=firefox-browser > and get this Traceback: > Oops. leoflexx.py contained: flx.launch(LeoApp, runtime='firefox-browser') Rev 1cf84

Re: Might be interesting for Leo WebApp

2018-11-09 Thread Edward K. Ream
On Mon, Nov 5, 2018 at 8:18 AM rengel wrote: JavaScript tree datastructures - an overview: > > > https://stackoverflow.com/questions/8640823/what-javascript-tree-data-structures-are-available > Thanks for this. I've put this in my flexx bookmarks folder. Edward -- You received this message bec

Re: Might be interesting for Leo WebApp

2018-11-09 Thread Edward K. Ream
On Friday, November 9, 2018 at 9:33:20 AM UTC-6, Edward K. Ream wrote: Thanks for [the JS tree structures overview] I've put this in my flexx > bookmarks folder. > This points to an important issue that will come into play later. Many of us will be interested in interfacing with Joe Orr's wor

leo look on Mac OS 10.14 Mojave broken, and workaround

2018-11-09 Thread Marc-Antoine Parent
Good day, all! Since some recent homebrew updates, Qt has been compiled for Mojave, and PyQt (or Qt) applications like Leo have become unusable. This is a known bug. https://bugreports.qt.io/browse/QTBUG-68850 There will be a partial fix in Qt 5.12, but until this lands, I found that the follow

Re: Wow: take a look at leoflexx.py

2018-11-09 Thread lewis
Running this works, launching chrome browser: python N:\git\leo-editor\leo\plugins\leoflexx.py --flexx-webruntime=browser Launching Chrome browser works: python \leo\plugins\leoflexx.py --flexx-webruntime=chrome-browser Launching Edge browser works: python \leo\plugins\leoflexx.py --flexx-webru

Re: Wow: take a look at leoflexx.py

2018-11-09 Thread lewis
Leoflexx_js.py also needs updating. Suggest changing line 173: from flx.launch(LeoMainWindow, runtime='firefox-browser') to flx.launch(LeoMainWindow) Regards Lewis On Friday, November 9, 2018 at 11:55:07 PM UTC+11, Edward K. Ream wrote: > > > Oops. leoflexx.py contained: > > flx.lau