Re: [pygtk] Problem with CellRendererToggle

2006-11-18 Thread Pipen
1. I have to find out what is the width of those treeview expand "thingies". That's why I use fixed 16px width. http://pu.kielce.pl/~pipen/varez/pygtk-toggle.png 2. I should add column spacing between cells to the result of ctmax. Here is another way of calculating ctmax (however resul

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

[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