You are not logged in.
Hi,
I'm writting a little source code editor using PyGTK for my own python education. Everything works, but I would like to be able to specify a background color for the current working line. I know how to use tags to change the background color for a specific line, but I don't know how to make this background color fill the full line, from left to right margin, not only the text part of the line.
I searched some help on google but it seems I can't find a solution (or maybe I don't know how to use google efficiently).
Any help would be appreciated, thanks.
I hope my post is understable :?
Offline
hmm... it seems not a simple task... maybe you should use some gdk objects to do this... i think http://www.pygtk.org/pygtk2reference/index.html will be helpfull... and try to post to the pygtk ml... maybe someone out there would know the answer...
"There's only two thing infinite: the universe and the human stupidity... and i'm not sure about universe"
Albert Einstein
gtkPacman - PyGTK package manager based on pacman
https://gtkpacman.berlios.de
Offline
Maybe you have already solved it but someone else might look here for help.
The text-editor Scribes is written in PyGTK and seems to have that function, at least judging by the front-page screenshot, so check out their code.
Offline