Mtk.source_set_name_by_id
Description: Reference for Mtk.source_set_name_by_id

### Function

# Mtksource_set_name_by_id

#### Declaration [src]

    void
    mtk_source_set_name_by_id (
      guint tag,
      const char* name
    )

#### Description [src]

Sets the name of a source using its ID.

This function behaves like g_source_set_name_by_id(), except it looks up `tag` in the thread default main context, as opposed to the default one.

#### Parameters

`tag`

  Type: `guint`

  A source ID.

`name`

  Type: `const char*`

  Debug name for the source.

  The data is owned by the caller of the function.
  The value is a NUL terminated UTF-8 string.