# File lib/facets/more/tkxml.rb, line 135
  def tag_end name

    # pull off the tag name if prefixed with the Tk namespace
    if name[0..2] == "Tk:"
      tag_name = name[3..name.length]
    else
      tag_name = name
    end

    # if method then we're finish
    # else if widget then finish creation and pop off the widget stack
    if tag_name[0..0] == "_"
      puts "End Method: #{name}"

    else
      @parent = @widget_stack[-2]
      current = @widget_stack.last

      case tag_name.downcase
      when "menu"
        @parent.menu(current)
      end

      # pop current widget off of stack
      @widget_stack.pop

      puts "End Widget: #{name}"
    end

  end