[pygtk] Problem with CellRendererToggle

Pipen pipene at gmail.com
Sat Nov 18 17:52:35 WST 2006


On 11/18/06, Brian <dol-sen at telus.net> wrote:
>
> you need to check the path in the toggled callback to see if it is on
> the toggle.
>

I have three cell renderers in one column, so the path I get in 'button-clicked'
callback is always the same no matter what cell I click in the column.
Is there a way to know exactly what whas clicked in the column?

I have to check if I'll be able to get cell renderer position boundaries and
match it with button-press event x/y position. However it'll be a bit dirty,
even if it works.

-- 
Artur M. Piwko
AMP29-RIPE


More information about the pygtk mailing list