Gio.Action.print_detailed_name

function print_detailed_name(action_name: String, target_value: GLib.Variant): String {
    // Gjs wrapper for g_action_print_detailed_name()
}
  

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 g_action_parse_detailed_action_name(). 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.

Since 2.38

action_name

a valid action name

target_value

a GLib.Variant target value, or null

Returns

a detailed format string