Re: How to launch Leo via pythonw.exe with an Anaconda environment but without an extra console window?

2018-11-08 Thread Matt Wilkie
> > Scheduler or auto-run don't fit how what I'd like, I just want a shortcut > to launch Leo :) > The pip-packaged version might be an option, but I'm running Leo from Git > and also prefer to have Anaconda for installing packages. > I run Leo from Git also. You can use conda to install all

Re: Learning flexx, part 2, and LeoWapp status

2018-11-08 Thread Edward K. Ream
On Thu, Nov 8, 2018 at 11:42 AM rengel wrote: Thank you for all the detailed answers! > I might have found the answer in one of the examples (in case you're > interested: > > https://flexx.readthedocs.io/en/stable/examples/hv_layout_src.html#hv-layout-py > ) > It contains several widgets with

Added pscript.leo study outline to leo-editor-contrib/master

2018-11-08 Thread Edward K. Ream
https://github.com/leo-editor/leo-editor-contrib/blob/master/StudyOutlines/pscript.leo Edward -- You received this message because you are subscribed to the Google Groups "leo-editor" group. To unsubscribe from this group and stop receiving emails from it, send an email to

Re: Learning flexx, part 2, and LeoWapp status

2018-11-08 Thread rengel
Both the CSS and the inline style honor the color settings, but not the with and height settings. > > My guess is that the VBox() and HBox() layouts override the width and > height settings. > > Thank you for all the detailed answers! I might have found the answer in one of the examples (in

Re: Learning flexx, part 2, and LeoWapp status

2018-11-08 Thread Terry Brown
On Thu, 8 Nov 2018 08:47:39 -0800 (PST) "Edward K. Ream" wrote: > On Thursday, November 8, 2018 at 7:04:05 AM UTC-6, Edward K. Ream > wrote: > > *How to communicate between components?* I'd evaluate the emit / react ( / action) framework too - avoids having to have everything know about

Re: Learning flexx, part 2, and LeoWapp status

2018-11-08 Thread Edward K. Ream
On Thursday, November 8, 2018 at 7:04:05 AM UTC-6, Edward K. Ream wrote: I forgot to mention that instantiating a flx.Widget or flx.PyComponent does *not* cause the init methods to be called immediately. That happens (much) later. In particular, calls to self._mutate_whatever will set

Re: Learning flexx, part 2, and LeoWapp status

2018-11-08 Thread Edward K. Ream
On Thursday, November 8, 2018 at 7:04:05 AM UTC-6, Edward K. Ream wrote: *How to communicate between components?* > [big snip] Happily, flexx properties provide everything needed. Apparently, > properties must be used to communicate even between different flx.Widgets. > That is, the ivars

Re: Learning flexx, part 2, and LeoWapp status

2018-11-08 Thread Edward K. Ream
On Thursday, November 8, 2018 at 8:35:30 AM UTC-6, rengel wrote: did you set some window parameters using a CSS stylesheet? > I just talked to my brother Speed, and he said that leoflexx.py is causing files to be downloaded. Indeed it is. I'm not sure this is related to your question, but

Re: Learning flexx, part 2, and LeoWapp status

2018-11-08 Thread Edward K. Ream
On Thursday, November 8, 2018 at 8:35:30 AM UTC-6, rengel wrote: Thanks for sharing! > You're welcome. How did you run LeoMainWindow, in the browser - app.launch('browser') - or > as a desktop app - app.launch('app')? > >From a console I ran a .bat file containing just: python

Re: Learning flexx, part 2, and LeoWapp status

2018-11-08 Thread rengel
Thanks for sharing! How did you run LeoMainWindow, in the browser - app.launch('browser') - or as a desktop app - app.launch('app')? If you tried the second variant, did you set some window parameters using a CSS stylesheet? If so, how? Right now, I couldn't figure out how to set the parameters

Re: Not Leo in Flexx

2018-11-08 Thread Edward K. Ream
On Tue, Nov 6, 2018 at 9:29 AM Terry Brown wrote: For a while (since Aug. 9 2018 according to git) I've been fiddling > with a Flexx based app. that is Leo like. But not Leo. It's an > experiment with a different data model (VDCG, Vaguely Directed Cyclic > Graphs). Hehe. Good name. The