By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
444,100 Members | 2,846 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 444,100 IT Pros & Developers. It's quick & easy.

Hiding X windows

P: n/a

I'm looking for a way to hide opened windows in X, these windows can be
using any widget-set so it will not target gtk, qt, motif, etc directly
(I know how to do it in gtk for example, but this will only work for gtk
apps ofcourse).

Just an easy way to select a certain window and hide it, is anything like
this possible?

Don't let your mind wander -- it's too little to be let out alone.

Jul 19 '05 #1
Share this Question
Share on Google+
1 Reply

P: n/a
You may want to use a standalone program to do this. "xwit" has the
ability to iconify a window which can be selected in a variety of ways.

There's a direct Python interface to the X protocol in python-xlib. You
could re-write the common function "Select_Window()" from dsimple.c in
the X source distribution. One (old) copy is here:

Having done that, I'm not entirely sure how you proceed to hide the
window. You might follow the directions in the ICCCM on how to iconify
or withdraw a window (,
or you might follow the EWMH document


Version: GnuPG v1.2.6 (GNU/Linux)


Jul 19 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.