Re: liststore issue 2 - which 'path' comes from signal





On 02/27/2019 06:51 AM, Mike Martin via gtk-app-devel-list wrote:
according to the docs the path reference is

edited signal = path
editing-started = path
These above two look like something a treeview uses
changed = path_string
And this one I assume to be coming from a CellRendererCombo? So this would actually be describing the combo renderer's model path. Which is not necessarily the same as the TreeView model.

which I thought meant that path would be a treepath (ie: an object) and
path_string would be a reference to the row (an integer in the case of a
simple liststore)
no, paths are not objects, they are integers telling which row was affected

However in all three cases the value is the same ie: an integer, not an
object

Can anyone clarify this
That is what I found.

thanks

Mike
_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list gnome org
https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]