You are not logged in.

#1 2013-07-12 20:10:23

beyaz
Member
From: Istanbul
Registered: 2012-06-04
Posts: 5
Website

How to draw on desktop with python

I would like to draw on the root window like conky or nautilus does? Is it possible in python? My favourite GUI library is Tkinter, but I do not think it is capable of such a task.
Edit: I do not want to mess with pyxlib, it seems to be orphaned long ago.

Last edited by beyaz (2013-07-12 20:11:25)

Offline

#2 2013-07-12 20:25:19

drcouzelis
Member
From: Connecticut, USA
Registered: 2009-11-09
Posts: 4,092
Website

Re: How to draw on desktop with python

The "desktop" is called the "root window". Searching for "python draw on root window" came up with this tutorial: http://zetcode.com/gfx/pycairo/root/

Offline

#3 2013-07-12 20:55:47

beyaz
Member
From: Istanbul
Registered: 2012-06-04
Posts: 5
Website

Re: How to draw on desktop with python

thank you, this should do the job. I had been googling around, I think I have missed this one.

Offline

Board footer

Powered by FluxBB