hg1915@milton.u.washington.edu (Helen Gottschalk) (02/22/91)
Does anyone know, why is it soooo slow to put widgets into BulletinBoardDialog
or anything derived from it.
For example, try:
dialog = XmCreateFormDialog(parent, "dialog", NULL, NULL);
toggleButton = (Widget) XtCreateWidget("toggleButton",
xmToggleButtonWidgetClass, dialog, NULL, NULL);
label = (Widget) XtCreateWidget("label",
xmLabelWidgetClass, dialog, NULL, NULL);
.
.
.
someOther = (Widget) XtCreateWidget("someOther",
xmSomeOtherWidgetClass, dialog, NULL, NULL);
Changing XmCreateFormDiaog to XmCreateForm speeds thing up by at least a
factor of 10. We are using ISC UNIX System V.3.2.2.2, ISC X11.3, ISC Motif 1.0.
Thank you, Tania.