[XForms] Figuring out a windows state

Angus Leeming angus.leeming at btopenworld.com
Wed May 19 10:38:56 EDT 2004


On Wednesday 19 May 2004 3:10 pm, Jens Thoms Toerring wrote:

> Thanks, but as far as a quick test shows me form()->visible seems
> only to tell me if the window is mapped, it doesn't seem to make a
> difference if the window is fully visible or iconified. So what
> your code seems to, as far as I understand it, is to make sure a
> window gets de-iconified. But for my problem I need to know if a

That's correct. We've never needed to know whether a window is 
iconified, only to ensure that it is de-iconified.

> But for my problem I need to know if a
> window is iconfied because I take that as a hint from the user on
> how to continue within the program. So, I probably will have to
> figure out how to get XGetWindowProperty() to tell me ;-)

Ok. 

The Qt sources have lots of examples of XGetWindowProperty in action. 
See qapplication_x11.cpp at http://tinyurl.com/27r3m

HTH,
Angus



More information about the Xforms mailing list