sayre@sbcs.sunysb.edu (Johannes Sayre) (04/26/89)
Hello - I need to find out how to give an X program the ability to iconify itself. Specifically, the program has an 'iconify' button; when you click it, the thing should iconify. I assume I have to talk to my window manager in some way, but I haven't been able to find out what to do. The only window-mgr related thing I do currently is XSetStandardProperties() on my toplevel window once when I start up. Also, I'm using Xlib only, no toolkit, if that makes a difference. Any hints ? Thanks in advance, Johannes -- Johannes Sayre Dept. of Computer Science Internet: sayre@sbcs.sunysb.edu SUNY Stony Brook UUCP: {allegra,philabs,sunybcs,research}!sbcs!sayre Stony Brook, NY 11794 CSnet: sayre@suny-sb
dshr@SUN.COM (David Rosenthal) (04/27/89)
> I need to find out how to give an X program the ability to iconify itself.
The technique for doing this is set out in the "Inter-Client Communications
Manual". The current (Public Review) draft is available from MIT. The
public review is over, and subject to the resolution of a few remaining
nits (none of which affect iconification) a final "blessed" version
should be available soon.
Unfortunately, there are at present no window managers that conform
to this draft of the ICCCM. And, until there are, there is no reliable
way to do what you want. I suggest that what you should do is to wait
until the updated version of Xlib (which contains routines to iconify
and deiconify yourself) appears before attempting to implement the
"iconify" button. And then you will have to wait until ICCCM-compliant
window managers become available before the button will actually do
anything.
David.
rws@EXPO.LCS.MIT.EDU (04/27/89)
I need to find out how to give an X program the ability to iconify itself. This is described in the draft standard ICCCM that was announced for public review on this list a while back. (But you will need a window manager that also obeys the ICCCM.) The ICCCM is available via the xstuff mail daemon on expo.lcs.mit.edu.