<br><br>On Sat, Mar 12, 2016 at 10:11 PM, Utkarsh Tiwari <iamutkarshtiwari@gmail.com> wrote:<br>
<blockquote type="cite"><div dir="ltr">Thank you for those docs' references.<br><br>I was talking about this documentation -> <a href="http://www.pygtk.org/pygtk2reference/class-gtktreeview.html#method-gtktreeview--set-cursor-on-cell">http://www.pygtk.org/pygtk2reference/class-gtktreeview.html#method-gtktreeview--set-cursor-on-cell</a></div></blockquote><div><br></div><div>That is a reference for pygtk. Pygtk is the gtk2 api only.</div><div><br></div><div>Sugar uses Gtk+3 (via gi repository), which has undergone ~5 years more development. I imagine that this is a point that the old and new have diverged.</div><br><blockquote type="cite"><div dir="ltr"><div><br></div><div>Thanks,<br>Utkarsh Tiwari<br><br><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Sat, Mar 12, 2016 at 4:26 PM, Sam Parkinson <span dir="ltr"><<a href="mailto:sam.parkinson3@gmail.com" target="_blank">sam.parkinson3@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Utkarsh,<div><br></div><div>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.</div><div><br></div><div>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.</div><div><br></div><div>Thanks,</div><div>Sam</div><div><br></div><div>[1] <a href="http://lazka.github.io/pgi-docs/index.html#Gtk-3.0/classes/TreeViewColumn.html%23methods" target="_blank">http://lazka.github.io/pgi-docs/index.html#Gtk-3.0/classes/TreeViewColumn.html#methods</a><div><div class="h5"><br><br>On Sat, Mar 12, 2016 at 8:59 PM, Utkarsh Tiwari <<a href="mailto:iamutkarshtiwari@gmail.com" target="_blank">iamutkarshtiwari@gmail.com</a>> wrote:<br>
<blockquote type="cite"><div dir="ltr"><div>Hi,</div><div> I am trying to grab focus of a specific cell in a Gtk.TreeView instance through this technique -> <b><a href="https://gist.github.com/iamutkarshtiwari/a826625eb0ebcd63c91c" target="_blank">https://gist.github.com/iamutkarshtiwari/a826625eb0ebcd63c91c</a></b></div><div><br></div><div>But I am getting this error-><b> " 'TreeViewColumn' object has no attribute 'get_cell_renderers' " </b></div><div>though the <i><b>Gtk.TreeViewColumn</b> </i>official docs mentions the <i><b>get_cell_renderers()</b></i> function.</div><div><br></div><div>Could anyone here please help me with this?</div><div><br></div><div>Thanks,</div><div>Utkarsh Tiwari</div></div>
</blockquote></div></div></div></blockquote></div><br></div>
</blockquote>