<!--
{
  "availability" : [
    "macCatalyst: 14.0.0 -",
    "macOS: 11.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "ParavirtualizedGraphics",
  "identifier" : "/documentation/ParavirtualizedGraphics/PGDisplayModeChangeHandler",
  "metadataVersion" : "0.1.0",
  "role" : "Type Alias",
  "symbol" : {
    "kind" : "Type Alias",
    "modules" : [
      "Paravirtualized Graphics"
    ],
    "preciseIdentifier" : "c:@T@PGDisplayModeChangeHandler"
  },
  "title" : "PGDisplayModeChangeHandler"
}
-->

# PGDisplayModeChangeHandler

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

```
typealias PGDisplayModeChangeHandler = (PGDisplayCoord_t, OSType) -> Void
```

## Parameters

`sizeInPixels`

The dimensions of the new display mode.

`pixelFormat`

The pixel format of the new display mode.

## Discussion

---

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)