When setting up a notification on this attribute, RapaGUI will run your
event callback whenever the user wants to edit a listview item by slowly
double-clicking on it or when your script runs the Listview.Edit
method. Your callback can then permit or forbid the user's edit request. To
forbid the request, your callback has to return False
. To permit the request,
it has to return True
.
Note that you have to set Listviewcolumn.Editable to True
before
you can use this attribute.
Your event handler will be called with the following extra arguments:
Row:
-
Row index of the item which the user wants to edit.
Column:
-
Column index of the item which the user wants to edit.
See Notifications for details.