InputCapturePointerBarrier
Object Hierarchy:
Description:
[
CCode ( type_id =
"xdp_input_capture_pointer_barrier_get_type ()" ) ]
public class InputCapturePointerBarrier :
Object
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.
Content:
Properties:
- public uint id { get; construct; }
The caller-assigned unique id of this barrier
- public bool is_active { get; }
A boolean indicating whether this barrier is active.
- public int x1 { get; construct; }
The pointer barrier x offset in logical pixels
- public int x2 { get; construct; }
The pointer barrier x offset in logical pixels
- public int y1 { get; construct; }
The pointer barrier y offset in logical pixels
- public int y2 { get; construct; }
The pointer barrier y offset in logical pixels
Creation methods:
Inherited Members:
All known members inherited from class GLib.Object