# File gnomecanvas/sample/canvas-curve.rb, line 188
  def initialize
    super(false, 4)
    self.border_width = 4
    self.show()

    @current_state = STATE_INIT

    label = Gtk::Label.new("Drag a line with button 1. Then mark 2 control points with\nbutton 1. Shift+click with button 1 to destroy the curve.\n")
    self.pack_start(label, false, false, 0)
    label.show()

    canvas = create_canvas(false)
    self.pack_start(canvas, true, true, 0)
    canvas.show()

    aa_canvas = create_canvas(true)
    self.pack_start(aa_canvas, true, true, 0)
    aa_canvas.show()
  end