[pygtk] returning window.handle from drawingarea

patty.ackermann at gmail.com patty.ackermann at gmail.com
Thu Oct 30 08:40:42 WST 2008


I forgot to do a realize(). Thanks for all the help guys.

Patty

On Oct 26, 2008 2:45pm, John Finlay <finlay at moeraki.com> wrote:
> Patty Ackermann wrote:
>
>
> hi,
>
>
>
> I have initialized a gtk.DrawingArea() object and am trying to return  
window.handle, but it's always returning None.
>
> Anyone have any ideas?
>
>
> If you mean that the drawingarea.window attribute is None it's usually  
because the drawingarea hasn't been realized so call show() or realize()  
before accessing the window attribure.
>
>
>
> John
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.daa.com.au/pipermail/pygtk/attachments/20081029/325da738/attachment.htm 


More information about the pygtk mailing list