File.isReadonly

bool isReadonly()

Returns whether the file is read-only. If the propertyFile:location is null, returns false.

To have an up-to-date value, you must first call [gtksource.file.File.checkFileOnDisk].

Returns

whether the file is read-only.