set_action_target


Description:

public void set_action_target (string format_string, ...)

Sets the target of an actionable widget.

This is a convenience function that calls [ctor@GLib.Variant.new] for format_string and uses the result to call [ method@Gtk.Actionable.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@Gtk.Actionable.set_detailed_action_name].

Parameters:

this

a `GtkActionable` widget

format_string

a [struct@GLib.Variant] format string

...

arguments appropriate for format_string