DisplayPanel.from_data


Description:

[ CCode ( has_construct_function = false ) ]
public DisplayPanel.from_data (string data) throws Error

Constructs a new display panel based on the given data.

If that fails `NULL` is returned and `error` describes the error that occurred.

Parameters:

data

The panel's data as JSON

Returns:

The new display panel object