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 "nsIDOMXULLabeledControlEl.idl" michael@0: michael@0: [scriptable, uuid(d56f1f8f-fc4e-4650-9a85-25108bbd1980)] michael@0: interface nsIDOMXULButtonElement : nsIDOMXULLabeledControlElement { michael@0: const short CHECKSTATE_UNCHECKED = 0; michael@0: const short CHECKSTATE_CHECKED = 1; michael@0: const short CHECKSTATE_MIXED = 2; michael@0: michael@0: attribute DOMString type; michael@0: attribute DOMString dlgType; michael@0: michael@0: // For buttons of type="menu" only. michael@0: attribute boolean open; michael@0: michael@0: // For buttons of type="checkbox" only. michael@0: attribute boolean checked; michael@0: attribute long checkState; michael@0: attribute boolean autoCheck; michael@0: michael@0: // For buttons of type="radio" only. michael@0: attribute DOMString group; michael@0: }; michael@0: