Action.printDetailedName

string printDetailedName(string actionName, glib.variant.Variant targetValue = null)

Formats a detailed action name from action_name and target_value.

It is an error to call this function with an invalid action name.

This function is the opposite of [gio.action.Action.parseDetailedName]. It will produce a string that can be parsed back to the action_name and target_value by that function.

See that function for the types of strings that will be printed by this function.

Parameters

actionNamea valid action name
targetValuea #GVariant target value, or null

Returns

a detailed format string