> This is just about it.  I wanted non-modal dialog boxes, so I changed
> file_open_box() to file_open_box(modal=FALSE), and added a print so
> you can see what is going on.

Non-modal dialogs are good, but if you let users open two of the same
dialog it's just confusing.  I would suggest (as someone else did a
while back when discussing the naughtiness of modality) to use a
widget.set_sensitive(FALSE) on the button widget that pops up the
dialog [so that they can't pop up another one, but can still use the
rest of the app], and set_sensitive(TRUE) when they close the dialog.
Then you neither have to make the dialog modal, nor worry about what's
getting pushed to this or that stack (the behaviour of which it's
probably not advisable to rely on).

-Rob

-
To unsubscribe: echo "unsubscribe" | mail [EMAIL PROTECTED]

Reply via email to