Re: Migration from Gtk2 to Gtk3

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. automatically sets up the Pango namespace, so you can simply use

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


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