[SailfishDevel] How to attach a page to initial page?

Reto Zingg reto.zingg at jolla.com
Mon Jan 20 07:29:30 UTC 2014


On 17.01.2014 17:56, Tobi D. wrote:
> Hi there,
> How can I push an attached page to my initial page on the pageStack?
> I'd like to have a behavior similar to the Jolla Store app. There you
> can push to the next page to get categories when you are on initial page.
> I tried several thing to achieve this, but didn't get it work. Doing an
> "pushAttached" to pageStack in "onComplete" of my initial page ends in
> error message that you can not push a page on stack while another push
> is running.
> There is another idea I've not tried yet. Maybe it is possible to use a
> Timer with a few milliseconds which does the pushAttached to the
> pageStack and disables itself after that. But this solution sounds quite
> bad to me.

If I understood you right, then pycage has that in his Tidings 
application, from the entry/main page you can access the settings with a 
swipe R->L, I don't know which "magic" he uses, but check out the 
sources here:



> Thanks for help!
> Best regards,
> Tobi
> _______________________________________________
> SailfishOS.org Devel mailing list

More information about the Devel mailing list