# File gtk/sample/gtk-demo/textview.rb, line 412
    def recursive_attach_view(depth, view, anchor)
      return  if depth > 4

      child_view = Gtk::TextView.new(view.buffer)

      #  Event box is to add a black border around each child view 
      event_box = Gtk::EventBox.new
      color = Gdk::Color.parse("black")
      event_box.modify_bg(Gtk::STATE_NORMAL, color)

      align = Gtk::Alignment.new(0.5, 0.5, 1.0, 1.0)
      align.set_border_width(1)
      
      event_box.add(align)
      align.add(child_view)
      
      view.add_child_at_anchor(event_box, anchor)

      recursive_attach_view(depth + 1, child_view, anchor)
    end