Nice!  There is a problem in closing the window.  The console (at least in 
Windows) will hang if the slide show is ended with 'q', or if you cancel 
out of the directory select dialog.  It will complete without hanging if 
you click the close box of the slide show frame.

On Saturday, October 23, 2021 at 9:44:52 PM UTC-4 Edward K. Ream wrote:

> See PR #2292 <https://github.com/leo-editor/leo-editor/pull/2292>.
>
> You can now invoke the plugin outside of Leo this way:
>
> python -m leo.plugins.picture_viewer
>
> At present the code isn't flexible.  The main function calls:
>
> Slides().run(
>     c=None,
>     delay=1000,
>     full_screen=True,
>     reset_zoom=True,
>     sort_kind='random',
>     verbose=False,
> )
>
> This is good enough for me, but it would be better to use Python's 
> argparse module to set the various kwargs from the command-line.  All 
> contributions gratefully accepted :-)
>
> 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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/leo-editor/87b00266-3f14-49bb-9beb-26a9be3fe4ddn%40googlegroups.com.

Reply via email to