It's come to my attention that few people are downloading my nice perl GUI code examples. Yes, I know, perl's weird if you're not familiar, but it's usually pretty easy to read my stuff and get familiar with perl if it wasn't done "write only" - and I avoid that, as I may have to read and maintain it myself...I forget easily, so...I keep it simple.
Anyway, one reason, or bit of friction, is how hard it is to get the necessary Gtk3.pm perl module to install...it seems some of the dependencies have been left out or lost in the newer linux distros.
Salvation is here if you use one that uses .deb.
This installs Gtk3.pm successfully in any recent linux, I tested with some pristine ones in virtual box. One developer nightmare is that as as programmer you have all the modules and dependencies on earth from previous battles, and when you ship code it won't run on other people's machines and you don't know why (doesn't help they don't forward the error messages and don't read them anyway).
So, VirtualBox, even though Oracle owns it - has its uses.
While this will put in cpanm for you (a very handy program you can install perl modules or update them with easily - example: (sudo cpanm Time::HiRes will install that module, or update it if possible),
I've found that syaptic does a little better on dependencies if you can work out the weird way these have been renamed. So this mostly uses that method, saving some hair-pulling to find out that the names now have lib in front of them, the captalization is different, often have -perl on the end, but none of this is "always".
Go for it....
For me, this is kind of a return to the glory days of GUI programming. The one thing Microsoft got right was DevStudio6 and MFC (once you learned those). You could whip out a reasonable user interface very very quickly - faster than VB and with far better code. Now we have the equivalent in Linux (finally), so maybe there will be more high quality stuff in the FOSS world soon.
Here I was just testing this all out.
https://www.youtube.com/watch?v=1SGPZTEECbo
What's cool is that you simply specify in Glade what subroutine to call if someone clicks here or some other event happens, and the perl module just hooks all that up like magic, no effort on your part except to name your handling subroutines correctly. So once you get the idea in Glade that it's a hierarchy of containers that finally contain widgets, it's actually better than Microsoft's best - unlike their layouts, these dynamically resize if the user wants that.
I'm building these scripts for a few other things too - NGINX, MySQL, PhpMyAdmin...things that are a pain to do but need doing everytime I do a full wipe and upgrade on a box. More to come.