YesNoBox.st
changeset 3356 4a1ab6d0be69
parent 3121 8e4d21e008c9
child 3616 d77444e898db
equal deleted inserted replaced
3355:abe6b60871f2 3356:4a1ab6d0be69
   288      YesNoBox new confirm
   288      YesNoBox new confirm
   289     "
   289     "
   290 !
   290 !
   291 
   291 
   292 confirm:aString
   292 confirm:aString
   293     "open the receiver and return true for yes, false for no.
   293     "open a modal yes-no dialog.
   294      This is an easier interface to use, since no action blocks
   294      Return true for yes, false for no.
   295      have to be defined."
   295      This is an easier interface to use, since no action blocks have to be defined."
   296 
   296 
   297     self title:aString.
   297     self title:aString.
   298     ^ self confirm
   298     ^ self confirm
   299 
   299 
   300     "
   300     "
   322 ! !
   322 ! !
   323 
   323 
   324 !YesNoBox class methodsFor:'documentation'!
   324 !YesNoBox class methodsFor:'documentation'!
   325 
   325 
   326 version
   326 version
   327     ^ '$Header: /cvs/stx/stx/libwidg/YesNoBox.st,v 1.55 2005-01-12 11:05:29 cg Exp $'
   327     ^ '$Header: /cvs/stx/stx/libwidg/YesNoBox.st,v 1.56 2006-08-24 09:24:48 cg Exp $'
   328 ! !
   328 ! !