Qbasicnews.com

Full Version: Which gui widget to use?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Himeowth!

Just curious which GUI widget i should use for creating a crossplatform EZ-GUI module in the fashion of how BCX handles this.
Any ideas? I thought about using the GnomeToolKit 2 (GTK2) as it is linux and windows-compatible.
If that is decided community-wide i could start working on it.
And if i get a massive boredom hit i could create a GUI-Creator that works a bit like VB and that outputs a .bas file that can be compiled afterwards.
All writen in FB of course and free for noncommercial use.

So Long, The Werelion!
Go for it, man. It will help people make portable GUI programs.

For non-portable, fast GUI programs we'll have FBXL Wink
Quote:For non-portable, fast GUI programs we'll have FBXL Wink
No longer non-portable...FBXL only targets Windows for the time being but once the Windows implementation is done, you'll see the same kind of tight, fast applications available for Linux as well. Big Grin And MacOS later and possibly even MSDOS...and whatever other OS FB gets ported to. Big Grin
Gtk is quite huge, do you plan to make a wrapper in C that will call Gtk or translate the Gtk headers to FB so the generated code could run without helper libraries?

That would need a group of people working on the translation to get Gtk done. If the Gtk headers could be used in FB, a VB-forms to FB tool could be done easily (see VB2C for example: http://www.naken.cc/vb2c/ ).

Angelo pointed me out the Leonardo Library (http://www.leonardo-vm.org/ ), it has a GUI toolkit that will use the Win32 API in Windows (so exe's are quite small and no other DLL's are needed) and Qt in other OSes. Everything is done using callbacks, messages are handled internally -- and the headers are 10x easier to translate than the Gtk ones.

Btw, wasn't the EZ-GUI tool made for PowerBASIC? I couldn't find any references about it and BCX together.
It would just be a wrapper to the GTK dll, thats how its planned.
But if i can exept something from adosorken toward GUI, then ill suspend my work.