> The column header is just a button. The trick is getting a pointer to > it. This can be done using this hack, where 'col' if the > gtk.TreeViewColumn object: [...]
This is indeed a trick but I think this is a clever one. Unfortunately, and very surprisingly, it does not work: I actually get the button (I can connect it instead of the TreeViewColumn, I can disable it, etc.) but it still gets the focus after I call set_property ! For the moment, I found a work around to solve my problem: I add an EventBox which grabs the focus at the beginning and grabs it again each time the TreeViewColumn is clicked. This is not very clean but it will make the job until a real solution can be found. Many thanks for your answer, even if it does not work in this case, I now know how to get this hidden button, which could be useful in the future. :-) Cheers, Franck _______________________________________________ pygtk mailing list [email protected] http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/
