load_data
Description:
Parse and load some data to be displayed into the viewer widgets.
The data may contain multiple parseable items if the format can contain multiple items.
This function will copy the data. Use [method@ViewerWidget.load_bytes] to avoid copying the data.
Parameters:
this |
a viewer widget |
display_name |
label for the loaded data |
data |
data to load |
n_data |
length of data to load |