Method

GtkCssSectionget_file

since: 3.2

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.

Available since: 3.2

Return value

Type: GFile

The GFile that section was parsed from or NULL if section was parsed from other data.

The returned data is owned by the instance.