Re: A perl/Gtk Newbie



muppet writes:
On Thu, 2004-03-11 at 10:11, Dan Lyke wrote:
use Gtk2::Pango;

this imports the exportable constants in the module, so
[snip]
could/should be reduced to 
    'b' => [weight => PANGO_WEIGHT_BOLD],

Yep. That was the result of me dealing with scoping issues and trying
to figure out what module imported which. Sure enough, my code works
(FSVO) without the Gtk2::Pango:: prefixes.

Dan





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