logo       

Re: Forbid focusing of TreeView columns: msg#00122

gnome.gtk+.python

Subject: Re: Forbid focusing of TreeView columns

On Tue, Feb 22, 2005 at 10:42:38AM -0500, george young wrote:
> You have to get a reference to the TreeViewColumn object.
> You can do this with:
> my_treeview.get_column(column_num)
> or
> my_treeview.get_columns()
>
> Then use "set_clickable" to turn off sensitivity:
>
> for col in my_treeview.get_columns():
> col.set_clickable(False)

Maybe my question was unclear: I *do* need a clickable column, but I
want it to be unable to receive the keyboard focus (while staying
clickable).

Thanks for your answer anyway.

Cheers,
Franck
_______________________________________________
pygtk mailing list pygtk@xxxxxxxxxx
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/



<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise