NewViewRequest QML Type

Request to open a new view More...

Import Statement: import com.canonical.Oxide 1.15
Instantiates: OxideQNewViewRequest

Properties

Detailed Description

NewViewRequest represents a request to open a new view. disposition provides a hint for the type of view that the application should create, and position provides a hint for the position of the new view.

Applications should respond to this by creating a new view with this request as a construct parameter.

Property Documentation

disposition : enumeration

Disposition hint for the new view. This is a hint to the application for how the new view should be presented.

Possible values are:

ConstantDescription
NewViewRequest.DispositionNewForegroundTabThe new view should be presented as a new foreground tab
NewViewRequest.DispositionNewBackgroundTabThe new view should be presented as a new background tab
NewViewRequest.DispositionNewPopupThe new view should be presented as a popup. This generally means a new window with reduced UI
NewViewRequest.DispositionNewWindowThe new view should be presented in a new window.

position : rect

Position hint for the new view, in screen coordinates.