Phoc.DragIcon.create
Description: Reference for Phoc.DragIcon.create

### Function

# Phoc DragIconcreate

#### Declaration [src]

    PhocDragIcon*
    phoc_drag_icon_create (
      PhocSeat* seat,
      wlr_drag_icon* icon
    )

#### Description [src]

Create a new drag icon.

This function is not directly available to language bindings.

#### Parameters

`seat`

  Type: `PhocSeat`

  The seat the drag icon is on.

  The data is owned by the caller of the function.

`icon`

  Type: `wlr_drag_icon*`

  The WLR drag icon this icon should be created from.

  The argument can be `NULL`.
  The data is owned by the caller of the function.

#### Return value

Type: `PhocDragIcon`

The new drag icon.

The data is owned by the called function.