Re: A perl/Gtk Newbie
- From: muppet <scott asofyet org>
- To: Dan Lyke <danlyke flutterby com>
- Cc: john knops <jknops goulburn net au>, gtk-perl mailing list <gtk-perl-list gnome org>
- Subject: Re: A perl/Gtk Newbie
- Date: 11 Mar 2004 13:41:22 -0500
by the way,
On Thu, 2004-03-11 at 10:11, Dan Lyke wrote:
use Gtk2::Pango;
this imports the exportable constants in the module, so
'b' => [weight => Gtk2::Pango::PANGO_WEIGHT_BOLD],
'small' => [scale => Gtk2::Pango::PANGO_SCALE_SMALL],
'large' => [scale => Gtk2::Pango::PANGO_SCALE_LARGE],
'h1' => [scale => Gtk2::Pango::PANGO_SCALE_XX_LARGE],
'h2' => [scale => Gtk2::Pango::PANGO_SCALE_X_LARGE],
could/should be reduced to
'b' => [weight => PANGO_WEIGHT_BOLD],
'small' => [scale => PANGO_SCALE_SMALL],
'large' => [scale => PANGO_SCALE_LARGE],
'h1' => [scale => PANGO_SCALE_XX_LARGE],
'h2' => [scale => PANGO_SCALE_X_LARGE],
--
muppet <scott at asofyet dot org>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]