Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

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

Daniel Levine
Posts: 15
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!