Method

GtkSourceFileis_readonly

Declaration [src]

gboolean
gtk_source_file_is_readonly (
  GtkSourceFile* file
)

Description [src]

Returns whether the file is read-only. If the GtkSourceFile:location is NULL, returns FALSE.

To have an up-to-date value, you must first call gtk_source_file_check_file_on_disk().

Return value

Type: gboolean

Whether the file is read-only.