Logo Search packages:      
Sourcecode: ldtp-doc version File versions  Download package



selectindex ('<dlgName>', '<cmbName>', <index>)


SelectIndex action will select an item from combo box where value of index is pointing to its position in list/menu.


Combo box will generally have a list as its child or a menu as its child. SelectIndex function will try to find whether child type is menu or list, if child type is list then there will be a text box associated with combo box. When child type is list, selects item at index value from list box and sets that value to the text box associated with combo box. If child type is menu, value specified in tha argument will be index of menu item, corressponding menu item will be selected.

Return values:
1 on success, LdtpExecutionError exception on failure
Refer: http://webcvs.freedesktop.org/ldtp/ldtp/src/combo-box.c


Poornima <pnayak@novell.com>

Generated by  Doxygen 1.6.0   Back to index