Class: MotionKit::NSMenuLayout

Inherits:
NSMenuHelpers show all
Defined in:
lib/motion-kit-osx/deprecated.rb

Instance Attribute Summary

Attributes inherited from BaseLayout

#parent

Class Method Summary collapse

Methods inherited from NSMenuHelpers

#_menu_title_and_options, #about_item, #app_menu, #app_name, #attributedTitle, #attributed_title, #bring_all_to_front_item, #close_item, #file_menu, #help_item, #help_menu, #hide_item, #hide_others_item, #keyEquivalentModifierMask, #key_equivalent_modifier_mask, #minimize_item, #new_item, #open_item, #page_setup_item, #preferences_item, #print_item, #quit_item, #revert_to_save_item, #save_as_item, #save_item, #separator_item, #services_item, #show_all_item, #state, #tag, #title, #window_menu, #zoom_item

Methods inherited from MenuLayout

#add, #add_child, #create, #default_root, #item, #menu, #remove_child, #root

Methods inherited from TreeLayout

#add, #all, #all_views, #always, #build, #built?, #child_layouts, #create, #create_default_root_context, #first, #forget, #forget_tree, #forget_view, #get, #get_view, #initial, #initial?, #initialize, #last, #last_view, #name_element, #nearest, #next, #nth, #nth_view, #prev, #reapply, #reapply!, #reapply?, #reapply_blocks, #remove, #remove_view, #root, #run_reapply_blocks, view, #view

Methods inherited from BaseLayout

#add_deferred_block, #apply, #apply_with_context, #apply_with_target, #context, #deferred, #deferred_blocks, delegate_method_fix, #has_context?, #initialize, #ipad?, #iphone35?, #iphone47?, #iphone4?, #iphone55?, #iphone?, #is_parent_layout?, #method_missing, #objc_version, #orientation?, #orientation_block, #parent_layout, #retina?, #ruby_version, #run_deferred, #set_parent_layout, #target, #tv?, #v

Methods included from BaseLayoutClassMethods

#layout_for, #memoize, #target_klasses, #targets

Constructor Details

This class inherits a constructor from MotionKit::TreeLayout

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class MotionKit::BaseLayout

Class Method Details

.inherited(subclass) ⇒ Object



35
36
37
# File 'lib/motion-kit-osx/deprecated.rb', line 35

def self.inherited(subclass)
  NSLog("Sorry!  MotionKit changed.  NSMenuLayout is now NSMenuHelpers.  Update #{subclass} to extend from NSMenuHelpers.")
end