Re: Gtk3
- From: Torsten Schoenfeld <kaffeetisch gmx de>
- To: gtk-perl-list gnome org
- Subject: Re: Gtk3
- Date: Tue, 15 Feb 2011 00:34:03 +0100
On 14.02.2011 22:37, Emmanuele Bassi wrote:
Is there any plan for Gtk3?
in theory, Gtk3 should just be a thin, pure Perl wrapper around
Glib::Object::Introspection and the introspection data generated by gtk
+-3.0 itself. in practice, Glib::Object::Introspection needs to be
completed before that happens.
Yes, that's my view too: let's work on Glib::Object::Introspection. I
don't think that we even need a Perl wrapper at all for Gtk3. Even
right now, all you need to do is this:
use Glib::Object::Introspection;
Glib::Object::Introspection->setup (
basename => 'Gtk',
version => '3.0',
package => 'Gtk3');
We could maybe shorten this to:
use Glib::Object::Introspection 'Gtk' => 'Gtk3';
With the current G::O::I, quite a lot of Gtk3 should actually be usable
already, including callbacks. Things like boxed types or cairo
integration need more work. All help is welcome. It's really
gratifying work, because once you implement something in G::O::I, it's
immediately available for a plethora of libraries.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]