[SailfishDevel] How to maximize an application from CoverAction?

Mike Sheldon mike at mikeasoft.com
Sat Dec 21 23:38:45 UTC 2013


Hi Gabriel,

On Sun, 2013-12-22 at 00:18 +0100, Gabriel Boehme wrote:
> In my application I want to offer, that a user can jump directly to the
> search with a CoverAction, same like Jolla Store is doing. 
> Internally it pushes my SearchPage on the PageStack so no problem there,
> but I don't know how to maximize the app from CoverAction's onTriggered?

You just need to call the activate() method on your ApplicationWindow
from the CoverAction's onTriggered event.

Cheers,
 Mike.



More information about the Devel mailing list