Squeak Class Documentation category index | class index  
 
SelectionMenu
  category: Tools-Menus
  superclass: PopUpMenu
  subclasses: CustomMenu EmphasizedMenu StandardFileMenu

No comment. Sorry.

instance methods
  accessing
  selections
selections:

  basic control sequence
  invokeOn:
startUpWithCaption:at:

class methods
  instance creation
  fromArray:
labelList:
labelList:lines:
labelList:lines:selections:
labelList:selections:
labels:lines:
labels:lines:selections:
labels:selections:
selections:
selections:lines:

instance methods
  accessing top  
 

selections


 

selections:


  basic control sequence top  
 

invokeOn:

Pop up this menu and return the result of sending to the target object
the selector corresponding to the menu item selected by the user. Return
nil if no item is selected.


 

startUpWithCaption:at:

Overridden to return value returned by manageMarker.


class methods
  instance creation top  
 

fromArray:

Construct a menu from anArray. The elements of anArray must be either:
* A pair of the form: <label> <selector>
or * The 'dash' (or 'minus sign') symbol

Refer to the example at the bottom of the method


 

labelList:


 

labelList:lines:


 

labelList:lines:selections:


 

labelList:selections:


 

labels:lines:

Answer an instance of me whose items are in labels, with lines drawn
after each item indexed by linesArray. Labels can be either a string
with embedded CRs, or a collection of strings.


 

labels:lines:selections:

Answer an instance of me whose items are in labels, with lines drawn
after each item indexed by linesArray. Labels can be either a string
with embedded CRs, or a collection of strings. Record the given array of
selections corresponding to the items in labels.


 

labels:selections:

Answer an instance of me whose items are in labels, recording
the given array of selections corresponding to the items in labels.


 

selections:

Answer an instance of me whose labels and selections are identical.


 

selections:lines:

Answer an instance of me whose labels and selections are identical.