Skip to content

Conversation

@0StackOverflow0
Copy link

If dev passes GDISP for bS argument, then loop breaks and control is returned instantly without selection process.

This enables similar behavior to Gadgets like GButton.

Ultimately, this allows the dev to compose a screen with multiple visible controls, without the Menu needing to be the initial focus.

Add break to loop via bS as GDISP
@Ripjetski6502
Copy link
Owner

Very late looking at this. Im not sure what you mean, you can press ESC to exit the menu. Stacking menus (ie: submenus means you have to press ESC at each level). Can you provide a more specific example of the issue?

@0StackOverflow0
Copy link
Author

0StackOverflow0 commented Jan 30, 2025

I'll try to demo what I meant soon.
The rough description from memory is I created a title menu (like File, Edit, Help), and then a windowed menu.
The windowed Menu is meant to hold focus, and escapes to the Title menu.
If I recall, before this change, the Title menu could be created, but would require a User action to then compose the Windowed Menu.
The idea was to pre-stack windows before user interaction.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants