Next: , Previous: BLOX.BDialog class-prompters, Up: BLOX.BDialog


1.11.3 BLOX.BDialog: accessing

addButton: aLabel receiver: anObject index: anInt
Add a button to the dialog box that, when clicked, will cause the #dispatch: method to be triggered in anObject, passing anInt as the argument of the callback. The caption of the button is set to aLabel.


addButton: aLabel receiver: anObject message: aSymbol
Add a button to the dialog box that, when clicked, will cause the aSymbol unary selector to be sent to anObject. The caption of the button is set to aLabel.


addButton: aLabel receiver: anObject message: aSymbol argument: arg
Add a button to the dialog box that, when clicked, will cause the aSymbol one-argument selector to be sent to anObject, passing arg as the argument of the callback. The caption of the button is set to aLabel.


contents
Answer the text that is displayed in the entry widget associated to the dialog box.


contents: newText
Display newText in the entry widget associated to the dialog box.