Hi Andrey,

I wonder why those properties are not documented in the list of all members of 
ContextMenu:

https://sailfishos.org/sailfish-silica/qml-sailfishsilica-contextmenu-members.html

Anyway, using menu._contentColumn solved my problem.

Thanks for the help.

Antoine

----- Mail original -----
De: "Andrey Kozhevnikov" <coderusin...@gmail.com>
À: "christopher lamb" <christopher.l...@thurweb.ch>, "Sailfish OS Developers" 
<devel@lists.sailfishos.org>
Envoyé: Samedi 23 Novembre 2013 16:08:30
Objet: Re: [SailfishDevel] Dynamically populate a ContextMenu

You should use it if you want "real" dynamically created components.
Or reimplement ContextMenu item.

What would you prefer?

On 23.11.2013 21:06, christopher.l...@thurweb.ch wrote:
> Hi Andrey
>
> Zitat von "Andrey Kozhevnikov" <coderusin...@gmail.com>:
>
>> you may need to make childs of menu._contentColumn, not just menu.
>
> I thought that the underscore stuff are private internal properties / 
> functions that we mere mortals should not be using ....8-) (Not that 
> that would necessarily stop me).
>
> Chris
>
>

_______________________________________________
SailfishOS.org Devel mailing list
_______________________________________________
SailfishOS.org Devel mailing list

Reply via email to