Phoc.XdgPopup.new
Description: Reference for Phoc.XdgPopup.new

### Constructor

# Phoc XdgPopupnew

#### Declaration [src]

    PhocXdgPopup*
    phoc_xdg_popup_new (
      PhocChildRoot* root,
      wlr_xdg_popup* wlr_popup
    )

#### Description

No description available.

#### Parameters

`root`

  Type: `PhocChildRoot`

  No description available.

  The data is owned by the caller of the function.

`wlr_popup`

  Type: `wlr_xdg_popup*`

  No description available.

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

#### Return value

Type: `PhocXdgPopup`

No description available.

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