uiframework icon indicating copy to clipboard operation
uiframework copied to clipboard

Option to return to previous window

Open ColorTwist opened this issue 6 years ago • 1 comments

I am trying to understand this UI framework. Thank for sharing it. Would it be possible to return to a previously opened UI panel, like with a "back" or "close"?

ColorTwist avatar Dec 16 '19 16:12 ColorTwist

Hey there,

By default, Windows have history and queue built in. This means that if you open a window while another one is already open, and then do UIFrame.CloseWindow (or UI_Close() on the Window code itself, or via a button component rigged to call that method) it will automatically pop the previous Window that is opened in the History stack.

All windows that are not flagged as Force Foreground in their properties will enter a queue, and will be opened as soon as the current window is closed. Check Part 3 of the manual here regarding operating windows and the Addendum right below it regarding opening order.

yankooliveira avatar Dec 21 '19 09:12 yankooliveira