|
1 /* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ |
|
2 /* This Source Code Form is subject to the terms of the Mozilla Public |
|
3 * License, v. 2.0. If a copy of the MPL was not distributed with this |
|
4 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ |
|
5 |
|
6 #include "nsIDOMXULElement.idl" |
|
7 interface nsIDOMXULSelectControlElement; |
|
8 |
|
9 [scriptable, uuid(5c6be58f-17df-4750-88a5-4a59ac28adc9)] |
|
10 interface nsIDOMXULSelectControlItemElement : nsISupports { |
|
11 attribute boolean disabled; |
|
12 attribute DOMString crop; |
|
13 attribute DOMString image; |
|
14 attribute DOMString label; |
|
15 attribute DOMString accessKey; |
|
16 attribute DOMString command; |
|
17 |
|
18 attribute DOMString value; |
|
19 |
|
20 readonly attribute boolean selected; |
|
21 |
|
22 readonly attribute nsIDOMXULSelectControlElement control; |
|
23 |
|
24 // XXX defined in XULElement, but should be defined here |
|
25 // void doCommand(); |
|
26 }; |
|
27 |
|
28 |