You are not logged in.

#1 2024-12-22 08:54:06

johnraff
nullglob
From: Nagoya, Japan
Registered: 2015-09-09
Posts: 12,652
Website

gtk3dialog

@micko01 has been working on gtk3dialog which can do a lot more than Yad.

micko01 wrote:

Have just uploaded gtk3dialog_0.1.0-2_amd64.deb and gtk3dialog-doc_0.1.0-2_all.deb = heaps of docs! Manual pages in with the main binary.

Gtk3dialog - A small utility for fast and easy GUI building

https://github.com/01micko/gtk3dialog

I forked this off the Puppy Linux version that didn't get much love since I left there, and probably not much before that since 2013. It was originally written in 2004 or so by László Pere and picked up by Thunor (an SDL game developer - so not too shabby with C ) in 2011. He added GTK-3.0 support.

I've spent quite a bit of time fixing bugs, updating widgets, getting rid of deprecated functions and documenting this thing. It was reasonably well documented but there were shortcomings and it was getting quite dated since it was written for GTK-2.0 (in fact IIRC it started out as GTK-1.0 yikes ).

Now it's available from his Boron repo: https://forums.bunsenlabs.org/viewtopic.php?id=9273

Both 'man gtk3dialog' and 'man 5 gtk3dialog' have a lot of info, and if you install gtk3dialog-doc there is a whole bunch of html docs and examples to look at, but it's all a bit overwhelming for the new arrival (like me) and hard to make sense of till you've got the basic ideas down.

An example of what it can do - and how complex the code can get - is @micko's wallpaper setter: https://forums.bunsenlabs.org/viewtopic … 10#p139910

There is quite a lot of documentation on the web - some of it is a bit outdated, some of the links are a bit circular, and some are just dead, but I came across a few tutorials and guides that might help people get started:
https://www.tecmint.com/gtkdialog-creat … log-boxes/
http://pclosmag.com/html/Issues/200910/page21.html
https://github.com/01micko/gtk3dialog/wiki
https://xpt.sourceforge.net/techdocs/la … serManual/
https://xpt.sourceforge.net/techdocs/la … es/single/
https://wikka.puppylinux.com/gtkdialogDocTips
https://wikka.puppylinux.com/gtkdialog

(NB The original app was gtkdialog and Micko's fork is called gtk3dialog.)

Last edited by johnraff (2024-12-25 01:30:08)


...elevator in the Brain Hotel, broken down but just as well...
( a boring Japan blog (currently paused), now on Bluesky, there's also some GitStuff )

Introduction to the Bunsenlabs Boron Desktop

Offline

#2 2024-12-24 16:50:15

eightysixed
Member
From: USA
Registered: 2024-11-24
Posts: 58

Re: gtk3dialog

This is neat. Thanks for sharing! smile

Offline

#3 2024-12-25 01:36:04

johnraff
nullglob
From: Nagoya, Japan
Registered: 2015-09-09
Posts: 12,652
Website

Re: gtk3dialog

micko01's wallpaper setter has inspired me to try to write some wrapper scripts so gtk3dialog can substitute for yad in BL scripts, eg in the yad-includes file: https://github.com/BunsenLabs/bunsen-co … d-includes

...but not yet.

Last edited by johnraff (2025-01-05 05:00:19)


...elevator in the Brain Hotel, broken down but just as well...
( a boring Japan blog (currently paused), now on Bluesky, there's also some GitStuff )

Introduction to the Bunsenlabs Boron Desktop

Offline

Board footer

Powered by FluxBB