After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 771862 - AttrWeight and AttrStyle not available from introspection
AttrWeight and AttrStyle not available from introspection
Status: RESOLVED OBSOLETE
Product: pango
Classification: Platform
Component: language-bindings
unspecified
Other OpenBSD
: Normal normal
: ---
Assigned To: pango-maint
pango-maint
Depends on: 766452
Blocks:
 
 
Reported: 2016-09-23 08:00 UTC by Cédric Krier
Modified: 2018-05-22 13:19 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Cédric Krier 2016-09-23 08:00:29 UTC
Those two attributes are not available in Python binding.
So it is not possible to create a AttrList that contains weight and style values.
Comment 1 Cédric Krier 2017-06-25 17:07:15 UTC
With issue #766452, it will be possible to create an AttrList using the attr_weight_new and attr_style_new. But I think it will be better if the same methods as pygtk binding were providing as Pango.AttrWeight.

def AttrWeight(weight, start_index, end_index):
    attr = Pango.new_weight_new(weight)
    attr.start_index = start_index
    attr.end_index = end_index
    return attr
Comment 2 GNOME Infrastructure Team 2018-05-22 13:19:35 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to GNOME's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/pango/issues/262.