[pygtk] Query regarding "clickable" property for a Gtk.TreeViewColumn
Ajay Garg
ajaygargnsit at gmail.com
Tue Dec 11 15:08:23 WST 2012
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.daa.com.au/pipermail/pygtk/attachments/20121211/6cad263f/attachment.html>
More information about the pygtk
mailing list