On Thursday 12 May 2005 22:29, Colin Carter wrote:
(Sorry if this is too long for hand held chatters.) Hi, I am starting to program for X Window and Xt. I am having a few problems. I have been reading extensively several books and much internet stuff, but unfortunately most examples are 'simple' and have limited usefullness and then the authors jump straight into some other system such as Qt. I would appreciate some discussion.
[snip... Xt geometry management problems ...] I think it may be because the children widgets are not set up to be managed (and when you did try XtManage...() it probably just wasn't done right.) Start here: http://www.linuxforum.net/chinese/doc/motif/guide/MotifProgGuide/en_US/Xlib,... This points to: http://www.linuxforum.net/chinese/doc/motif/guide/MotifProgGuide/en_US/Makin... Here's an Xt Instrinsic FAQ containing lots of interesting factoids: http://www.cs.uu.nl/wais/html/na-dir/Xt-FAQ.html Most discussion I found about geometry management seem to make their way to the window manager (Motif), so here's something about that: http://www.linuxforum.net/chinese/doc/motif/guide/MotifProgGuide/en_US/Manag... If you are using Motif, this has some examples, that includes one that manages a ton of buttons on an xmRowColumnWidget: http://www.oreilly.com/catalog/motifref2/vol6a/Vol6a_html/ch02.html This is part of a FAQ that discusses why Xt widgets can do weird things with size, again it also uses Motif: http://www.faqs.org/faqs/motif-faq/part4/section-16.html