Yes, this is something I've mentioned before. There is a companion file that
isn't included, but should be. It is similar to
/usr/local/pike/<version>/lib/modules/GDK.pmod, but does substitution for Pango
instead.
==== Pango.pmod ====
#pike __REAL_VERSION__
#if constant(GTK2) && constant(GTK2.Widget)
//! @decl import GTK
mixed `[](string what)
{
if(what == "_module_value") return UNDEFINED;
return (GTK2["Pango"+what] || GTK2["pango_"+what]);
}
array _indices()
{
return glob( "PANGO_*", indices(GTK2) ) + glob( "Pango_*", indices(GTK2) );
}
#else
constant this_program_does_not_exist=1;
#endif /* constant(GTK2.Widget) */
________________________________
From: Yvan Vander Sanden <<yvan[at]youngmusic.org>>
To: <pike[at]roxen.com>
Sent: Thursday, August 27, 2009 4:51:10 PM
Subject: bug report
For whoever wants to know. Just filed a report on a documentation or
implementation bug of gtk2.pango. Found here:
https://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=4934
regards,
yvan vander sanden
--
Copyright only exists in the imagination of those who do not have any.
|