Post by ylee on Feb 14, 2024 22:24:34 GMT
I have uploaded Pere László's gtkdialog application to the b7main and b7debbie repositories.
From the gtkdialog info page:
To install the gtkdialog and gtkdialog-doc packages:
In a sense gtkdialog is much like the more popular Zenity and Yad. However it is capable of much more than these two. Gtkdialog allows the creation of gtk apps almost as full featured as a c or python gtk application without having to know much about actual gtk programming. Gtkdialog uses an XML like simple language as a GUI description language to produce dialog boxes. The program can be used with shells and arbitrary interpreters. Specifically, the Gtkdialog utility uses the Glade Library to load, parse and execute Glade XML files.
Scripts using it usually look like
One can see while Gtkdialog is more powerful than Yad or Zenity it is more complex to use. In the example above the variable MAIN_DIALOG is the XML file. It can be as simple or complex as one desires. Gikdialog supports a wide range of widgets.
I first encountered this utility in Puppy Linux and Puppy makes heavy use of it. there are even full-fledged apps like a music player, a cd/DVD/usb burner, and a file search application using it.
For more info if one has installed the gtkdialog-doc package simply look at the info page (sadly there is no man page altho I may in time add one):
The document package also installs plenty of examples and HTML reference files. Look at /usr/share/doc/gtkdialog.
Most of the examples can be viewed online here.
For even more information you can see the gtkdialog wiki or Zigbert's excellent Gtkdialog Tips
You can post issues here but note I do not maintain this program. You can also ask for programming support here but again note I just found this program and do not have much experience using it. And since it is mostly a Puppy Linux tool I doubt many Bodhi users have much experience using it.
From the gtkdialog info page:
Gtkdialog is a small utility program based on the GTK+ library. The program mainly made for GUI development for shell scripts but can be used with many other programming languages. The programmer can easily create GUI not just for any shell script or UNIX command but for any interpreted or compiled program capable of starting child processes and using pipes.
To install the gtkdialog and gtkdialog-doc packages:
sudo apt update
sudo apt install gtkdialog gtkdialog-doc
In a sense gtkdialog is much like the more popular Zenity and Yad. However it is capable of much more than these two. Gtkdialog allows the creation of gtk apps almost as full featured as a c or python gtk application without having to know much about actual gtk programming. Gtkdialog uses an XML like simple language as a GUI description language to produce dialog boxes. The program can be used with shells and arbitrary interpreters. Specifically, the Gtkdialog utility uses the Glade Library to load, parse and execute Glade XML files.
Scripts using it usually look like
#! /bin/bash
export MAIN_DIALOG='
<window>
<vbox>
.................
</vbox>
</window>
'
gtkdialog --program=MAIN_DIALOG
One can see while Gtkdialog is more powerful than Yad or Zenity it is more complex to use. In the example above the variable MAIN_DIALOG is the XML file. It can be as simple or complex as one desires. Gikdialog supports a wide range of widgets.
I first encountered this utility in Puppy Linux and Puppy makes heavy use of it. there are even full-fledged apps like a music player, a cd/DVD/usb burner, and a file search application using it.
For more info if one has installed the gtkdialog-doc package simply look at the info page (sadly there is no man page altho I may in time add one):
info gtkdialog
The document package also installs plenty of examples and HTML reference files. Look at /usr/share/doc/gtkdialog.
Most of the examples can be viewed online here.
For even more information you can see the gtkdialog wiki or Zigbert's excellent Gtkdialog Tips
You can post issues here but note I do not maintain this program. You can also ask for programming support here but again note I just found this program and do not have much experience using it. And since it is mostly a Puppy Linux tool I doubt many Bodhi users have much experience using it.