set_action_target


Description:

public void set_action_target (string? format_string, ...)

Sets the parameter for action invocations.

This is a convenience function that calls [ctor@GLib.Variant.new] for format_string and uses the result to call [ method@Toast.set_action_target_value].

If you are setting a string-valued target and want to set the action name at the same time, you can use [method@Toast.set_detailed_action_name] .

Parameters:

this

a toast

format_string

a variant format string

...

arguments appropriate for target_format