Control of X11 Windows

Matthew Turk m-turk at nwu.edu
Sun Apr 29 03:30:48 EDT 2001


Hi there.  I've looked through PLWM, and Python-Xlib, but I can't seem
to find documentation that discusses this from the standpoint I'm
interested in.

I've got a large collection of media on my computer; most of them RM
files, or AVI's.  Anyway, what I'm interested in doing is spawning a
RealPlayer application instance, and controlling (maximizing it to the
size of the screen, or at least getting a handle on it.)

I want to be able to do this in python; I've got a GUI interface to my
archive in the works, and I'd rather not shell out to C or C++, mainly
because I'm pretty inexperienced with those languages.

I've gone through the PLWM code, and I think I've found how to do it -
but I don't want to change my WindowManager.  I want to be able to use
E (I can hear the gasps go up in the crowd as I admit this...  :) and
also manipulate my windows.  Is there a way I can grab the window?
Spawning it from within the Python-Xlib environment?  I can come up
with the code to manipulate it, I'm sure, I just need to know how to
"grab" it, per se.

Thanks!



mjt
-- 
"Having said that, music is supposed to be
 in the world for celebration, ritual, and
 healing - that's the point for me."
		-- Trey Anastasio



More information about the Python-list mailing list