michael@0: /* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ michael@0: /* This Source Code Form is subject to the terms of the Mozilla Public michael@0: * License, v. 2.0. If a copy of the MPL was not distributed with this michael@0: * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ michael@0: michael@0: #include "nsIDOMXULSelectCntrlEl.idl" michael@0: interface nsIDOMXULTextBoxElement; michael@0: michael@0: [scriptable, uuid(36c16a17-c0e9-4b35-951b-81a147314ef1)] michael@0: interface nsIDOMXULMenuListElement : nsIDOMXULSelectControlElement { michael@0: attribute boolean editable; michael@0: attribute boolean open; michael@0: michael@0: // label of selected option or value of textfield for editable menu lists michael@0: readonly attribute DOMString label; michael@0: michael@0: attribute DOMString crop; michael@0: attribute DOMString image; michael@0: michael@0: // For editable menu lists only. michael@0: readonly attribute nsIDOMNode inputField; michael@0: }; michael@0: