Re: Handling a menu item in a modal dialog
Bill Pitcher
"While the app is in that loop, it does not respond to any other events (including mouse, keyboard, or window-close events) unless they are associated with the window. It also does not perform any tasks (such as firing timers) that are not associated with the modal run loop. In other words, this method consumes only enough CPU time to process events and dispatch them to the action methods associated with the modal window.”
toggle quoted message
Show quoted text
Discussion: runModalForWindow "App-Modal Dialogs An app-modal dialog prevents the user from doing anything else in the app until the dialog is dismissed.” https://developer.apple.com/design/human-interface-guidelines/macos/windows-and-views/dialogs/ Consider the Modeless Dialogs A modeless dialog is usually referred to as a panel. The user can continue interacting with documents and apps uninterrupted. cheers Bill Pitcher Tutor Literacy Aotearoa - Dunedin On 14/08/2018, at 12:06 PM, James Walker <list2@...> wrote: |
|