Re: Migration from Gtk2 to Gtk3
- From: Torsten Schoenfeld <torsten schoenfeld gmx de>
- To: gtk-perl-list gnome org
- Subject: Re: Migration from Gtk2 to Gtk3
- Date: Mon, 1 Jun 2020 14:04:35 +0200
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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]