Hi, I was playing with the windows desktop export and I was wondering:
1) Is there a method to set an app to start in "full screen"? I am thinking about something like: Application:setFullScreen(true)
2) Is there a way to switch back to "windowed mode" if desktop exported app has been set fullscreen with the Windows' "maximize window" button?
Thank you
Comments
2) If you use windowed mode, you need to provide with a button with application:setFullScreen(false) yourself within the app.
Currently you also can do application:set() and application:get() in desktop export, you can obtain available API with application:set("help") and application:get("help")
If you need another desktop window function, just tell me.
Likes: E1e5en
I have a question please.
How can I get the position of my app on my windows screen?
I tried this code:
print(application:get("help"))
print(application:get("windowSize"), application:get("screenSize"))
All the results are always 0.
Is my code correct?
When I use application:set(...) this works fine:
print(application:set("help"))
application:set("windowTitle", "Gideros Rocks!")
application:set("windowPosition", 64, 64)
...
How can I position my app to be in the center of the screen (windows 10)?
Thank you for your help.
EDIT: I tried it in the gideros player and on a windows export.
https://github.com/gideros/gideros/blob/master/libgid/src/qt/platform-qt.cpp
This tool allows you to test every transitions and easings available (as per gideros github samples). Enjoy!
PS: you can compile it to windows so you have it as a normal windows app.