Method: AX::Application#show_about_window

Defined in:
lib/ax/application.rb

#show_about_windowAX::Window

Show the "About" window for the app. Returns the window that is opened.

Returns:

  • (AX::Window)


380
381
382
383
384
# File 'lib/ax/application.rb', line 380

def show_about_window
  windows = self.children.select { |x| x.kind_of? AX::Window }
  select_menu_item self.title, /^About /
  wait_for(:window, parent: self) { |window| !windows.include?(window) }
end