Pmw dialogs - very slow

Horst Gassner horst at proceryon.at
Thu Jul 27 09:21:35 EDT 2000


Hi all!

Am I doing something wrong or are Pmw dialogs really so slow?

Here are the lines of code:
s.notYetImplemetentedDlg = Pmw.MessageDialog(s.parent, defaultbutton=0,
title = notYetImplementedHdrTxt, message_text = notYetImplementedTxt)
s.notYetImplemetentedDlg.activate(geometry = 'centerscreenalways')

The dialog frame appears very fast but it takes between 1 and 2 seconds
to display the contents!


When I use the simple tk-Dialog then everything is okay (dialog
including contents appears suddenly).
tkMessageBox.showinfo(notYetImplementedHdrTxt, notYetImplementedTxt)

I like Pmw very much and I also want to use the Pmw dialogs because of
there extended features (e.g. centering the dialog on screen, using the
same font as for all other Pmw-Megawidgets)

Is there a possibilty to speed this up?

Thank you in advance
Horst



More information about the Python-list mailing list