An app for fullscreen boots?

I looked through the documentation but didn’t find anything - is there a way to make Shoes display in full screen?

Maybe something like ..

Shoes.app :fullscreen => true do
  para "test"
end

In the source code, the following lines mention "full screen mode" (among others):

shoes/app.c:58:  app->fullscreen = FALSE;
shoes/native/cocoa.m:851:  if (app->fullscreen) {
shoes/native/gtk.c:557:  if (app->fullscreen)
shoes/native/cocoa.m:872:shoes_native_app_fullscreen(shoes_app *app, char yn)
shoes/native/windows.c:934:  if (app->fullscreen)
shoes/native/windows.c:935:    style = WINDOW_STYLE_FULLSCREEN;

.. so that everything seems to be there, is it just that execution :fullscreen => trueseems ineffective?

+3
source share
1 answer

Opps, the code app->fullscreenprovided in the question was from the latest development code, not the current version 2/Raisins.

$ git co 2/Raisins 
HEAD is now at 42dda8a...  * bugs: closing some bugs, moving others to the next release.
$ grep -r -i fullscreen *
[nothing]
$ git co master 
Switched to branch "master"
$ grep -r -i fullscreen *
shoes/app.c:  app->fullscreen = FALSE;
[...]

:fullscreen will work in the next version!

+4
source

Source: https://habr.com/ru/post/1705982/


All Articles