[SailfishDevel] Dynamically populate a ContextMenu

Tigre-Bleu devel at tigre-bleu.net
Sat Nov 23 15:35:18 UTC 2013


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" <coderusinbox at gmail.com>
À: "christopher lamb" <christopher.lamb at thurweb.ch>, "Sailfish OS Developers" <devel at 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.lamb at thurweb.ch wrote:
> Hi Andrey
>
> Zitat von "Andrey Kozhevnikov" <coderusinbox at 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


More information about the Devel mailing list