<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
Its QML basics<br>
Silica reference cant explain all standard properties and functions,
you should learn it yourself.<br>
<br>
<div class="moz-cite-prefix">On 11.03.2014 01:43, Vivian Brégier
wrote:<br>
</div>
<blockquote
cite="mid:CAPKGrpQ2gopa2-kh1N4dinrLy1cz=R2qAX+PCUCREGmdWgna=g@mail.gmail.com"
type="cite">
<div dir="ltr">
<div>Thank you, this works just fine.<br>
<br>
</div>
<div>And I always have at least one menuitem visible, so there
is no need to hide the menu itself, but it is a good thing to
keep in mind.<br>
</div>
<div><br>
</div>
Strangely, <a moz-do-not-send="true"
href="https://sailfishos.org/sailfish-silica/qml-sailfishsilica-menuitem-members.html">https://sailfishos.org/sailfish-silica/qml-sailfishsilica-menuitem-members.html</a>
does not reference this attribute.<br>
</div>
<div class="gmail_extra"><br>
<br>
<div class="gmail_quote">2014-03-10 13:05 GMT+01:00 <span
dir="ltr"><<a moz-do-not-send="true"
href="mailto:dcaliste@free.fr" target="_blank">dcaliste@free.fr</a>></span>:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
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.<br>
<br>
Damien.<br>
<br>
À Mon Mar 10 2014 11:29:13 GMT+0100 (CET), Vivian Brégier a
écrit :<br>
<div>
<div class="h5">>Hi,<br>
><br>
>I am trying to have the pulley menu of my app depend
on the app context.<br>
>I want some menuitem to be hidden when a certain
condition is false.<br>
><br>
>I did not find any attribute in MenuItem class to do
this.<br>
>Is it possible to do it in qml ? Maybe using
javascript ?<br>
><br>
>Thank you for your help.<br>
><br>
>--<br>
>Vivian Brégier<br>
><a moz-do-not-send="true"
href="http://www.are-ata.org/Vivian.vcf"
target="_blank">http://www.are-ata.org/Vivian.vcf</a><br>
</div>
</div>
_______________________________________________<br>
SailfishOS.org Devel mailing list</blockquote>
</div>
<br>
<br clear="all">
<br>
-- <br>
Vivian Brégier<br>
<a moz-do-not-send="true"
href="http://www.are-ata.org/Vivian.vcf">http://www.are-ata.org/Vivian.vcf</a><br>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
SailfishOS.org Devel mailing list</pre>
</blockquote>
<br>
</body>
</html>