GtkCellRendererText markup property issue

2011-03-10 Thread Lance Zhang
Dear All: I have encountered this issue with gtk-2.20 & gtk-2.22. I have a GtkTreeViewColumn with a GtkCellRendererText for which the "cell draw data func" has been set via gtk_tree_view_column_set_cell_data_func Then this is the critial part in the cell data func: in

RE: GtkTreeView signal before row change

2011-03-08 Thread Lance Zhang
ubject: Re: GtkTreeView signal before row change > From: t...@gnome.org > To: zhan...@hotmail.com > CC: gtk-app-devel-list@gnome.org > > On Wed, Mar 9, 2011 at 12:38 AM, Lance Zhang wrote: > > > > Hi: > > > > I have a situation where I need to verify data before

GtkTreeView signal before row change

2011-03-08 Thread Lance Zhang
Hi: I have a situation where I need to verify data before allowing a row change in a GtkTreeView. Essentially: 1. User requests a row change through a keyboard or a mouse; 2. Check if data in the current row has been edited without be saved, or even is complete and valid, and prompt the user