How to use PangoWeight constants?



my $renderer = Gtk3::CellRendererText->new();
...

$renderer->set("weight" => 700,
               "weight-set" => 1);

This works fine.

Is there a possibility to use PangoWeight constants
(for example PANGO_WEIGHT_BOLD) in the set method?

And if yes: how did you find out?

Thank you and Regards,
Hubert




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