There is the visible attribute that can be set of each menuitem. In addition, 
don't forget to put the visible attribute of the pulley menu itself to false if 
there is no visible menuitem, to avoid empty pulley menu.

Damien. 

À Mon Mar 10 2014 11:29:13 GMT+0100 (CET), Vivian Brégier a écrit :
>Hi,
>
>I am trying to have the pulley menu of my app depend on the app context.
>I want some menuitem to be hidden when a certain condition is false.
>
>I did not find any attribute in MenuItem class to do this.
>Is it possible to do it in qml ? Maybe using javascript ?
>
>Thank you for your help.
>
>-- 
>Vivian Brégier
>http://www.are-ata.org/Vivian.vcf
_______________________________________________
SailfishOS.org Devel mailing list

Reply via email to