Hi all,

I'm trying to compile the program molmol ("Display and analyze
structures of biological macromolecules") with lesstif, and having some
problems.

When the application starts, it displays a couple of windows: A main
window with the molecule display, menus and a command line and a
fixed-size window with rulers to move the molecule. These windows are
the same, irrespective if I use openmotif or lesstif.

However, there are some dialog windows (most importantly, a "Save
state?" question when quitting) that are small, hardly visible, with
lesstif. With openmotif, the size is just big enough to display the
question and the buttons needed. 

I can resize the windows using the windowmanager handles, but I fear a
user that's not familiar to the program will not even notice them...

Unfortunately, I don't know much about programming X applications, so I
can't debug this myself. I would be glad to hear from you

- whether this is a known problem

- whether the cause is likely that some implementations is missing in
  lesstif, or rather a version incompatibility, so that I would have to
  change the source code

- how I could proceed to debug this. Here's what I found out:

One of these dialog boxes, "Tip of the Day", seems to be created like
this:

  dataP->dialG = PuCreateDialog("Tip of the Day", 3, DIAL_H);

This is defined elsewhere:

#include <pu_dev.h>

[...]
PuGizmo
PuCreateDialog(char *name, int xBase, int yBase)
{
  return CurrPuDevP->createDialog(name, xBase, yBase);
}

Well, that's how far I got - but I have no idea how to proceed further.

Thanks in advance, Frank
-- 
Frank K�ster, Biozentrum der Univ. Basel
Abt. Biophysikalische Chemie

_______________________________________________
Lesstif mailing list
[EMAIL PROTECTED]
https://terror.hungry.com/mailman/listinfo/lesstif

Reply via email to