Function

Gio-2.0Gioaction_print_detailed_nameSince 2.38

  • 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.parse_detailed_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.

    Parameters

    • action_name: string

      a valid action name

    • Optionaltarget_value: GLib.Variant<any>

      a GLib.Variant target value, or NULL

    Returns string

    a detailed format string

    2.38