Re: [MacRuby-devel] handlers and carets

2011-05-07 Thread Pavlos Vinieratos
thanks. I will try that now. Do I have to do anything special with BS, or just install it? On Sat, May 7, 2011 at 3:58 AM, Laurent Sansonetti wrote: > Hi Pavlos, > > You simply pass a Proc object. > > handler = Proc.new do |result| > if result == … > ... > end > oPanel.beginSheetModalForWindow se

Re: [MacRuby-devel] handlers and carets

2011-05-07 Thread Pavlos Vinieratos
awesome. works like a charm! On Sat, May 7, 2011 at 2:05 PM, Pavlos Vinieratos wrote: > thanks. I will try that now. Do I have to do anything special with BS, or > just install it? > > > On Sat, May 7, 2011 at 3:58 AM, Laurent Sansonetti > wrote: > >> Hi Pavlos, >> >> You simply pass a Proc obj