Sha256: b82124914a994404fea635b2eb0c4a43e51efc93302a1574a7ad04d1d7f4f553

Contents?: true

Size: 1.63 KB

Versions: 6

Compression:

Stored size: 1.63 KB

Contents

# :stopdoc:
# Copyright (c) 2023 M.J.N. Corino, The Netherlands
#
# This software is released under the MIT license.
# :startdoc:


module Wx

  class App

    # Set the menu item id for the About menu item.
    # Default is {Wx::ID_ABOUT}
    # @param [Integer] id
    # @wxrb_require WXOSX
    def set_mac_about_menu_itemid(id) end
    alias :mac_about_menu_itemid= :set_mac_about_menu_itemid

    # Get the current menu item id for the About menu item.
    # Default is {Wx::ID_ABOUT}
    # @return [Integer]
    # @wxrb_require WXOSX
    def get_mac_about_menu_itemid(id) end
    alias :mac_about_menu_itemid :get_mac_about_menu_itemid

    # Set the menu item id for the Preferences menu item.
    # Default is {Wx::ID_PREFERENCES}
    # @param [Integer] id
    # @wxrb_require WXOSX
    def set_mac_preferences_menu_itemid(id) end
    alias :mac_preferences_menu_itemid= :set_mac_preferences_menu_itemid

    # Get the current menu item id for the Preferences menu item.
    # Default is {Wx::ID_PREFERENCES}
    # @return [Integer]
    # @wxrb_require WXOSX
    def get_mac_preferences_menu_itemid(id) end
    alias :mac_preferences_menu_itemid :get_mac_preferences_menu_itemid

    # Set the menu item id for the Exit menu item.
    # Default is {Wx::ID_EXIT}
    # @param [Integer] id
    # @wxrb_require WXOSX
    def set_mac_exit_menu_itemid(id) end
    alias :mac_exit_menu_itemid= :set_mac_exit_menu_itemid

    # Get the current menu item id for the Exit menu item.
    # Default is {Wx::ID_EXIT}
    # @return [Integer]
    # @wxrb_require WXOSX
    def get_mac_exit_menu_itemid(id) end
    alias :mac_exit_menu_itemid :get_mac_exit_menu_itemid

  end

end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
wxruby3-0.9.8 lib/wx/doc/app.rb
wxruby3-0.9.7 lib/wx/doc/app.rb
wxruby3-0.9.5 lib/wx/doc/app.rb
wxruby3-0.9.4 lib/wx/doc/app.rb
wxruby3-0.9.3 lib/wx/doc/app.rb
wxruby3-0.9.2 lib/wx/doc/app.rb