Re: [PyGObject] TreeView: edit a cell like in excel
- From: Reuben Rissler <silrep emypeople net>
- To: python-hackers-list gnome org
- Subject: Re: [PyGObject] TreeView: edit a cell like in excel
- Date: Wed, 27 Feb 2019 07:14:49 -0500
On 02/27/2019 03:15 AM, c.buhtz--- via python-hackers-list wrote:
class MyTreeView(Gtk.TreeView):
# ...
def test_cell_edit(self):
# first column and its renderers
col = self.get_column(0)
ren = col.get_cells()
# path related to specific data
path = self._model._get_path(-1101)
#
self.set_cursor_on_cell(path, col, ren[0], True)
I use self.set_cursor(path, col, True)
I am not sure if this is different or better.
_______________________________________________
python-hackers-list mailing list
python-hackers-list gnome org
https://mail.gnome.org/mailman/listinfo/python-hackers-list
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]