desktop-packages team mailing list archive
-
desktop-packages team
-
Mailing list archive
-
Message #47650
[Bug 886359] Re: Missing feature blocks Python apps from being ported to GTK3.
Unfortunately gtk_list_store_reorder() cannot be used by language
bindings, as the pointer value cannot safely be handled by interpreters
(it has neither a defined length nor is NULL TERMINATED). Thus it was
marked as non-introspectable.
http://git.gnome.org/browse/gtk+/commit/?id=374e76a1
I'm afraid there is no quick workaround for this, you need to write a
function which builds a new store in the desired order.
** Package changed: pygobject (Ubuntu) => gtk+3.0 (Ubuntu)
** Changed in: gtk+3.0 (Ubuntu)
Status: New => Triaged
** Summary changed:
- Missing feature blocks Python apps from being ported to GTK3.
+ gtk_list_store_reorder() is not introspectable
--
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to gtk+3.0 in Ubuntu.
https://bugs.launchpad.net/bugs/886359
Title:
gtk_list_store_reorder() is not introspectable
Status in “gtk+3.0” package in Ubuntu:
Triaged
Bug description:
gi.overrides.Gtk.ListStore has no attribute .reorder. Porting a PyGTK
app to GI GTK3, I found that sorting a TreeView is no longer possible
because GTK.ListStore doesn't provide a .reorder method. Reading the
source code, I found that pygobject indeed doesn't have any override
for .reorder. This is the source code I'm talking about:
http://git.gnome.org/browse/pygobject/tree/gi/overrides/Gtk.py
This is something I can't fix, but since it's likely that many Python
GTK apps use TreeViews, it'd be very nice if a wizard could have a
look at this ASAP.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gtk+3.0/+bug/886359/+subscriptions
References