Provides a simple way to identify and resize a surface. 更多...
import 语句: | import QtWayland.Compositor.IviApplication |
实例化: | QWaylandIviSurface |
This type is part of the IviApplication extension and provides a way to extend the functionality of an existing WaylandSurface with a way to resize and identify it.
It corresponds to the Wayland
ivi_surface
接口。
iviId
:
int
|
This property holds the ivi id id of this IviSurface .
surface
:
WaylandSurface
|
This property holds the surface associated with this IviSurface .
void initialize ( IviApplication iviApplication , WaylandSurface surface , int iviId , WaylandResource resource ) |
初始化 IviSurface , associating it with the given iviApplication , surface , iviId ,和 resource .
Sends a configure event to the client, telling it to resize the surface to the given size .