I'd like to try my hand at building a (very simple) X window manager in Perl/Tk, but looking around the web, there seems to be very little on using Tk for such things. Lots about interacting with window managers, but not much about managing windows.
Is desktop and window management possible using only the Tk bindings? I know Perl has xlib bindings, etc. but I'd like to avoid dragging in further dependencies if possible, especially dependencies that don't look to be actively maintained.
Edit: this doesn't look possible actually, Tk does not make available the low-level functions needed for interacting directly with X. I will look into other toolkits, etc.