PopUpMenu.st
changeset 3235 422c2db64114
parent 2946 19af20c4f04f
child 3365 efa2c707567a
equal deleted inserted replaced
3234:1cfdfd31f67b 3235:422c2db64114
  1040     ^ menuView isEnabled:indexOrName
  1040     ^ menuView isEnabled:indexOrName
  1041 ! !
  1041 ! !
  1042 
  1042 
  1043 !PopUpMenu methodsFor:'accessing-items'!
  1043 !PopUpMenu methodsFor:'accessing-items'!
  1044 
  1044 
       
  1045 addItem:anItem
       
  1046     menuView addItem:anItem
       
  1047 !
       
  1048 
  1045 indexOf:indexOrName
  1049 indexOf:indexOrName
  1046     "return the index of a submenu - or 0 if there is none"
  1050     "return the index of a submenu - or 0 if there is none"
  1047 
  1051 
  1048     ^ menuView indexOf:indexOrName
  1052     ^ menuView indexOf:indexOrName
  1049 !
  1053 !
  1589 ! !
  1593 ! !
  1590 
  1594 
  1591 !PopUpMenu class methodsFor:'documentation'!
  1595 !PopUpMenu class methodsFor:'documentation'!
  1592 
  1596 
  1593 version
  1597 version
  1594     ^ '$Header: /cvs/stx/stx/libwidg/PopUpMenu.st,v 1.96 2004-03-20 13:18:36 cg Exp $'
  1598     ^ '$Header: /cvs/stx/stx/libwidg/PopUpMenu.st,v 1.97 2006-01-09 08:49:39 cg Exp $'
  1595 ! !
  1599 ! !