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
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
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
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 dif
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 case
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 everyth
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 propert
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 of
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 here
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 leo\plugins\le
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
11 matches
Mail list logo