1 /* vim: se cin sw=2 ts=2 et : */
2 /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
4 * This Source Code Form is subject to the terms of the Mozilla Public
5 * License, v. 2.0. If a copy of the MPL was not distributed with this
6 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
8 #include
"nsISupports.idl"
10 interface imgIContainer
;
13 * nsITaskbarPreviewButton
15 * Provides access to a window preview's toolbar button's properties.
17 [scriptable
, uuid(CED8842D
-FE37
-4767-9A8E
-FDFA56510C75
)]
18 interface nsITaskbarPreviewButton
: nsISupports
21 * The button's tooltip.
23 * Default: an empty string
25 attribute DOMString tooltip
;
28 * True if the array of previews should be dismissed when this button is clicked.
32 attribute
boolean dismissOnClick
;
35 * True if the taskbar should draw a border around this button's image.
39 attribute
boolean hasBorder
;
42 * True if the button is disabled. This is not the same as visible.
46 attribute
boolean disabled
;
49 * The icon used for the button.
53 attribute imgIContainer image
;
56 * True if the button is shown. Buttons that are invisible do not
57 * participate in the layout of buttons underneath the preview.
61 attribute
boolean visible
;