Request to open a new view More...
Import Statement: | import com.canonical.Oxide 1.15 |
Instantiates: | OxideQNewViewRequest |
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.
Disposition hint for the new view. This is a hint to the application for how the new view should be presented.
Possible values are:
Constant | Description |
---|---|
NewViewRequest.DispositionNewForegroundTab | The new view should be presented as a new foreground tab |
NewViewRequest.DispositionNewBackgroundTab | The new view should be presented as a new background tab |
NewViewRequest.DispositionNewPopup | The new view should be presented as a popup. This generally means a new window with reduced UI |
NewViewRequest.DispositionNewWindow | The new view should be presented in a new window. |
position : rect |
Position hint for the new view, in screen coordinates.