Method

Gtk.CssSection.get_file

Declaration [src]

GFile*
gtk_css_section_get_file (
  const GtkCssSection* section
)

Description [src]

Gets the file that section was parsed from.

If no such file exists, for example because the CSS was loaded via gtk_css_provider_load_from_data(), then NULL is returned.

Return value

Returns: GFile*

the GFile from which the section was parsed

Ownership is not transferred to the caller