<!--
{
  "availability" : [
    "macCatalyst: 14.0.0 -",
    "macOS: 11.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "ParavirtualizedGraphics",
  "identifier" : "/documentation/ParavirtualizedGraphics/PGDisplayDescriptor",
  "metadataVersion" : "0.1.0",
  "role" : "Class",
  "symbol" : {
    "kind" : "Class",
    "modules" : [
      "Paravirtualized Graphics"
    ],
    "preciseIdentifier" : "c:objc(cs)PGDisplayDescriptor"
  },
  "title" : "PGDisplayDescriptor"
}
-->

# PGDisplayDescriptor

A descriptor for a virtual display.

```
class PGDisplayDescriptor
```

## Topics

### Specifying the Display Properties

[`name`](/documentation/ParavirtualizedGraphics/PGDisplayDescriptor/name)

The display’s name as seen in the guest operating environment.

[`sizeInMillimeters`](/documentation/ParavirtualizedGraphics/PGDisplayDescriptor/sizeInMillimeters)

The size in millimeters of the virtual display.

### Setting the Dispatch Queue

[`queue`](/documentation/ParavirtualizedGraphics/PGDisplayDescriptor/queue)

The queue that the framework uses when dispatching messages to any of the display’s registered handlers.

### Managing Cursor Events

[`cursorGlyphHandler`](/documentation/ParavirtualizedGraphics/PGDisplayDescriptor/cursorGlyphHandler)

A handler that the framework calls to change the cursor’s appearance.

[`cursorShowHandler`](/documentation/ParavirtualizedGraphics/PGDisplayDescriptor/cursorShowHandler)

A handler that the framework calls to change the cursor’s visibility.

[`PGDisplayCursorGlyphHandler`](/documentation/ParavirtualizedGraphics/PGDisplayCursorGlyphHandler)

The block signature for a routine that handles changes to the cursor’s appearance.

[`PGDisplayCursorShowHandler`](/documentation/ParavirtualizedGraphics/PGDisplayCursorShowHandler)

The block signature for a routine that handles changes to the cursor’s visibility.

### Handling Mode Changes

[`modeChangeHandler`](/documentation/ParavirtualizedGraphics/PGDisplayDescriptor/modeChangeHandler)

A handler that the framework calls to change the virtual display’s graphics mode.

[`PGDisplayModeChangeHandler`](/documentation/ParavirtualizedGraphics/PGDisplayModeChangeHandler)

The block signature for a routine that handles changes to the display’s graphics mode.

### Handling Frame Events

[`newFrameEventHandler`](/documentation/ParavirtualizedGraphics/PGDisplayDescriptor/newFrameEventHandler)

A handler that the framework calls when the guest environment has a new frame to display.

[`PGDisplayNewFrameEventHandler`](/documentation/ParavirtualizedGraphics/PGDisplayNewFrameEventHandler)

The block signature for a routine that handles frame updates from the guest.

### Instance Properties

[`cursorMoveHandler`](/documentation/ParavirtualizedGraphics/PGDisplayDescriptor/cursorMoveHandler)



---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)