Source.setNameById

Sets the name of a source using its ID. This is a convenience utility to set source names from the return value of g_idle_add(), g_timeout_add(), etc. Since 2.26

class Source
static
void
setNameById
(
uint tag
,
string name
)

Parameters

tag uint

a GSource ID

name string

debug name for the source

Meta