This week's book giveaway is in the OCPJP forum.
We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line!
See this thread for details.
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


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Window management in Perl/Tk? [apparently not possible]