Help: problem in setting the background colour ListBox

2010-11-30 Thread ton ph
Hi everyone ,
 I have a requirement of displaying my data in a textCtrl like widget , but
i need that the data in the row be clickable ,
so as when i click the data i could be able to get fire and even and get me
the selected data value.After a long
search i  found ListBox to be perfect for my use but When i try to set the
backGround colour to the colour of my
application requirement i am not able to do so, but i am able to set the
foreground colour .
Hope someone will guide me in solving my problem
Thanks
-- 
http://mail.python.org/mailman/listinfo/python-list


Help: Guide needed in trying to delete/flush the content of a fifo file.

2010-11-14 Thread ton ph
Hi python geeks,
  I have  problem which i have been trying to find out for the past some
days, i have a device which feeds info to my fifo continuosly, and a thread
of mine reads the
fifo continuosly. Now when i change a parameter in the device, it sends me
different values. Now my problem is that , i want to get rid of the contents
of my previous info which
is present in my buffer of the fifo.So i want to flush the fifo content when
my device starts sending different info  i am implementing writing and
reading the fifo  using two different threads.
Please someone guide me solving my problem.
I highly apologise everyone in case my post is not so clear...
Thanks everyone in advance.
-- 
http://mail.python.org/mailman/listinfo/python-list