Timeline.set_track_name#

Timeline.set_track_name(track_type: TrackType, track_index: int, name: str) bool[source]#

Sets the track name (string) for track indicated by trackType and trackIndex.

Parameters:
  • track_type (TrackTpye) – TrackType object.

  • track_index (int) – 1 <= trackIndex <= GetTrackCount(trackType).

  • name (str) – track name.

Returns:

True if successful, False otherwise.

Return type:

bool