RE: Catching the row deleted from a GtkTreeModel implementation

2007-02-09 Thread Suma H.S
how r u deleting the row? It should be either through some key-press or mouse-click, in either case u must select the row before selecting. So...If it is through a key-press, catch the key-press signal and if it is through a mouse-click, catch mouse-click signal and access the selected row. Now do

Re: Catching the row deleted from a GtkTreeModel implementation

2007-02-09 Thread Vivien Malerba
On 2/9/07, Suma H.S [EMAIL PROTECTED] wrote: how r u deleting the row? It should be either through some key-press or mouse-click, in either case u must select the row before selecting. So...If it is through a key-press, catch the key-press signal and if it is through a mouse-click, catch

Re: Catching the row deleted from a GtkTreeModel implementation

2007-02-09 Thread Fontana Nicola
On Friday 09 February 2007 11:39, Suma H.S wrote: how r u deleting the row? It should be either through some key-press or mouse-click, in either case u must select the row before selecting. So...If it is through a key-press, catch the key-press signal and if it is through a mouse-click,

Re: Catching the row deleted from a GtkTreeModel implementation

2007-02-09 Thread Fontana Nicola
On Friday 09 February 2007 11:55, Vivien Malerba wrote: I would suggest a different approach: add your own column to the GtkListStore which stores your information summary as a GObject (so you know when that object is destroyed). This approach seems quite complex but yes, it makes the job.