Window.Open applicability

Discuss GUI programming with the MUI Royale plugin here

Window.Open applicability

Postby jPV » Wed Nov 08, 2017 5:50 pm

I'd want to keep some application windows closed at startup, and it would be more comfortable to define them already in the main XML file than creating new objects later. I couldn't find a proper way to define them as closed at first, because for example Window.Open documentation tells that it can't be used in XML/init.

But then I tried to define open="false" in the XML file against the documentation, and was suprised that it actually did work after all. I'd like to know if it's OK to use it there now? Or does it only happen to work on certain systems (MorphOS), but maybe not on others?
User avatar
Posts: 86
Joined: Sat Mar 26, 2016 11:44 am
Location: RNO

Re: Window.Open applicability

Postby airsoftsoftwair » Thu Nov 09, 2017 11:10 pm

No, it's perfectly fine to set it at initialization time. I've just checked MUI Royale's code and it uses some glue code to make it possible to specify Window.Open at initialization time because MUI itself only supports SG. MUI Royale, however, supports ISG. I need to update the doc :-)
User avatar
Posts: 2233
Joined: Fri Feb 12, 2010 3:33 pm
Location: Germany

Return to MUI Royale

Who is online

Users browsing this forum: No registered users and 2 guests