gtk+ 4.x

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

gtk+ 4.x

Daniel Kasak-4
Hi all.

Just curious ... with gtk+ 4.0 in development, what does the perl
binding situation look like? Is it largely a matter of doing a
search+replace ( in the binding code ) and rebuilding, or is it a
larger effort to support?

Dan
_______________________________________________
gtk-perl-list mailing list
[hidden email]
https://mail.gnome.org/mailman/listinfo/gtk-perl-list
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: gtk+ 4.x

"Torsten Schönfeld"
On 14.12.2016 01:47, Daniel Kasak wrote:
> Just curious ... with gtk+ 4.0 in development, what does the perl
> binding situation look like? Is it largely a matter of doing a
> search+replace ( in the binding code ) and rebuilding, or is it a
> larger effort to support?

Assuming that the gtk+ devs continue to support gobject-introspection,
you will be able to simply do the following to obtain a first approximation:

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

And 'perli11ndoc' (or directly 'perli11ndoc Gtk4' for the text
interface) would provide API documentation.

If you want the additional convenience and backwards compatibility that
the overrides in Gtk3 provide, then these would have to be ported.
_______________________________________________
gtk-perl-list mailing list
[hidden email]
https://mail.gnome.org/mailman/listinfo/gtk-perl-list
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: gtk+ 4.x

Daniel Kasak-4
Great. Thanks :)

On Mon, May 1, 2017 at 11:27 PM, Torsten Schoenfeld <[hidden email]> wrote:

> On 14.12.2016 01:47, Daniel Kasak wrote:
>> Just curious ... with gtk+ 4.0 in development, what does the perl
>> binding situation look like? Is it largely a matter of doing a
>> search+replace ( in the binding code ) and rebuilding, or is it a
>> larger effort to support?
>
> Assuming that the gtk+ devs continue to support gobject-introspection,
> you will be able to simply do the following to obtain a first approximation:
>
>     use Glib::Object::Introspection;
>     Glib::Object::Introspection->setup (
>       basename => 'Gtk',
>       version => '4.0',
>       package => 'Gtk4');
>
> And 'perli11ndoc' (or directly 'perli11ndoc Gtk4' for the text
> interface) would provide API documentation.
>
> If you want the additional convenience and backwards compatibility that
> the overrides in Gtk3 provide, then these would have to be ported.
> _______________________________________________
> gtk-perl-list mailing list
> [hidden email]
> https://mail.gnome.org/mailman/listinfo/gtk-perl-list
_______________________________________________
gtk-perl-list mailing list
[hidden email]
https://mail.gnome.org/mailman/listinfo/gtk-perl-list
Loading...