Archive for November, 2011


I should really be writing documentation for Xt/XAW. DDG doesn’t seem to be finding too many resources on it(the only hello world outside of mine posted was one whose page was in japanese….) So yeah, once I’m done with XAWPanel I’ll probably document what I know.


KDE Suggestions

I’m back on KDE, after much urging from my friend Thomas from Gnome(old 2.3something, which was part of the reason for the switch.) However, I’ve noticed a few things that would be awesome for the great power user environment. One of them I dented, porting V8 to Konqueror(actually I just said more work on KJS, Leo said V8.) The others I’ve come up with are mainly involving kget. First off I’d really like a kde provided addon to use kget with firefox. The second is support for cloning in version control and ssh. Mainly because a lot of the time with version control you just want to download, ssh for scp. Basically I’d really like to be able to handle all my downloads with kget.

Toolkits and languages

So….it’s been way too long, though I’ve been busy. The now famous ai-class, other schoolwork, social stuff. At least I update my identica, that’s enough, right? So anyway, sorry for the long wait. I just figured I’d say what I think are the best gui toolkits for various languages, and a short explaination for why.

C: XAW(preferably XAW3D, which looks slightly better)

This is going to seem REALLY weird to a lot of you, and I know why, gtk is C, after all. Well the problem is that gtk isn’t fun, at least not in C. It’s also faster to write, here, let me give you a quick hello world in Xaw3d, then in gtk.

*includes, so xaw, xt, and X11 stuff*

int main(int argc, char **argv)


    XtAppContext ctx;

    Widget toplevel, hello;

    toplevel = XtVaAppInitialize(&ctx, “HelloWorld”, NULL, 0, &argc, argv, NULL, NULL);

    hello = XtCreateManagedWidget(“Hello”, labelWidgetClass, toplevel, 0);


    return 0;


okay, so there’s XAW for you. I’m going to assume that you are capable of looking up the gtk hello world, it’s way too long to include here. It also has the ability to be used without pkg-config. That requires 3 -ls, X11, Xt, and Xaw3d.


I’ve wasted enough time here, so I’m just going to get on and say that I prefer gtk in every language except for C++ and javascript. Mainly I honestly just wanted to show off that xaw is pretty awesome, even though it’s ridiculously ugly.