pango items are listed as separate functions
Imported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=4934
Reference: http://pike.ida.liu.se/generated/manual/modref/ex/predef_3A_3A/GTK2/Pango.AttrList.html
Reported by yvan vander sanden yvan@youngmusic.org
On the pike website (module reference), pango functions are listed as GTK2.Pango.Function.
Example: GTK2.Pango.FontDescription()
in the GTK2 test files that come with the source it's:
object font_desc= Pango.FontDescription("monospace 10");
(which could be right if GTK2 is imported, but that's not the case)
But both are wrong, since it's actually:
GTK2.PangoFontDescription()
Same goes for all other pango functions/objects/programs. It might be a timesaver for new users like me to have the correct information on this on all places :-)
regards,
yvan vander sanden