GtkCellRendererToggle & "toggled" signal



Hi,

I'm working on the GTK+ front-end for the new configuration system of the 2.5.x
kernel series...

I have a column with an RendererToggled and an RendererText packed into a single
cell. I connected the "toggle" signal to a callback because I want to change the
state of the button. 
This works fine. But, clicking on the RendererText emits the "toggle" signal, too.
THis is not what I want...

How can I restrict the sensitive area ?

Thanks, Romain.
---
Romain Liévin, aka 'roms'       <roms tilp info>
Web site                        <http://www.ti-lpg.org>
"Linux, y'a moins bien mais c'est plus cher !"



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]