On Thursday, July 12, 2012 18:24:18 Gao Xiang wrote: > initialPage: [ c, b, a ]
as Darker noted, this is incorrect: it only takes a single page that is used to initialize the stack. you want to use push and pop to push and pop pages on and off the stack. push can take an array of pages, so that you can do one push call to initialize the whole thing (perhaps in Component.onCompleted?) that this is not obvious may be a sign that the API could be improved. on a side note, the API docs here are messed up somewhat: http://api.kde.org/4.x-api/plasma-qml-apidocs/PageStack.html note the list of methods. -- Aaron J. Seigo
signature.asc
Description: This is a digitally signed message part.
_______________________________________________ Plasma-devel mailing list Plasma-devel@kde.org https://mail.kde.org/mailman/listinfo/plasma-devel