I have an idea rattling in my brain and one of the big pieces of it is about UI.
With UI in Pythonista, is it possible to have a secondary presentation shown on an external display (projector, TV) via Lightning to HDMI/VGA adapter?
So one potential application would be having a grid of slides on your iPad UI with a projector only showing the currently selected slide.
This is a possible thing in iOS. I have some apps that have a "presentation mode." (Keynote for example does this (by default?) when connected to an external display).
Anyway- wondering if it's possible! Thanks!
I'm thinking it may be possible with ctypes and the beta.
using the apple docs I have been able to
get the list of
UIScreen.screens, and access the current screen object.
create a new
UIWindowand add a subview to it (via a
I don't have an external display... so not sure if is possible to proceed further. we'd need to se the UIWindow screen property to point to the second screen, and set the window size. I have not had any luck setting the frame size, perhaps because I just really don't get objective c. trying to set the scene property crashes, as does trying to Unhide the window.
Okay- thanks for your input. I really was wondering if it's possible- of course getting there is always the interesting part.
For now I'll put this on the shelf. I don't have the beta and I'm really just a beginner at Python - trying to add in objective C makes things sound very complicated.
Perhaps someday I'll try at this one! I have a lot of use for something like that- (a lot of presentations)!