I hate that something like this is possible. This gives people who know only bash the ability to create a mess rather than learn a real scripting language like Python.
A port of the GTK+3 Hello World to Bash
11–20 of 27 posts
Re: A port of the GTK+3 Hello World to Bash
#12--------------------------------------------------------
#!/usr/bin/env bash
cat package require Tk
pack [button .b -text {Push Me} -command {
tk_messageBox -message {hello, world}
}]EOF
--------------------------------------------------------
Of course doing it directly in Tk Tcl would be even more portable, readable, simple and smarter and easier to deploy/maintain.
And at the opposite of gtk team tk team does not breaks API for the pleasure of being more right than the users.
So it would be a win-win-win situation to use Tk/Tcl instead of gtk3.
Re: A port of the GTK+3 Hello World to Bash
#13I hate that something like this is possible. This gives people who know only bash the ability to create a mess rather than learn a real scripting language like Python.
Re: A port of the GTK+3 Hello World to Bash
#14I hate that something like this is possible. This gives people who know only bash the ability to create a mess rather than learn a real scripting language like Python.
I've tried writing a GTK 3 app in python, it was pretty horrible. The GTK XML format is very annoying to work with, and writing interfaces programmatically requires using an automatically generated C->python API, which has essentially no documentation.
But eventually I dropped GTK and switched to Qt. I thought they worked through all the common issues with better solutions.
Re: A port of the GTK+3 Hello World to Bash
#15I hate that something like this is possible. This gives people who know only bash the ability to create a mess rather than learn a real scripting language like Python.
Re: A port of the GTK+3 Hello World to Bash
#16I hate that something like this is possible. This gives people who know only bash the ability to create a mess rather than learn a real scripting language like Python.
I've tried writing a GTK 3 app in python, it was pretty horrible. The GTK XML format is very annoying to work with, and writing interfaces programmatically requires using an automatically generated C->python API, which has essentially no documentation.
Re: A port of the GTK+3 Hello World to Bash
#17I hate that something like this is possible. This gives people who know only bash the ability to create a mess rather than learn a real scripting language like Python.
Re: A port of the GTK+3 Hello World to Bash
#18I hate that something like this is possible. This gives people who know only bash the ability to create a mess rather than learn a real scripting language like Python.
I think the same thing was said about Javascript when node.js was created.