As advertised. Works 100% on Debian Linux on XFree86 and Mac OS X on
X.org.
This patch is proof of concept; I'm sure this is not The Xt Way to do
this. Note that xlw_create_tab_control() attempts to do this by
setting a resource, but that fails. I don't know why yet, my Xt docs
are elsewhere.
Index: lwlib/lwlib-Xlw.c
===================================================================
RCS file: /pack/xemacscvs/XEmacs/xemacs/lwlib/lwlib-Xlw.c,v
retrieving revision 1.13
diff -u -r1.13 lwlib-Xlw.c
--- lwlib/lwlib-Xlw.c 20 Sep 2004 19:19:16 -0000 1.13
+++ lwlib/lwlib-Xlw.c 8 Mar 2005 06:40:53 -0000
@@ -48,6 +48,7 @@
#endif
#include "../src/xmu.h"
#include "xlwtabs.h"
+#include "xlwtabsP.h"
#endif
@@ -447,6 +448,8 @@
if (lw_xaw_widget_p (children [i]))
xaw_update_one_widget (instance, children [i], cur, False);
#endif
+ /* #### this can't be the PC way to do this */
+ ((TabsConstraintsRec *) children[i]->core.constraints)->tabs.resizable=False;
cur = cur->next;
}
XtFree ((char *) children);
--
Institute of Policy and Planning Sciences
http://turnbull.sk.tsukuba.ac.jp
University of Tsukuba Tennodai 1-1-1 Tsukuba 305-8573 JAPAN
Ask not how you can "do" free software business;
ask what your business can "do for" free software.