Session.toVariant

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.

class Session
toVariant
()

Return Value

Type: glib.variant.Variant

a #GVariant