I am trying to port a Gtk2-perl application to Gtk3. I came to know about
the Glib::Object::Introspection module. Its synopsis at
https://metacpan.org/pod/Glib::Object::Introspection says that one can do:

use Glib::Object::Introspection;
Glib::Object::Introspection->setup(basename => 'Gtk', version => '3.0',
package => 'Gtk3');

to have access to Gtk3 library. So does this mean that it we can replace

use Gtk2;

with this without any problems (except use proper Gtk3 syntax wherever
required)?

-- 
Anirvan
_______________________________________________
gtk-perl-list mailing list
gtk-perl-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gtk-perl-list

Reply via email to