I want to display a simple popup window with messages at different times in the application.
I can get the window to appear, with the messages. The problem is that underlying GUI elements "pop" through the message window whenever they (the underlying elements) are updated. This, of course, is unprofessional and annoying.
I have tried implementing the message window as a modal dialog, and as simply a child of the underlying screen. I even tried making the underlying screen a child of the message window, but some of you will know how that turned out, I'm sure.
I've looked through the example code, and have studied some of the source, and I am stuck. Z-order seems only used in parent-child relationships, and the underlying widgets are not children of the popup window.
My next step is to see what I can do to force all of the widgets underneath the popup rectangle to see themselves as not visible. I'm afraid, though, that the clipping will then be done with the aggregate dimensions of the underlying widgets, instead of simply the popup rectangle. If so, I will get a pretty ragged region, which also will not look good.
What have I missed? I expect it may be pretty elementary, so feel free to say so!
In reply to Renesas Karol:
In reply to steve:
In reply to MCP:
I have the same problem in my application as well. Originally it was designed to alpha blend the background that is not covered by the message pop-up. Since elements kept coming through we had to switch to a non-transparent blackout of the underlying screen when a pop-up is active. I am hoping a fix for this will be included in a future GUIX release since our solution is compromised.
In reply to Jamie: