Xdp.InputCapturePointerBarrier¶
- Subclasses:
None
Methods¶
- Inherited:
- Structs:
Virtual Methods¶
- Inherited:
Properties¶
Name |
Type |
Flags |
Short Description |
---|---|---|---|
r/w/co |
The id assigned to this barrier by the caller |
||
r |
true if active, false otherwise |
||
r/w/co |
The pointer barrier x offset in logical pixels |
||
r/w/co |
The pointer barrier x offset in logical pixels |
||
r/w/co |
The pointer barrier y offset in logical pixels |
||
r/w/co |
The pointer barrier y offset in logical pixels |
Signals¶
- Inherited:
Fields¶
- Inherited:
Class Details¶
- class Xdp.InputCapturePointerBarrier(**kwargs)¶
- Bases:
- Abstract:
No
- Structure:
A representation of a pointer barrier on an [class`InputCaptureZone`]. Barriers can be assigned with [method`InputCaptureSession`.set_pointer_barriers], once the Portal interaction is complete the barrier’s “is-active” state indicates whether the barrier is active. Barriers can only be used once, subsequent calls to [method`InputCaptureSession`.set_pointer_barriers] will invalidate all current barriers.
Property Details¶
- Xdp.InputCapturePointerBarrier.props.id¶
- Name:
id
- Type:
- Default Value:
0
- Flags:
The caller-assigned unique id of this barrier
- Xdp.InputCapturePointerBarrier.props.is_active¶
-
A boolean indicating whether this barrier is active. A barrier cannot become active once it failed to apply, barriers that are not active can be thus cleaned up by the caller.
- Xdp.InputCapturePointerBarrier.props.x1¶
- Name:
x1
- Type:
- Default Value:
0
- Flags:
The pointer barrier x offset in logical pixels
- Xdp.InputCapturePointerBarrier.props.x2¶
- Name:
x2
- Type:
- Default Value:
0
- Flags:
The pointer barrier x offset in logical pixels
- Xdp.InputCapturePointerBarrier.props.y1¶
- Name:
y1
- Type:
- Default Value:
0
- Flags:
The pointer barrier y offset in logical pixels
- Xdp.InputCapturePointerBarrier.props.y2¶
- Name:
y2
- Type:
- Default Value:
0
- Flags:
The pointer barrier y offset in logical pixels