On 31.03.20 18:53, David Breeding via gtk-perl-list wrote:
Trying to implement the following code:
$cs->load_from_file(Gio2::File::new_for_path("$ENV{HOME}/.config/poolstore/ps.css"));However, I get error that Gio2::file_new_for_path does not exist.You need to either setup the gio bindings yourself:
Glib::Object::Introspection->setup(basename => 'Gio',version => '2.0',package => 'Gio'); # or 'Gio2' or 'Glib::IO' or whatever you like
Or install and use Glib::IO, which does this for you.
-Torsten