Session.toVariant

glib.variant.Variant toVariant() nothrow

Serializes a #PanelSession as a #GVariant

The result of this function may be passed to panel.session.Session.newFromVariant to recreate a #PanelSession.

The resulting variant will not be floating.

Returns

a #GVariant