On 2019-02-27 07:14 Reuben Rissler wrote:
> On 02/27/2019 03:15 AM, c.buhtz--- via python-hackers-list wrote:
> > self.set_cursor_on_cell(path, col, ren[0], True)
> I use self.set_cursor(path, col, True)
It is different. In that case absolutely no edit field is shown.
_
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
Hi Reuben,
thanks for your answer.
On 2019-02-26 07:16 Reuben Rissler wrote:
> On 02/26/2019 04:43 AM, c.buhtz--- via python-hackers-list wrote:
> > I want to make the user renaming text-items in a Gtk.TreeView.
> Is this a multi column Treeview? If so, which column text should be
> selected?
On 02/26/2019 04:43 AM, c.buhtz--- via python-hackers-list wrote:
I want to make the user renaming text-items in a Gtk.TreeView.
Is this a multi column Treeview? If so, which column text should be
selected? The first one?
Like you would do in a GUI-file-manager when pressing F2.
I mean the
I want to make the user renaming text-items in a Gtk.TreeView.
Like you would do in a GUI-file-manager when pressing F2.
I mean the edit-field (Gtk.Entry?) should be layed over the item itself
while editing.
Is this possible?
I tried (On Linux, XFCE, with Gtk3.0) Gtk.TreeView.set_cursor_on_cell(