Comment 3 for bug 1272101

Revision history for this message
Kai Mast (kai-mast) wrote :

Think I need some help on how to use GVariant here.

Basically I want to find out which stream each row belongs to so I do something like that while iterating over them:

iter = Model.get_iter_at_row(pos)
stream = Model.get_row(iter).stream

But then I get:
  File "/usr/lib/python3/dist-packages/gi/overrides/Dee.py", line 24, in __getattr__
    raise AttributeError("object has no attribute '%s'" % name)
AttributeError: object has no attribute 'stream'

Not sure if I use it correctly