WPEPlatformDRM.ToplevelDRM.new
Description: Reference for WPEPlatformDRM.ToplevelDRM.new

### Constructor

# WPEPlatformDRM ToplevelDRMnew

#### Declaration [src]

    WPEToplevel*
    wpe_toplevel_drm_new (
      WPEDisplayDRM* display
    )

#### Description [src]

Create a new `WPEToplevel` on `display`.

#### Parameters

`display`

  Type: `WPEDisplayDRM`

  A `WPEDisplayDRM`.

  The data is owned by the caller of the function.

#### Return value

Type: `WPEToplevel`

A `WPEToplevel`.

The caller of the function takes ownership of the data, and is responsible for freeing it.