lcp@ibism.UUCP (Larry Poleshuck) (04/02/91)
From ibism!ibism.UUCP!lcp Mon Apr 1 15:05:56 1991 Article: 1811 of comp.windows.x.motif Can anyone tell me how to force mwm to deiconify a TopLevel widget in my application which has been iconified? Specifically, my applictation has several topLevel widgets and there are times when I want to force deiconification of certain widgets. I tried setting the iconfy attribute of the toplevel, but that appears to be used only for initial state. I've also tried sending a ClientMessage with message type set the the return from XInternAtom(display, "WM_CHANGE_STATE", True) and window set to DefaultRo otWindow(display). This client message does not cause any X error but also does not cause my icon to be deiconified. Any help would be appreciated. -- Larry Poleshuck Citibank 111 Wall Street New York, NY 10043 Phone: 212-657-7709 Fax: 212-825-8607 E-Mail: uunet!ibism!lcp -- Larry Poleshuck Citibank 111 Wall Street New York, NY 10043 Phone: 212-657-7709 Fax: 212-825-8607 E-Mail: uunet!ibism!lcp
mouse@lightning.mcrcim.mcgill.EDU (der Mouse) (04/02/91)
> Can anyone tell me how to force mwm to deiconify a TopLevel widget in > my application which has been iconified? Specifically, my > applictation has several topLevel widgets and there are times when I > want to force deiconification of certain widgets. I can't speak about mwm specifically, but the ICCCM specifies a way for a client to request - not demand - that a top-level window be deiconified. This is to simply map the top-level window. > I've also tried sending a ClientMessage with message type set the the > return from XInternAtom(display, "WM_CHANGE_STATE", True) and window > set to DefaultRootWindow(display). This client message does not > cause any X error but also does not cause my icon to be deiconified. With the additional qualifiers that format is 32 and data[0] is IconicState, this is how to request a change from Normal to Iconic; it has nothing to do with going the other way. der Mouse old: mcgill-vision!mouse new: mouse@larry.mcrcim.mcgill.edu