I had a similar problem (clicking on the text in GtkCellRendererText
causes the 'toggled' event to fire), and I circumvent the problem by
setting GtkCellRendererText to be activable cell using API -
g_object_set (pixbufRenderer, mode, GTK_CELL_RENDERER_MODE_ACTIVATABLE, 0);
Now, that column has 2
I take that back; my solution caused another problem: now the
GtkCellRendererToggle does not fire the toggle event unless the row is
selected prior to clicking on the checkbox. I don't even understand why this
might be happening. Does anybody have a solution for this new problem? This
is getting a
I came up with a solution.
I changed the GtkCellRendererText to a GtkCellRendererCombo. I didn't add
any items to the combo or even set the model of the combo; the only property
I set was the "editable" property to true. This created exactly the
functionality I was looking for. The user can't even
Hi,
I understand why this behavior occurs; I do realize that it would be
what is wanted in most circumstances. In this particular case,
selecting the row causes one action to occur and toggling the checkbox
causes another action to occur. Because all of the cell renderers are
considered one activa
Hello,
On Wed, Aug 12, 2009 at 2:32 AM, Grumpy
Buffalo wrote:
> Hi, I am working on a C++ GTK project. I have a GtkTreeView containing
> several columns. In the first column, I have packed in 3 cell
> renderers - the first, a GtkCellRendererToggle; the second, a
> GtkCellRendererPixbuf; the third,
Hi, I am working on a C++ GTK project. I have a GtkTreeView containing
several columns. In the first column, I have packed in 3 cell
renderers - the first, a GtkCellRendererToggle; the second, a
GtkCellRendererPixbuf; the third, a GtkCellRendererText. Everything
works fine, except that clicking on