Using Glib::Object::Introspection to have access to Gtk3
- From: Anirvan Sarkar <powers anirvan gmail com>
- To: gtk-perl-list gnome org
- Subject: Using Glib::Object::Introspection to have access to Gtk3
- Date: Tue, 19 Aug 2014 08:16:26 +0530
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)?
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]