Method: AX::Application.menu_bar_owner

Defined in:
lib/ax/application.rb

Find and return the application which owns the menu bar

This is often, but not necessarily, the same as the app that is frontmost.

Returns:



72
73
74
# File 'lib/ax/application.rb', line 72

def menu_bar_owner
  new NSWorkspace.sharedWorkspace.menuBarOwningApplication
end