Rick Denatale wrote:
> I assume you are talking about that last line.
> 
> area.window.set_cursor(dk::Cursor::PENCIL)
> 
> What that means is:
> 
>   1. send the message window to the object referenced by the variable
> area (which in the above code would be an instance of
> Gtk::DrawingArea.  This will return a result object.
> 
>   2. send the result object which was returned in step 1 the message
> set_cursor with the argument dk::Cursor::PENCIL

Or to put it another way, it's the same as this:

  tmp = area.window
  tmp.set_cursor(dk::Cursor::PENCIL)
-- 
Posted via http://www.ruby-forum.com/.