modifying the drawer menus

Tomaz Canabrava tcanabrava at kde.org
Wed Jan 6 20:44:02 UTC 2016


On Wed, Jan 6, 2016 at 6:39 PM, Marco Martin <notmart at gmail.com> wrote:

> On Wednesday 06 January 2016, Tomaz Canabrava wrote:
> > We need a menu that will change its contents based on whats being
> displayed
> > on the main part of the application.
> >
> > Something like:
> >
> > contextDrawer: MobileComponents.ContextDrawer {
> >       id: contextDrawer
> >       actions: mainDisplay.currentActions
> > }
>
> hmm, not sure it answers much yet.. who is mainDisplay?
>

Its one of the Pages in an AplicationWindow, like the initialPage.
the "current" one should give the Actions for the contextDrawer.



>
> --
> Marco Martin
> _______________________________________________
> Plasma-devel mailing list
> Plasma-devel at kde.org
> https://mail.kde.org/mailman/listinfo/plasma-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20160106/628daf73/attachment.html>


More information about the Plasma-devel mailing list