gtk2-perl-xs need to draw text



Now for the text drawing problem.  I need a Pango::Layout for the statement
  $pixmap->draw_layout( $my_gc, $my_x, $my_y, $my_layout);
but the statement 
  my $layout = new Gtk2::Pango::Layout;
gives the following error:
  Can't locate object method "new" via package "Gtk2::Pango::Layout"
-- 
Traveling Geologist






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