Xdp.InputCaptureZone¶
- Subclasses:
None
Methods¶
- Inherited:
- Structs:
Virtual Methods¶
- Inherited:
Properties¶
Name |
Type |
Flags |
Short Description |
---|---|---|---|
r/w/co |
The zone height in logical pixels |
||
r/w |
True if this zone is currently valid |
||
r/w/co |
The zone width in logical pixels |
||
r/w/co |
The zone x offset in logical pixels |
||
r/w/co |
The zone y offset in logical pixels |
||
r/w/co |
The zone_set number when this zone was retrieved |
Signals¶
- Inherited:
Fields¶
- Inherited:
Class Details¶
- class Xdp.InputCaptureZone(**kwargs)¶
- Bases:
- Abstract:
No
- Structure:
A representation of a zone that supports input capture.
The [class`XdpInputCaptureZone`] object is used to represent a zone on the user-visible desktop that may be used to set up [class`XdpInputCapturePointerBarrier`] objects. In most cases, the set of [class`XdpInputCaptureZone`] objects represent the available monitors but the exact implementation is up to the implementation.
Property Details¶
- Xdp.InputCaptureZone.props.height¶
- Name:
height
- Type:
- Default Value:
0
- Flags:
The height of this zone in logical pixels
- Xdp.InputCaptureZone.props.is_valid¶
-
A boolean indicating whether this zone is currently valid. Zones are invalidated by the Portal’s ZonesChanged signal, see [signal`InputCaptureSession`:py:func:::zones-changed<Xdp.InputCaptureZone.signals.zones_changed>].
Once invalidated, a Zone can be discarded by the caller, it cannot become valid again.
- Xdp.InputCaptureZone.props.width¶
- Name:
width
- Type:
- Default Value:
0
- Flags:
The width of this zone in logical pixels
- Xdp.InputCaptureZone.props.x¶
- Name:
x
- Type:
- Default Value:
0
- Flags:
The x offset of this zone in logical pixels
- Xdp.InputCaptureZone.props.y¶
- Name:
y
- Type:
- Default Value:
0
- Flags:
The x offset of this zone in logical pixels
- Xdp.InputCaptureZone.props.zone_set¶
- Name:
zone-set
- Type:
- Default Value:
0
- Flags:
The zone_set number when this zone was retrieved