Re: Knowing how to call a specific function via PyGI



> I'm wondering if there is a more systematic way to make such
> translations so that my coding process does not rely so heavily on
> guesswork. I imagine that if I had a simple list of all classes,
> methods and constants available in
> /usr/lib/girepository-1.0/WebKit-3.0.typelib then I could have solved
> the above problem immediately (by simply searching the list for
> 'COMMITTED' or something).
> 

The Gtk.STOCK are the odd ones out here. In general the rule is

Gtk.EnumOrFlagNameInCamelCase.MEMBER_NAME

John


> Thanks,
> Daniel
> _______________________________________________
> python-hackers-list mailing list
> python-hackers-list gnome org
> http://mail.gnome.org/mailman/listinfo/python-hackers-list




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]