Page 1 of 1

Problem with HideDisplay and RapaGUI

Posted: Thu Aug 03, 2023 9:32 pm
by NathanH
Hi,

This code works fine on OS 3.9. Notice the @REQUIRE line is commented out.

Code: Select all

@DISPLAY {x=1, y=1, width=1, height=1, color=#WHITE, borderless=True}
@APPIDENTIFIER "Test"
;@REQUIRE "rapagui"
HideDisplay()
Requiring RapaGUI throws an error in HideDisplay() given below.

Code: Select all

@DISPLAY {x=1, y=1, width=1, height=1, color=#WHITE, borderless=True}
@APPIDENTIFIER "Test"
@REQUIRE "rapagui"
HideDisplay()
What gives?

NathanH

Re: Problem with HideDisplay and RapaGUI

Posted: Fri Aug 04, 2023 2:47 pm
by plouf
RapaGUI close all displays durring startup -> https://www.hollywood-mal.com/docs/html ... eTags.html
use @REQUIRE "rapagui", {HideDisplays = False}, to avoid that
also depended on your app you may found most usefull Hollywood.Display class , which practically opens a display inside GUI (like a gadget/class)
to my at least is most clear/easier

Re: Problem with HideDisplay and RapaGUI

Posted: Fri Aug 04, 2023 5:34 pm
by NathanH
Thanks, I had missed that.

NathanH