[pygtk] Drawing and signals

2010-06-09 Thread Jeenu V
Hi, I wish to create an app which draws certain layout (like a graph, mostly consisting of colored rectangles, and some labels) on to a window after reading data from an external source. Additionally, I'd like various parts of the layout receive signals (like click, hover etc.) so that I can

Re: [pygtk] Drawing and signals

2010-06-09 Thread Timo
On 09-06-10 13:33, Jeenu V wrote: Hi, I wish to create an app which draws certain layout (like a graph, mostly consisting of colored rectangles, and some labels) on to a window after reading data from an external source. Additionally, I'd like various parts of the layout receive signals

Re: [pygtk] [jeenuv.otherinbox.com] Re: Drawing and signals

2010-06-09 Thread Jeenu V
On Wed, Jun 9, 2010 at 9:23 PM, Timo timomli...@gmail.com wrote: It is definatly possible with PyGTK. Use a gtk.Drawingarea to draw on using Cairo. But if you do not like to write this all by yourself, someone else has done a pretty good job already here:

Re: [pygtk] [jeenuv.otherinbox.com] Re: Drawing and signals

2010-06-09 Thread Stephen George
On 10/06/2010 2:45 AM, Jeenu V wrote: On Wed, Jun 9, 2010 at 9:23 PM, Timotimomli...@gmail.com wrote: It is definatly possible with PyGTK. Use a gtk.Drawingarea to draw on using Cairo. But if you do not like to write this all by yourself, someone else has done a pretty good job already

Re: [pygtk] [jeenuv.otherinbox.com] Re: Drawing and signals

2010-06-09 Thread John Stowers
On Wed, 2010-06-09 at 22:15 +0530, Jeenu V wrote: On Wed, Jun 9, 2010 at 9:23 PM, Timo timomli...@gmail.com wrote: It is definatly possible with PyGTK. Use a gtk.Drawingarea to draw on using Cairo. But if you do not like to write this all by yourself, someone else has done a pretty good

[pygtk] Win 32 query

2010-06-09 Thread Brian Rowlands (Greymouth High School)
Hi Folks Hope you can help me with a simple problem. I have a login script that requires me to display the username and domain controller the user connects through when logging in to Active Directory. I can get their username via: from win32api import GetUserName user = GetUserName() My

Re: [pygtk] Win 32 query

2010-06-09 Thread Brian Rowlands (Greymouth High School)
Hi Folks After searching for the best part of an hour AND posting a cry for help via this list I immediately found what I wanted via Google. dc = win32net.NetGetDCName (None, None) produces what I want. Question: When should I really give up and ask for help? H Brian