set_static_name


Description:

[ Version ( since = "2.76" ) ]
public void set_static_name (string? name)

Sets this’s name, used in debugging and profiling.

This is a variant of set_name that avoids copying name.

This function is called automatically by [method@Gio.Task.set_source_tag] unless a name is set.

Parameters:

this

a Task

name

a human readable name for the task. Must be a string literal