True
to allow user editing of the leaves in this column. The user will then
be able to edit all leaves in this column by executing a slow double click, i.e. slowly
pressing left mouse button two times in a row.
If you would only like to allow editing of some leaves in the column, you need to
set this attribute to True
and you need to listen to the Treeview.StartEditing
attribute. Treeview.StartEditing will then be triggered whenever the user
attempts to edit a leaf and your callback can return False
to forbid editing of
certain items. See Treeview.StartEditing for details.
To get notified whenever the value of a treeview leaf changes because the user has edited it, you have to listen to the Treeview.ValueChange attribute.
To manually start editing of a treeview leaf, call the Treeviewleaf.Edit method.
Please note that this attribute only applies to treeview leaves. If you would like
node labels to be editable as well, you need to set the Treeview.EditableNodes
attribute to True
.
Also, Treeviewcolumn.Checkbox and Treeviewcolumn.Editable are mutually exclusive. You cannot create editable checkbox columns.
Note that on AmigaOS and compatibles this feature is only available on MUI 4.0 or higher.