[Sugar-devel] Gtk.TreeView Error
Sam Parkinson
sam.parkinson3 at gmail.com
Sat Mar 12 05:56:49 EST 2016
Hi Utkarsh,
I have been using the Python Gi Api Reference for the past few years,
and it has served me well. According to their page on the subject [1],
there is not get_cell_renderers method.
If you are trying to grab focus on a specific cell, maybe look for the
row first? Each column should only have 1 cell renderer anyway.
Thanks,
Sam
[1]
http://lazka.github.io/pgi-docs/index.html#Gtk-3.0/classes/TreeViewColumn.html#methods
On Sat, Mar 12, 2016 at 8:59 PM, Utkarsh Tiwari
<iamutkarshtiwari at gmail.com> wrote:
> Hi,
> I am trying to grab focus of a specific cell in a Gtk.TreeView
> instance through this technique ->
> https://gist.github.com/iamutkarshtiwari/a826625eb0ebcd63c91c
>
> But I am getting this error-> " 'TreeViewColumn' object has no
> attribute 'get_cell_renderers' "
> though the Gtk.TreeViewColumn official docs mentions the
> get_cell_renderers() function.
>
> Could anyone here please help me with this?
>
> Thanks,
> Utkarsh Tiwari
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sugarlabs.org/archive/sugar-devel/attachments/20160312/fc31f7f0/attachment-0001.html>
More information about the Sugar-devel
mailing list