PyGObject-Tutorial icon indicating copy to clipboard operation
PyGObject-Tutorial copied to clipboard

Gtk4

Open tronta opened this issue 4 years ago • 6 comments

Any plans for GTK4? As a Gtk Python newbie what would be the best way to help?

tronta avatar Apr 05 '21 20:04 tronta

Personally, I do not have plans to add support for GTK4. Mainly because I'm not following the latest development in this area anymore. I generally welcome contributions from others, but I do not know how much GTK4 differs from GTK3 and whether merging it with this tutorial would be sensible.

sebp avatar Apr 14 '21 20:04 sebp

Very cool. Looks great!

tronta avatar Jun 19 '21 11:06 tronta

ranchester2: Very interesting...

I think what we need is examples not just for GTK4 but for both GTK3 and GTK4 (Excluding gi.require_version("Gtk", "?.0") line.). Or, GTK4 compatible GTK3 examples .... Then document can mention in main text what it takes.

FYI: Along this thought, I have proposed to update python style in line with python3 for super() in PR #199.

osamuaoki avatar Jul 06 '21 10:07 osamuaoki

I'm not familiar with GTK4, but if there's a way to make example compatible with GTK3 and GTK4 without too much overhead, I would prefer it. Otherwise, we can create a new branch for GTK3 and continue with GTK4 in the master branch.

sebp avatar Jul 06 '21 12:07 sebp

Hello.

I have starting porting some of the examples to GTK4 here: https://gitlab.gnome.org/rafaelmardojai/pygobject-guide.

I'm aiming to create a central space for finding PyGObject documentation / tutorials (taking some inspiration from https://gjs.guide/).

I'm obviously keeping the same license as this repo because I'm kind of "forking" this tutorial. But I would like to know what is the best way to keep the attribution to this work, maybe build an "acknowledgement" page referencing al the credits?

rafaelmardojai avatar Dec 05 '22 22:12 rafaelmardojai

@rafaelmardojai great to hear that your putting in the effort to port the tutorial to GTK4!

Adding an acknowledgements or contributors page sounds good.

sebp avatar Dec 08 '22 21:12 sebp