aspose file tools*
The moose likes Perl and the fly likes Window management in Perl/Tk? [apparently not possible] Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Languages » Perl
Bookmark "Window management in Perl/Tk? [apparently not possible]" Watch "Window management in Perl/Tk? [apparently not possible]" New topic
Author

Window management in Perl/Tk? [apparently not possible]

Daniel Levine
Greenhorn

Joined: Mar 03, 2014
Posts: 11
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.
 
 
subject: Window management in Perl/Tk? [apparently not possible]