unselectitemindex

Syntax

unselectitemindex ('<dlgName>', '<object name>', <index>)

Description

In layered pane, this function call unselects the object based on the currently selected item index.

Return values:
1 on success, LdtpExecutionError exception on failure

Refer: http://cgit.freedesktop.org/ldtp/ldtp/tree/src/layered-pane.c

Example

# Unselects the first folder / file in desktop that is already selected

unselectitemindex ('x-nautilus-desktop', 'Icon View', 0)

Author:
Nagappan Alagappan <nagappan@gmail.com>


Linux Desktop Testing Project