Variant.printf
Description:
Creates a string-type GVariant using printf formatting.
This is similar to calling to_string and then Variant.string but it saves a temporary variable and an unnecessary copy.
Parameters:
format_string |
a printf-style format string |
... |
arguments for |
Returns:
a floating reference to a new string Variant instance |