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

2019-02-27 Thread Reuben Rissler




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



___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list


liststore issue 2 - which 'path' comes from signal

2019-02-27 Thread Mike Martin via gtk-app-devel-list
according to the docs the path reference is

edited signal = path
editing-started = path
changed = path_string

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)

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

Can anyone clarify this

thanks

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