[pygtk] How drawing, Drawable, ....work in pygtk !
chuong nguyen vien
chuong_nguyenvien at yahoo.com
Mon Dec 21 08:24:36 WST 2009
Hello,
I have just played with pygtk a couple of day and everything seems ok but the drawing system. I dont know how it works basically and got confused, very confused !
I read somewhere on the internet it say that i have to follow a pattern to make it work, and the key to that pattern is : we need to implement the drawing code within the expose event handler. Why ?
I tried to make some drawing code outside the expose event handler, and didnt write a expose event handler at all. It didnt work. It just appear a window without anything, or my drawing stuff didnt display.
So basically, how the expose event and drawing in GTK work or relate to each other ?
Thanks
Chuong
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.daa.com.au/pipermail/pygtk/attachments/20091220/61c5a0f2/attachment.htm
More information about the pygtk
mailing list