Re: [pygtk] Drawing on a gdk.Pixbuf using Cairo.

2010-03-02 Thread David Ripton
On 2010.03.02 10:59:05 +0100, Osmo Maatta wrote: > I have a program that needs to draw circles and other elements on a > gdk.Pixbuf image. > > The current code works well but when creating a Cairo-surface from > pixbuf, the gtk.gdk.Pixbuf.get_pixels_array() function reports that > it's depreca

Re: [pygtk] Get textview from scrolledwindow

2010-03-02 Thread Walter Leibbrandt
Op 02/03/2010 12:44, Alexander Kuleshov het geskryf: > Hi to all. I have one gtk.ScrolledWindow and gtk.textView in it. How > can i get this textview? textview = scrolledwindow.child -- Walter Leibbrandt Software Developer Recent blogs: * Ubuntu PPA for Translate Toolkit and Virta

[pygtk] Get textview from scrolledwindow

2010-03-02 Thread Alexander Kuleshov
Hi to all. I have one gtk.ScrolledWindow and gtk.textView in it. How can i get this textview? Thank you. ___ pygtk mailing list pygtk@daa.com.au http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://faq.pygtk.org/

[pygtk] Drawing on a gdk.Pixbuf using Cairo.

2010-03-02 Thread Osmo Maatta
Hi again, I have a program that needs to draw circles and other elements on a gdk.Pixbuf image. The current code works well but when creating a Cairo-surface from pixbuf, the gtk.gdk.Pixbuf.get_pixels_array() function reports that it's deprecated and should be avoided. pix_data = pixbuf.g