Re: Gnomecanvas/TextItem question
- From: "Ross McFarland" <rwmcfa1 neces com>
- To: "muppet" <scott asofyet org>
- Cc: gtk-perl-list gnome org
- Subject: Re: Gnomecanvas/TextItem question
- Date: Mon, 19 Jan 2004 09:34:02 -0500 (EST)
muppet said:
On Monday, January 19, 2004, at 01:18 AM, Chris Debenham - SSA Systems
Engineer wrote:
$context = Gtk2::Pango::Context->new();
$context->load_font(Gtk2::Pango::FontDescription->from_string("Sans
24"));
in fact, pango_context_new and pango_context_set_font_map are guarded
in their headers by #ifdef PANGO_ENABLE_BACKEND --- they're meant to be
used only by Pango backend implementations, and hence are not bound.
the "new" you were picking up for Gtk2::Pango::Context actually comes
from Glib::Object.
perhaps we should put a new that croaks with an appropriate msg in
Gtk2::Pango::Context::new (and other such pkgs) to prevent the inheritied,
invalid/useless new.
-rm
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]