Linux GUI programming
-
- Posts: 775
- Joined: Jul 01, 2005 18:45
Linux GUI programming
I've just switched to linux, and have been wondering, what is a good GUI library to learn? I'm using Ubuntu with GNOME, and I've heard of GTK. But I've also heard that GTK is ugly and bad. I'd like to use C and FB, so something with headers already translated would be nice, thanks.
-
- Posts: 142
- Joined: May 27, 2005 6:13
GTK 1.x is ugly. GNOME uses GTK 2.x (this is the one FB has headers for), and so does Firefox on Linux. GTK 2.x has a weird clunky File Open/Save dialog box, but other than that it's fine.
There's also wx-c. FB headers for a C wrapper around a C++ library that uses GTK 2.x (on Linux) anyway. Dumbledore wrote a visual designer for it:
http://vwx-cdev.sourceforge.net/
There's also wx-c. FB headers for a C wrapper around a C++ library that uses GTK 2.x (on Linux) anyway. Dumbledore wrote a visual designer for it:
http://vwx-cdev.sourceforge.net/
-
- Posts: 201
- Joined: Nov 13, 2005 11:37
- Location: Sweden
- Contact:
I'm learning GTK+ 2.0, and while I've never understood winAPI, GTK seems
easy to grasp (might be because of me, getting more ready)
If you want to make it even easier you could download glade, which is a visual
forms designer, that saves your layout in xml format which libglade
(included in fB with an example) can load and display.
easy to grasp (might be because of me, getting more ready)
If you want to make it even easier you could download glade, which is a visual
forms designer, that saves your layout in xml format which libglade
(included in fB with an example) can load and display.
-
- Posts: 775
- Joined: Jul 01, 2005 18:45
-
- Posts: 775
- Joined: Jul 01, 2005 18:45
I'm looking for something like WinAPI is for windows, where you don't have to distribute any runtimes. That's why I didn't want to use wx-c.
But to argue against that, it's much quicker to use a prebuilt library than straight APIs. I could write a GUI app with IBasic's GUI lib much faster than I could with FB and the windows API. But I am thinking about making an IBasic style GUI library for FreeBASIC.
If I can get wxWidgets to install correctly I'm going to try to learn it, since I could be much faster than straight API and be cross platform too. And I think it's possible to link static libraries that way and not distribute huge DLLs.
But to argue against that, it's much quicker to use a prebuilt library than straight APIs. I could write a GUI app with IBasic's GUI lib much faster than I could with FB and the windows API. But I am thinking about making an IBasic style GUI library for FreeBASIC.
If I can get wxWidgets to install correctly I'm going to try to learn it, since I could be much faster than straight API and be cross platform too. And I think it's possible to link static libraries that way and not distribute huge DLLs.