# File gglib/widget.rb, line 85
  def downevent(type)
    if type==WidgetEvent::MsLeft
      onMouseDown
    elsif type==WidgetEvent::MsRight
      onRightMouseDown
    end
  end