[pygtk] Query regarding "clickable" property for a Gtk.TreeViewColumn

Timo timomlists at gmail.com
Fri Nov 30 18:29:11 WST 2012


Op 29-11-12 21:09, Ajay Garg schreef:
> Hi all.
>
> We are using  the classical case of a Gtk.CellRenderText encompassed 
> in a Gtk.TreeViewColumn, which in turn is appended to a Gtk.TreeView.
> Here "a.props.clickable = True", where "a" is an instance of 
> Gtk.TreeViewColumn.
>
> However, once the view is rendered, and if  after that 
> "a.props.clickable = False" is done, the tree-view-column still 
> remains clickable (and the text of  the cell-renderer editable).
>
> Any ideas for this discrepancy?

It has been some time, but I think you need a call to 
gtk.TreeView.set_headers_clickable(False)

Timo

>
>
> Regards,
> Ajay
>
>
>
> _______________________________________________
> pygtk mailing list   pygtk at daa.com.au
> http://www.daa.com.au/mailman/listinfo/pygtk
> Read the PyGTK FAQ: http://faq.pygtk.org/



More information about the pygtk mailing list