Bash script + gtk3 GUI

For discussions about programming, programming questions/advice, and projects that don't really have anything to do with Puppy.
Post Reply
Message
Author
User avatar
matiasbatero
Posts: 60
Joined: Fri 12 Oct 2012, 01:27
Location: Mar del Plata, Argentina

Bash script + gtk3 GUI

#1 Post by matiasbatero »

Hi!!

Do you know about a utility to make GUI's in GTK3 like gtkdialog style, or similar with BASH???

I know only 2 tools to make gtk3 interfaces with bash. But..
zenity GTK3 = very poor options
glade2script-gtk3 = requires python.

Of course, Gtkdialog is a incredible option but it's made to work with GTK2.

And.. what do you think about the future of gtk2??

User avatar
sunburnt
Posts: 5090
Joined: Wed 08 Jun 2005, 23:11
Location: Arizona, U.S.A.

#2 Post by sunburnt »

Hi matiasbatero; There`s a few options, most are not what you want.

Tiny Core linux uses: Fast Light Tool Kit: http://www.fltk.org/

Gambis which is kinda like Visual Basic: http://gambasrad.org/

GtkServer by the same guy who wrote BaCon, the only one that works in Bash I think.
No forum, but there is a web page: http://www.gtk-server.org/

BaCon: Basic to C Converter ( I use it ): http://basic-converter.org/
Bacon forum: http://basic-converter.proboards.com/
Basic language that converts to C then compiles to make exec. binary files.
Much faster than shell scripts, like many files in /bin, /sbin, /usr/bin, /usr/sbin
A big advantage here is the exec. files should work on most any Linux distro.
Has most but not all GTK controls, not many properties and methods supported.

What do I think of GTK+ in general? It`s a mess and I pray for a good replacement.
GTK = Gimp Tool Kit, made by the Gimp folks for Gimp, and not much else...

It`d be nice to see a new GUI Kit built on top of X with good quality controls.
I`m no fan of M$, I`ve used V.B. for years and Weeners has the best controls.
.

User avatar
zigbert
Posts: 6621
Joined: Wed 29 Mar 2006, 18:13
Location: Valåmoen, Norway
Contact:

#3 Post by zigbert »

matiasbatero
I would hold on a bit.
Thunor has announced that he is looking into gtk3-support of gtkdialog. With his skills, I am rather sure he makes it....


Sigmund

User avatar
01micko
Posts: 8741
Joined: Sat 11 Oct 2008, 13:39
Location: qld
Contact:

#4 Post by 01micko »

zigbert wrote:matiasbatero
I would hold on a bit.
How long is a bit?
zigbert wrote:Thunor has announced that he is looking into gtk3-support of gtkdialog. With his skills, I am rather sure he makes it....


Sigmund
...this long? [ :P ]

Image
Puppy Linux Blog - contact me for access

User avatar
matiasbatero
Posts: 60
Joined: Fri 12 Oct 2012, 01:27
Location: Mar del Plata, Argentina

#5 Post by matiasbatero »

01micko wrote:
zigbert wrote:matiasbatero
I would hold on a bit.
How long is a bit?
zigbert wrote:Thunor has announced that he is looking into gtk3-support of gtkdialog. With his skills, I am rather sure he makes it....


Sigmund
...this long? [ :P ]

Image
OMG!!!! TODAY = gtk3+ support!!!!!!
What a incredible notice!!!!

Really, i can't believe it...

User avatar
sunburnt
Posts: 5090
Joined: Wed 08 Jun 2005, 23:11
Location: Arizona, U.S.A.

#6 Post by sunburnt »

matiasbatero; You are intending to make GUIs for Puppy only?

I know of no other Linux distro. that uses it.

User avatar
matiasbatero
Posts: 60
Joined: Fri 12 Oct 2012, 01:27
Location: Mar del Plata, Argentina

#7 Post by matiasbatero »

sunburnt wrote:matiasbatero; You are intending to make GUIs for Puppy only?

I know of no other Linux distro. that uses it.
Hi sunburnt!!!

No, i want to make GUIs in general, that can be run on few distros.
For example, i use Archlinux...

amigo
Posts: 2629
Joined: Mon 02 Apr 2007, 06:52

#8 Post by amigo »

If you want to make GUI's which work on other distros, I'd suggest you develop them first on any other distro, then adapt them for use on Puppy.

User avatar
sunburnt
Posts: 5090
Joined: Wed 08 Jun 2005, 23:11
Location: Arizona, U.S.A.

#9 Post by sunburnt »

Good advice, Puppy is, well... Very special.! :wink:


Q and a suggestion: Have you ever programmed in Basic?

You might try BaCon, it`s easy to learn and makes common GUIs well.
I`ve made a popup menu and an exec. of GTK`s file/dir. browser and message box.
All 3 of these being exec. files, Bash can run them like any other exec.
And they stand a very good chance of working on most other Linux O.S.s.

Post Reply