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

Simon Feltman s.feltman at gmail.com
Tue Dec 11 16:00:39 WST 2012


The docs say the set_clickable only affects the column header. Is this what
you are seeing?

-Simon
On Dec 10, 2012 11:09 PM, "Ajay Garg" <ajaygargnsit at gmail.com> wrote:

>
>
> On Tue, Dec 11, 2012 at 2:51 AM, Marco Antonio Islas Cruz <
> markuz at islascruz.org> wrote:
>
>> Hi Ajay,
>>
>> Why don't ju just use gtk.TreeView.set_clickable(active)[1] instead of
>> directly handling the properties?.
>>
>
> Doesn't  make any difference.
>
>
>
>
>> On the other side, you may need to update the cellrenderer or the widget
>> inside the cell instead of the treeview.
>>
>
> In what sense? AFAIK it's only the TreeViewColumn that has a "clickable"
> property.
> Any how, for brevity, I may mention that the widget inside the
> TreeViewColumn is a Gtk.CellRendererText.
>
>
>
>> [1]
>> http://www.pygtk.org/docs/pygtk/class-gtktreeviewcolumn.html#method-gtktreeviewcolumn--set-clickable
>>
>>
>> Cheers
>>
>> On Dec 10, 2012, at 2:31 PM, Ajay Garg <ajaygargnsit at gmail.com> wrote:
>>
>> 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).
>>
>>
>>  Marco Antonio Islas Cruz
>> markuz at islascruz.org
>> marco.islas at gmail.com
>> <-- linux because I'm free -->
>>
>>
>>
>>
>
> 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/
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.daa.com.au/pipermail/pygtk/attachments/20121211/20a76717/attachment.html>


More information about the pygtk mailing list