ha shao wrote:

>I am wondering why the GDK.py, which exist in pygtk .6.x,
>is not included in pygtk 1.99? I think the constants in
>the file is still very much needed for gtk2.x.
>
The constants are now in their respective modules (so gtk constants are 
in gtk, gdk constants are in gtk.gdk module).  This is because we now 
load constants at runtime through the glib type system.  This change 
also helped get rid of the problem macosx and win32 people have been 
having with the file naming in stable branch.

>
>like (from pango/examples/viewer.c):
>
>layout = gtk.Layout()
>layout.set_events(GDK_EVENT_MASK)
>
layout.set_events(gtk.gdk.EVENT_MASK)

James.

-- 
Email: [EMAIL PROTECTED]
WWW:   http://www.daa.com.au/~james/




_______________________________________________
pygtk mailing list   [EMAIL PROTECTED]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/

Reply via email to