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

settextvalue

Syntax

settextvalue ('<window name>', '<component name>', '<text>')

Description

puts the text into the component given by the component name

Implementation

In text.c

Return values:
1 on success and 0 otherwise
In combo-box.c

Combo box will be associated with child of type 'Text' when one of its child is 'List'. This action gets object handle of 'Text' object associated with combo box and then sets value given in argument in that text box

Refer: http://webcvs.freedesktop.org/ldtp/ldtp/src/text.c http://webcvs.freedesktop.org/ldtp/ldtp/src/combo-box.c

Example

With respect to gnome search tool text field

settextvalue ('SearchforFiles', 'txtNameContainsEntry', 'abcd')

This is to insert the text 'abcd' into the 'txtNameContainsEntry' field.

In combo box:

Todo:
settextvalue ('<dlgName>', '<cmbName>', '<argument>')
Author:
Poornima <pnayak@novell.com>

Generated by  Doxygen 1.6.0   Back to index