What gui language works best?

Stuff that has yet to be sorted into a category.
Post Reply
Message
Author
mrd
Posts: 124
Joined: Wed 28 Nov 2007, 02:04

What gui language works best?

#1 Post by mrd »

I've written a few small apps for my puppy installs, but unfortunately, the wiki is not up to date these days and my tcl/tk apps don't work anymore. I've ported them to perl/TK, but that is a pain to have to install so I want to do it right from now on and just learn the prefered language that will be around for a while. Preferably one that does not require any additional libs.

Any hints what it is?
GTK+?
wxWidgets?

Thanks,

User avatar
technosaurus
Posts: 4853
Joined: Mon 19 May 2008, 01:24
Location: Blue Springs, MO
Contact:

#2 Post by technosaurus »

i think Glade is supported now that Puppy is GTK2... there is no desktop file for it so it is not in the menu but its in /usr/bin/glade-3 along with many supporting files for conversion

there is also Xdialog... not sure how complex your app is
Check out my [url=https://github.com/technosaurus]github repositories[/url]. I may eventually get around to updating my [url=http://bashismal.blogspot.com]blogspot[/url].

User avatar
pa_mcclamrock
Posts: 695
Joined: Fri 03 Jun 2005, 23:13
Location: Fort Wayne, Indiana, USA

Re: What gui language works best?

#3 Post by pa_mcclamrock »

mrd wrote:I've written a few small apps for my puppy installs, but unfortunately, the wiki is not up to date these days and my tcl/tk apps don't work anymore. I've ported them to perl/TK, but that is a pain to have to install so I want to do it right from now on and just learn the prefered language that will be around for a while. Preferably one that does not require any additional libs.

Any hints what it is?
GTK+?
wxWidgets?
Tcl/Tk. :D It already has been around for a great while (as such things go), and I'm reliably informed that it's being re-introduced in Puppy 4.2. With some quick dabbling in Tk/Ttk themes and color schemes, you can produce GUIs that look fairly decent and don't clash too badly with your preferred GTK+ color scheme (unless you want them to!), although you can tell they don't use GTK+ 2.0 widgets.

Also included in 4.2 will be Gnocl, for those who like the simplicity and flexibility of Tcl coding but want their apps to take on the preferred GTK+ 2.0 look. Gnocl requires some re-education for those used to Tk, and it doesn't yet have quite all the functionality that Tk does, but it is possible to use it to devise a GUI that does use GTK+ widgets and readily takes on your preferred GTK+ theme.

If you don't want to wait for Puppy 4.2, you can get highly up-to-date Tcl and Tk 8.5.6 .PETs from, among other places, here:

http://puppylinux.asia/members/pa_mccla ... -8.5.6.pet

http://puppylinux.asia/members/pa_mccla ... -8.5.6.pet

These are runtime versions only (they don't include documentation), but you can easily look up the Tcl/Tk documentation here:

http://www.tcl.tk/man/tcl8.5/

As for Gnocl, you can use PETget to install Gnocl 0.9.91 from the Official Puppy 3 repository. This package does include documentation, which you really need if you're used to Tk.

The great thing about Tcl/Tk is that it makes it easy to develop and instantly test-run apps with highly functional GUIs, even pretty complex ones. This is what has kept Tcl/Tk going for all these years, in the face of stiff competition from newer, flashier, but harder-to-use languages. Tcl/Tk is a perennial, like bash, MIDI, PostScript, or HTML--and I predict that, like them, it isn't going to go away any time soon.

David McClamrock
It's stupid to use inferior software for ideological reasons.
--Linus Torvalds

User avatar
ttuuxxx
Posts: 11171
Joined: Sat 05 May 2007, 10:00
Location: Ontario Canada,Sydney Australia
Contact:

#4 Post by ttuuxxx »

Tcl&Tk are ok but nothing ever made from them every reall stood out in my eyes, Like when I look at it in awwwwww, nope never even once.

Foxtool kit is a GUI that I went awwwwww with, with a program called Goggles, it was a DVD player with advanced menus on it, the pet package was 1.7MB, it played dvd's on computers that could never play dvd's before, due to the small size. The fox libs was around 1MB of the pet package.
What was part of the 1.7mb pet package. ???

For a 1.7mb pet you got
-goggles dvd player, its really just a gui for ogle
-ogle is a commandline dvd player which is included
-libdvdcss
-ade text word processor
-fox calculator
-shutterbug screen shot application
-fox libs to run all the apllications above
Now does that sound like something that should be further investigated? Really I think the fox toolkit is one of the biggest underdogs of small excellent running and great looking gui's out there.
http://www.murga-linux.com/puppy/viewtopic.php?t=25406

GTK is boxy and not all that nice to look at. Thats where fox is foxy. If you need any ideas for a GUI, I have one in mind that is desperately needed, a Fox or GTK GUI for VLC, my last VLC package I managed to get it down to 7.5MB pet, thats really great for VLC, but around 3.5+ is just wxgtk and thats a waste, because VLC can be ran 100% from command line, and if an application can be ran Via commandline, then a GTK, Fox, Tcl-Tk could be used and save tons of space. VLC only uses WxGTK or QT Libs, you just can't win. If you wanted to try and make a GUI for VLC using one of the above the world would be a better place :)

ttuuxxx
http://audio.online-convert.com/ <-- excellent site
http://samples.mplayerhq.hu/A-codecs/ <-- Codec Test Files
http://html5games.com/ <-- excellent HTML5 games :)

HueyNym
Posts: 26
Joined: Tue 15 Nov 2005, 21:54

#5 Post by HueyNym »

ttuuxxx wrote:Tcl&Tk are ok but nothing ever made from them every reall stood out in my eyes, Like when I look at it in awwwwww, nope never even once.

Foxtool kit is a GUI that I went awwwwww with, with a program called Goggles, it was a DVD player with advanced menus on it, the pet package was 1.7MB, it played dvd's on computers that could never play dvd's before, due to the small size. The fox libs was around 1MB of the pet package.
We lost the fox toolkit VERY early on - I think if I remember that far back it had to do with it's HUGE size (at that time Puppy was still under 50 meg so every byte counted for a DVD player with an additional toolkit (tcl/TK was the "official" toolkit) and Barry decided to go in another direction - and this was long before community editions or anything. It was just a cool, small OS called "Puppy"

--Huey (who still has his 0.8 disc somewhere)

User avatar
ttuuxxx
Posts: 11171
Joined: Sat 05 May 2007, 10:00
Location: Ontario Canada,Sydney Australia
Contact:

#6 Post by ttuuxxx »

HueyNym wrote:
ttuuxxx wrote:Tcl&Tk are ok but nothing ever made from them every reall stood out in my eyes, Like when I look at it in awwwwww, nope never even once.

Foxtool kit is a GUI that I went awwwwww with, with a program called Goggles, it was a DVD player with advanced menus on it, the pet package was 1.7MB, it played dvd's on computers that could never play dvd's before, due to the small size. The fox libs was around 1MB of the pet package.
We lost the fox toolkit VERY early on - I think if I remember that far back it had to do with it's HUGE size (at that time Puppy was still under 50 meg so every byte counted for a DVD player with an additional toolkit (tcl/TK was the "official" toolkit) and Barry decided to go in another direction - and this was long before community editions or anything. It was just a cool, small OS called "Puppy"

--Huey (who still has his 0.8 disc somewhere)
Yes Huey but it was also included in 2.15ce and was used by most people as a addon for the 3 series, I included with most of my Fire Hydrant releases based on 3 series also. The Shutter bug application was great, when you removed MT paint and used Gimp. That way you still had a screen capture program :)
ttuuxxx
http://audio.online-convert.com/ <-- excellent site
http://samples.mplayerhq.hu/A-codecs/ <-- Codec Test Files
http://html5games.com/ <-- excellent HTML5 games :)

Post Reply