Ubuntu.Components PopupContext

A special ActionContext used in Dialogs and Popups.

Import Statement: import Ubuntu.Components 1.3
Since: Ubuntu.Components 1.3
Inherits: ActionContext

Detailed Description

A PopupContext is similar to the ActionContext, with the only difference being that there can be only one PopupContext active at a time in an application. A PopupContext can have several active ActionContext children declared, however when deactivated all child contexts will be deactivated as well, and no Action declared in these contexts will be available through shortcuts.

The toolkit provides this kind of contexts in MainView, Popup and Dialog. It is highly recommended for applications to have a PopupContext defined in their rootItem.