Page 1 of 1

Is there a GUI toolkit for Linux and Windows?

Posted: Wed 30 Nov 2011, 06:36
by snayak
Dear All,

I would like to have some advice from my puppy programmer friends, on a GUI toolkit that I should learn.

I would like to learn a GUI toolkit where I can write a program for a gui application that can work both in Linux and Windows. I mean platform independent GUI toolkit. It should be simple and easy to learn.

So that with minimum effort I can do GUI programming for both operating systems.

Sincerely,
Srinivas Nayak

Posted: Wed 30 Nov 2011, 06:46
by jpeps
tcltk comes to mind.

edit: might only run on old windows OS, although maybe ActiveTCL

http://www.activestate.com/tcl-dev-kit? ... QgodrnVmqw

Windows

x86 or x86_64 architecture
Windows XP or later

Mac

PowerPC or Intel architectures
Minimum OS X 10.4 (PowerPC/Intel)

Linux

x86: Minimum 2.4 kernel (e.g. Red Hat 9+, Oracle Enterprise Linux 4+)
x86_64: Minimum 2.6 kernel
glibc 2.4+

gui toolkit for linux and windows

Posted: Wed 30 Nov 2011, 10:39
by L18L
yad comes to my mind

Learn to use it in puppy (it is easy) and hope it works in windows, see
yad Revision: r298

Re: gui toolkit for linux and windows

Posted: Wed 30 Nov 2011, 12:37
by PANZERKOPF
snayak wrote: I would like to learn a gui toolkit where I can write a program for a gui application that can work both in linux and windows. I mean platform independent gui toolkit. It should be simple and easy to learn.
Qt.
http://qt.nokia.com/products/

Posted: Thu 01 Dec 2011, 05:16
by snayak
I have used qt, but it seems it is too big.

lets say I wrote an gui app for an OS. I need to load the library to the OS before my app runs. How big are them for QT, GTK+, GTKDialog etc?

How can I get to know that?

Posted: Sat 03 Dec 2011, 13:43
by PANZERKOPF
snayak wrote:I have used qt, but it seems it is too big.
Another multiplatform GUI toolkits (smaller than Qt) :
http://www.fltk.org/
http://www.fox-toolkit.org/

Posted: Sat 03 Dec 2011, 15:58
by Iguleder
Both GTK+ and Qt are heavy, but:
- The GTK+ API is more stable (some functions were deprecated between 2.x and 3.x), while Qt breaks compatibility between major versions (e.g Qt3 and Qt4 are totally incompatible).
- GTK+ is available on more systems, since Firefox, Chrome, GIMP and many other "major" applications use it.
- Both work on Windows, but GTK+ 3 wasn't ported to Windows yet.
- Both are heavy. If you're looking for a lightweight alternative, there are FOX and FLTK.

If you want easy development, you should try FLTK. It's quite nice - the developers made FLUID, a GUI RAD tool.

Posted: Sun 04 Dec 2011, 23:35
by jpeps
Iguleder wrote:
If you want easy development, you should try FLTK. It's quite nice
Yeah...I was just playing with fltk-1.3.0, after installing it for dillo; comes with full directory of examples and has a well documented manual.

Posted: Tue 06 Dec 2011, 10:46
by snayak
Many thanks for introducing me with fltk and fox.

both are c++ tools. Good. They have other lagnguage bindings as well. Smaller too.

Do they have tcl/tk language binding? No, right?

What else toolkits are having smaller memory footprint and good to use?

Do any other toolkit have PHP language extension/binding?

Srinivas

Posted: Thu 08 Dec 2011, 10:58
by technosaurus
the smallest are
lua & SDL (C with C++ bindings) both have tons of bindings and addons

also jimtcl has basic SDL bindings

yes

Posted: Tue 07 Feb 2012, 18:13
by xpectmore
purebasic.com

with purebasic 4.60

forums.purebasic.com(code example for linux)

this is special guys , and more this is a nice choose for gtk2
all you need is gtk like client