Session.newFromVariant

Creates a new #PanelSession from a #GVariant.

This creates a new #PanelSession instance from a previous session which had been serialized to variant.

Parameters

varianta #GVariant from [panel.session.Session.toVariant]

Returns

a #PanelSession

Throws

[ErrorWrap]