Re: [pygtk] Problem with CellRendererToggle

2006-11-18 Thread Pipen
On 11/18/06, Brian <[EMAIL PROTECTED]> wrote: > 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

Re: [pygtk] Problem with CellRendererToggle

2006-11-18 Thread Brian
On Sat, 2006-18-11 at 10:52 +0100, Pipen wrote: > On 11/18/06, Brian <[EMAIL PROTECTED]> 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 al

Re: [pygtk] Problem with CellRendererToggle

2006-11-18 Thread Pipen
On 11/18/06, Brian <[EMAIL PROTECTED]> 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 wa

Re: [pygtk] Problem with CellRendererToggle

2006-11-17 Thread Brian
On Fri, 2006-17-11 at 18:28 +0100, Pipen wrote: > Hi. > > Each row in my TreeView contains a column with: toggle, pixbuf and > text renderer respectively. If need to maintain the following > situations: > - user clicks on the toggle - toggle receives 'toggled' event; > treeview row cursor should n

[pygtk] Problem with CellRendererToggle

2006-11-17 Thread Pipen
Hi. Each row in my TreeView contains a column with: toggle, pixbuf and text renderer respectively. If need to maintain the following situations: - user clicks on the toggle - toggle receives 'toggled' event; treeview row cursor should not change. - user clicks on the rest of the row (pixbuf, text