function ButtonMenu(parent)
{
	ButtonText.call(this, parent);

	this.text.span.style.textIndent = "25px";

	/**
	 * Icon DOM element displayed on the left side of the button.
	 *
	 * @attribute icon
	 * @type {Element}
	 */
	this.icon = null;
}
Button used in dropdown menus, context menus, etc.

The button has text and its possible to add a icon.

@class ButtonMenu
@extends {ButtonText}
@param {Component} parent Parent element.