Method: CDK::MENU#selectItem
- Defined in:
- lib/cdk/components/menu.rb
#selectItem(item, offset) ⇒ Object
Highlight the current sub-menu item
160 161 162 163 164 165 |
# File 'lib/cdk/components/menu.rb', line 160 def selectItem(item, offset) Draw.writeChtypeAttrib(@pull_win[@current_title], 1, item + CDK::MENU::TITLELINES - offset, @sublist[@current_title][item], @subtitle_attr, CDK::HORIZONTAL, 0, @sublist_len[@current_title][item]) end |