Phoc.View.add_bling

### Method

# Phoc Viewadd_bling

#### Declaration [src]

    void
    phoc_view_add_bling (
      PhocView* self,
      PhocBling* bling
    )

#### Description [src]

By adding a `PhocBling` to a view you ensure that it gets rendered just before the view if both the view and the bling are mapped.

The view will take a reference on the `PhocBling` that will be dropped when the bling is removed or the view is destroyed.

#### Parameters

`bling`

  Type: `PhocBling`

  The bling to add.

  The data is owned by the caller of the method.