On 01.06.20 12:21, Thomas Funk wrote:
Doing this

     use Pango;
     ...

     my $pango_scale = Pango->scale();

throws the error

     Can't locate object method "scale" via package "Pango"

What I also not found are the constants like PANGO_SCALE or
PANGO_SCALE_X_LARGE.

Gtk3.pm automatically sets up the Pango namespace, so you can simply use
Pango::SCALE:

  # perl -MGtk3 -E'say Pango::SCALE'
  1024

-Torsten
_______________________________________________
gtk-perl-list mailing list
gtk-perl-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gtk-perl-list

Reply via email to