Re: Gtk3



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]