setRepresentedFilename

open override fun setRepresentedFilename(filename: String)(source)

Sets the pathname of the file the window represents, and the icon of the file will show in window's title bar.