(Link to AcmlmWiki) Offline: thank ||bass
Register | Login
Views: 13,040,846
Main | Memberlist | Active users | Calendar | Chat | Online users
Ranks | FAQ | ACS | Stats | Color Chart | Search | Photo album
05-21-24 08:08 PM
0 users currently in Programming.
Acmlm's Board - I3 Archive - Programming - Programming UNIX GUIs New poll | |
Add to favorites | Next newer thread | Next older thread
User Post
neotransotaku

Sledge Brother
Liberated from school...until MLK day








Since: 11-17-05
From: In Hearst Field Annex...

Last post: 6304 days
Last view: 6301 days
Posted on 01-26-06 07:52 PM Link | Quote
I have a need to program a UNIX GUI. My options are the following

+ Tcl/Tk
+ X Windows
+ Swing/Java/JNI (I really, really do not want to resort to this)

The core of the program I need to write must be written in C (since this is going to be written for a class). The lab computers this program will be written on only has Tcl/Tk and X Windows. Installing other toolkits, such as GTK, is a pain because the lab admins are not friendly people to work with.

So, of the 3 solutions, what should I choose? If you recommend other toolkits, can you state good reasons why this toolkit is superior from the ones mentioned before?
FreeDOS +

Giant Red Koopa
Legion: freedos = fritos








Since: 11-17-05
From: Seattle

Last post: 6301 days
Last view: 6301 days
Posted on 01-27-06 02:00 PM Link | Quote
Eh.. out of those, Java would be the best choice. But I'd recommend using Qt or GTK instead. You do know that you can install them just in your user profile instead of the global filesystem, right?

Tcl/Tk is okay, but writting directly to X11 calls is absolute hell even for simple things.
||bass
Administrator








Since: 11-17-05
From: Salem, Connecticut

Last post: 6303 days
Last view: 6301 days
Posted on 01-27-06 07:49 PM Link | Quote
Originally posted by FreeDOS
Eh.. out of those, Java would be the best choice. But I'd recommend using Qt or GTK instead. You do know that you can install them just in your user profile instead of the global filesystem, right?

Tcl/Tk is okay, but writting directly to X11 calls is absolute hell even for simple things.
What he said. Use GTK.
neotransotaku

Sledge Brother
Liberated from school...until MLK day








Since: 11-17-05
From: In Hearst Field Annex...

Last post: 6304 days
Last view: 6301 days
Posted on 01-27-06 11:07 PM Link | Quote
GTK eh? I guess I'll look into that--the entire library system should fit under 50MiB? I also hope I can find the existing libraries on those lab machines
FreeDOS +

Giant Red Koopa
Legion: freedos = fritos








Since: 11-17-05
From: Seattle

Last post: 6301 days
Last view: 6301 days
Posted on 01-30-06 11:14 PM Link | Quote
By the way, using Qt lets you recompile your programs on Mac OS X and Windows painlessly and still have them look like native applications. GTK is ugly on both OS X and Windows.
neotransotaku

Sledge Brother
Liberated from school...until MLK day








Since: 11-17-05
From: In Hearst Field Annex...

Last post: 6304 days
Last view: 6301 days
Posted on 01-31-06 12:38 AM Link | Quote
interesting...well, this assignment is, in theory, supposed to be done with Solaris 9 (since that is the OS in the computer labs)

i'll try out both GUI toolkits and see what I like.
sloat



 





Since: 11-18-05
From: Delaware, US

Last post: 6405 days
Last view: 6405 days
Posted on 01-31-06 01:32 AM Link | Quote
if you want a native look, you should also check out wxWidgets. It's almost as simple as Qt, and might be more lightweight (not really sure though).

The biggest gripe most people have with Qt is the license -- you can either pay for the toolkit or license your application under the GPL. But if that doesn't matter, then by all means use it. It's definitely more robust and proven.
neotransotaku

Sledge Brother
Liberated from school...until MLK day








Since: 11-17-05
From: In Hearst Field Annex...

Last post: 6304 days
Last view: 6301 days
Posted on 01-31-06 01:51 AM Link | Quote
If I use Qt, it is going to be used for an educational assignment... so, would I be violating anything? I'm leaning towards no...
FreeDOS +

Giant Red Koopa
Legion: freedos = fritos








Since: 11-17-05
From: Seattle

Last post: 6301 days
Last view: 6301 days
Posted on 01-31-06 02:11 AM Link | Quote
If you're releasing the program, you must use a GPL-compatible license (list) for your program to use the free software (GPL'd) version of Qt. If you're making a proprietary program, then you have to pay a lot of money for a version of Qt that allows it.

In-house projects... things that will never be released and such should be just fine with the free software version of Qt. Legally, no one's going to care if it's not going outside of your labs.
MisterJones

Tooky








Since: 12-08-05
From: Mexico

Last post: 6391 days
Last view: 6327 days
Posted on 02-03-06 08:00 PM Link | Quote
WxWidgets perhaps?
neotransotaku

Sledge Brother
Liberated from school...until MLK day








Since: 11-17-05
From: In Hearst Field Annex...

Last post: 6304 days
Last view: 6301 days
Posted on 02-16-06 04:52 PM Link | Quote
Minor bump...

anyways, I've settled in programming GTK (it is actually on the lab computers). I've gotten the hang of programming in GTK but it is a pain to set up the widgets and stuff. So, anyone know visual programs that can help me layout the GUI?
Cellar Dweller +

Red Koopa









Since: 11-18-05
From: Arkansas

Last post: 6311 days
Last view: 6302 days
Posted on 02-17-06 01:03 AM Link | Quote
Yes.
Add to favorites | Next newer thread | Next older thread
Acmlm's Board - I3 Archive - Programming - Programming UNIX GUIs |


ABII

Acmlmboard 1.92.999, 9/17/2006
©2000-2006 Acmlm, Emuz, Blades, Xkeeper

Page rendered in 0.015 seconds; used 399.63 kB (max 497.53 kB)