Is there a GUI toolkit for C (not C++)?

Started by Freddy, September 27, 2006, 07:10:07 PM

Previous topic - Next topic

Freddy

Is there GUI toolkit for C, so I can use with Pelles C?
If it's multi-platform then it would be perfect!

cane

I've also looked for it some time ago. You can find a pretty comprehensive list of GUI toolkits here:

http://home.pacbell.net/atai/guitool/

Specifically for C, this seems nice:

http://www.tecgraf.puc-rio.br/iup/

But don't take my words for the best advise, because I have a very limited experience with GUIs.

Freddy

Most GUI toolkits are for C++. :(
It's very hard to find something about C language at google, because C is just one letter. Usually I have to type C++ to find something for C. But I can't find a GUI for C.

An option would be to use GTK+, but people say GTK+ on windows is not good. Also, I don't know how to install it and it has lots of dependences (DLL hell).

Freddy

Found this: www.japi.de
Provides Java GUI for C and other languages.
I'll try it a bit more.
Has anyone used this?

Gerome

Hi,

Quote from: "Freddy"Found this: www.japi.de
Provides Java GUI for C and other languages.
I'll try it a bit more.
Has anyone used this?

Yes!
It's really impressive and works fine.
I've also used it with my scripting language without any problems :)

Freddy

Gerome, I downloaded your scripting language and I'm really impressed.
It's very good! I like how it has usefull built-in functions but still have access to the Win32API!
Is it possible to call a C programmed function from there?
Easy interface with Pelles C would be nice!
Also, I think a GUI Builder would be great help. Because having to find Forms/Controls sizes and positions is a pain.

Gerome

Hello,

Quote from: "Freddy"Gerome, I downloaded your scripting language and I'm really impressed.
It's very good! I like how it has usefull built-in functions but still have access to the Win32API!
Is it possible to call a C programmed function from there?
Easy interface with Pelles C would be nice!
Also, I think a GUI Builder would be great help. Because having to find Forms/Controls sizes and positions is a pain.

Thanks for your appreciation Freddy :)
It's is possible to call any C function from Fbsl by making a DLL with your C functions, either CDecl or Stdcall ones, Fbsl handles them automagically :)

#DllDeclare yourdll( "myfooA", "myfooB" )
myfooA( param1, ... )

and yes there is a RAD in progress that is entirely developped in Fbsl!
Have a look there :


Enjoy ;)

ivanhv

Of course, GTK.

Look for winglade at google. There are precompiled packages with SDK and runtimes.

It's multiplatform (the best you would get as multiplatform), but thre's no space for Windows CE (big too much, I fear)

Freddy

This one looks good: http://www.clarographics.org/
But I can't build it. :(

Can anyone help me build this library with Pelles C?
Thanks

Pelle

/Pelle