(PyGTK) Disabling ToolButton when no TreeView item is selected?
Hendrik van Rooyen
mail at microcorp.co.za
Fri Dec 29 00:38:38 EST 2006
"cypher543" <david at cypherspace.info> wrote:
> I have a TreeView and a ToolButton. The ToolButton should only be
> active if the user has selected an item in the TreeView. What signal
> should I use to achieve this?
you can try using the configure method on the toolbutton in the
command that is executed when the tree view is selected/deselected
- Hendrik
More information about the Python-list
mailing list