Re: liststore issue 1 - iter points to wrong row after sort of column with cellrenderercombo

2019-02-28 Thread Nicolas Soubeiran via gtk-app-devel-list
Hello, after you sort the model, you shall consider that all iter and path previously stored are wrong : A path is a representation of the position of the row in the current case (which you can read by using gtk_tree_path_to_string).

Re: Changing font of GtkSourceView changes font of GtkSourceMap

2019-02-28 Thread Reuben Rissler
I am not sure if this helps any: #!/usr/bin/env python import gi gi.require_version('GtkSource', '3.0') gi.require_version('Gtk', '3.0') from gi.repository import Gtk, GtkSource, GObject, Pango class GUI:     def __init__(self):         GObject.type_register(GtkSource.View)         window =

Re: liststore issue 1 - iter points to wrong row after sort of column with cellrenderercombo

2019-02-28 Thread Mike Martin via gtk-app-devel-list
Thanks Though what I don't quite get is the difference in behaviour between editing-started and edited (both using path to get the ITER) On my particular scenario I use editing-started to setup some stuff so I can use the iter created On Thu, 28 Feb 2019, 12:30 Nicolas Soubeiran via

Re: liststore issue 1 - iter points to wrong row after sort of column with cellrenderercombo

2019-02-28 Thread Nicolas Soubeiran via gtk-app-devel-list
As you noticed "editing-started" is used at the beginning of editing a cell as the documentation states and is defined on the base class GtkCellRenderer: This signal gets emitted when a cell starts to be edited. The intended use of this signal is to do special setup on *editable* , e.g. adding a