Gtk.CssSection.prototype.get_file
function get_file():Gio.File { // Gjs wrapper for gtk_css_section_get_file() }
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.
Since 3.2
- Returns
the Gio.File that section was parsed from or null if section was parsed from other data