Gtk2::Ex::Graph::GD-0.04 set_title_font fails.



Hi,
Am I missing something here?
When I call set_title_font() on a GD::Graph object, there is no
problem an the graph behaves appropriately.
However, when I call it on Gtk2::Ex::Graph::GD it tells me no such method.

The documentation says that Gtk2::Ex::Graph::GD is basically a wrapper
to GD::Graph, and most of the functionality seems ok.
Thanks!

#!/usr/bin/perl
use strict;
use Gtk2::Ex::Graph::GD;
use GD::Graph::bars;

my $gd_graph = GD::Graph::bars->new(500, 200);

my $gtk_graph = Gtk2::Ex::Graph::GD->new(600, 400, 'bars');

$gd_graph->set_title_font('/usr/share/fonts/truetype/msttcorefonts/arial.ttf',
12); # ok
$gtk_graph->set_title_font('/usr/share/fonts/truetype/msttcorefonts/arial.ttf',
12); # fail.



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