Closed
Bug 486369
Opened 16 years ago
Closed 4 years ago
Create an interface for <xul:deck> and implement it in XBL.
Categories
(Toolkit :: UI Widgets, enhancement)
Toolkit
UI Widgets
Tracking
()
RESOLVED
WONTFIX
People
(Reporter: jakesays, Unassigned)
Details
Attachments
(2 files)
779 bytes,
patch
|
Details | Diff | Splinter Review | |
1.91 KB,
text/plain
|
Details |
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.0.8) Gecko/2009032609 Firefox/3.0.8 (.NET CLR 3.5.30729)
Build Identifier: 1.9.1b3
Since <deck> elements are implemented in XBL, there is no easy way to manipulate an instance from C++ (to change the selected child, for instance). Having the XBL binding implement a standard xpcom interface would provide a convenient way to manipulate the element from C++.
What I propose is the creation of an nsIDOMXULDeckElement interface and corresponding .idl file, and modification to the deck binding in general.xml to implement it.
I have attached an idl file and a patch for the XBL. I am currently using this method to manipulate a <deck>, and it seems to work fine.
Reproducible: Always
Comment 3•16 years ago
|
||
If you want somebody to have a look at your patch, you'll have to set its review flag to a Toolkit peer such as Neil Deakin (see <http://www.mozilla.org/projects/toolkit/review.html>).
It'd also help if you could post both changes in the same patch (just hg add the IDL before diff'ing).
Status: UNCONFIRMED → NEW
Ever confirmed: true
Updated•4 years ago
|
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → WONTFIX
You need to log in
before you can comment on or make changes to this bug.
Description
•