Selecteventindex

From LDTP

Table of contents

Syntax

selecteventindex ('<window name>', '<component name>', <event number>)


Description

Select an event from a calendar table using its index. Index for a calendar event starts from 1.

Implementation

Returns 1 on success and 0 on error

Refer: calendar_view.c (http://forge.novell.com/modules/xfmod/cvs/cvsbrowse.php/ldtp/pyldtp/calendar_view.c)


Example

from ldtp import *

With respect to Evolution-Calendars

selecteventindex ('Evolution-Calendars', 'calview', 1)