GTK+3: Dialogs in GTK+3

For discussions about programming, and for programming questions and advice


Moderator: Forum moderators

Post Reply
mistfire
Posts: 718
Joined: Thu Jul 16, 2020 2:16 am
Location: CALABARZON, PH
Has thanked: 3 times
Been thanked: 173 times

GTK+3: Dialogs in GTK+3

Post by mistfire »

I just wonder, is there someone who tried to port gtkdialog and Xdialog in gtk+3?

User avatar
rockedge
Site Admin
Posts: 6532
Joined: Mon Dec 02, 2019 1:38 am
Location: Connecticut,U.S.A.
Has thanked: 2742 times
Been thanked: 2619 times
Contact:

Re: Dialogs in GTK+3

Post by rockedge »

I am just now facing gtkdialog problems in WeeDog builds and had to do some removal and installation to get the gtk3 versions going because gtkdialog had broken and was preventing any updates from happening via the package manager.

So far I have not addressed any gtkdialog changes in Puppy yet. Once I see what I can see and learn messing around with WeeDog and gtkdialog and later apply the knowledge to Puppy's when needed.

step
Posts: 546
Joined: Thu Aug 13, 2020 9:55 am
Has thanked: 57 times
Been thanked: 198 times
Contact:

Re: Dialogs in GTK+3

Post by step »

Some commits in @01micko's gtkdialog fork on github specifically reference gtk3 compatibility.

dimkr
Posts: 2417
Joined: Wed Dec 30, 2020 6:14 pm
Has thanked: 53 times
Been thanked: 1200 times

Re: Dialogs in GTK+3

Post by dimkr »

I'm working on GTK 3 support in Puppy.

The ARM Chromebook port of Puppy I'm working on in https://github.com/puppylinux-woof-CE/woof-CE/pull/1948 is almost a pure GTK 3 experience. Only ROX-Filer and Xdialog are using GTK 2 as far as I remember, and even gtkdialog uses GTK 3! I built Geany with GTK 3 support (instead of GTK 2), replaced Leafpad with l3afpad (GTK 3 port), and so on.

Most of the GTK 3 related fixes and changes are coming from https://github.com/puppylinux-woof-CE/woof-CE/pull/1984, and the ARM Chromebook port has them incorporated.

With https://github.com/puppylinux-woof-CE/woof-CE/pull/2005, https://github.com/puppylinux-woof-CE/woof-CE/pull/2024 and a theme that supports both GTK 2 and 3 (https://github.com/dimkr/gtk3_flat_grey_rounded), a pure (or, almost pure) GTK 3 Puppy, applications look and feel consistent.

I document my progress and major issues I find in https://github.com/puppylinux-woof-CE/w ... ssues/2004.

woodenshoe-wi
Posts: 2
Joined: Thu Jan 21, 2021 5:24 pm
Location: Wisconsin
Been thanked: 1 time

Re: Dialogs in GTK+3

Post by woodenshoe-wi »

I don’t know about Xdialog, but GTK+3 support was already mostly implemented in gtkdialog. Just some bugs that kept it from compiling.

There was a bug with the terminal widget that would crash gtkdialog, and I finally got around to re-compiling the releases on my GitHub page.

https://github.com/woodenshoe-wi/gtkdialog/releases

Let me know if there are still any problems with the pre-compiled GTK+3 versions at the link above.

Post Reply

Return to “Programming”