Re: capture "changed" signal for the cell of treeview

2013-05-04 Thread tristan . van . berkom
On 2013-05-04, at 7:00 PM, yu wu wrote: > As I wrote in my original email, the renderer is ** not ** set editable. > Therefore, it can't be connected to ** edited ** signal. > > Here is the situation for example. Renderer 1 -- column 0 is set editable. > Renderer 2-4, i.e., column 1-3, is no

Re: GSlice vs. tcmalloc vs. jemalloc

2013-05-04 Thread stefan skoglund(agj)
mån 2013-04-29 klockan 19:07 -0500 skrev Federico Mena Quintero: > On Mon, 2013-04-22 at 19:23 +0700, Hieu Trung Le wrote: > > > Have you ever compare the GSlice allocator with other malloc library > > like tcmalloc or jemalloc? > > I'm not aware of any such benchmarks or comparisons, but it woul

Re: capture "changed" signal for the cell of treeview

2013-05-04 Thread Tristan Van Berkom
On Sat, May 4, 2013 at 8:02 PM, yu wu wrote: > Since more than one column is changed, row-changed signal will be emitted > more than once and widgets will be updated more than once. But I just want > to update other widget once. This is only more or less true. When you receive "row-changed" mult

Re: capture "changed" signal for the cell of treeview

2013-05-04 Thread yu wu
Since more than one column is changed, row-changed signal will be emitted more than once and widgets will be updated more than once. But I just want to update other widget once. This is why I want to know if it is possible to know which column is changed in other email. But from your reply to my ot

Re: capture "changed" signal for the cell of treeview

2013-05-04 Thread yu wu
As I wrote in my original email, the renderer is ** not ** set editable. Therefore, it can't be connected to ** edited ** signal. Here is the situation for example. Renderer 1 -- column 0 is set editable. Renderer 2-4, i.e., column 1-3, is not set editable. When column 0 is edited, the value of co

Re: which column cell is changed when "row-changed" is emitted

2013-05-04 Thread Tristan Van Berkom
On Sat, May 4, 2013 at 12:44 PM, yu wu wrote: > For the signal "row-changed" of GtkTreeModel, how can I know which column > cell is changed. For example, I defined 10 renderers by > `gtk_cell_renderer_text_new' which means 10 columns. When column 1 and > column 3 in a row are changed, the signal "

Re: capture "changed" signal for the cell of treeview

2013-05-04 Thread Tristan Van Berkom
On Sat, May 4, 2013 at 12:37 PM, yu wu wrote: > I am using the followed to renderer text in cells: > > > > renderer = gtk_cell_renderer_text_new(); > column = gtk_tree_view_column_new_with_attributes((local = char_to_utf8 > ("weight(kg/m)")), renderer, "text", MEM_SEC_