SpiceClientGtk.Display.new
Description: Reference for SpiceClientGtk.Display.new

### Constructor

# SpiceClientGtk Displaynew

#### Declaration [src]

    SpiceDisplay*
    spice_display_new (
      SpiceSession* session,
      int channel_id
    )

#### Description [src]

Creates a new `SpiceDisplay` widget.

#### Parameters

`session`

  Type: `SpiceSession`

  A `SpiceSession`.

  The data is owned by the caller of the function.

`channel_id`

  Type: `int`

  The display channel ID to associate with `SpiceDisplay`.

#### Return value

Type: `SpiceDisplay`

A new `SpiceDisplay` widget.

The data is owned by the called function.