EGL library RUILib

This topic describes the system functions in the RUILib library.
Table 1. RUILib system functions
System function and invocation Description
result = getTextSelectionEnabled () Indicates whether the user can select text from a Rich UI widget that you are developing. The function is not used when you are developing a Rich UI handler.
result = getUserAgent () Provides access to the value of the HTTP header HTTP_USER_AGENT, which is sent by the user's browser while an application is invoked. The value is useful if you need to write code that varies by browser type or version.
setTextSelectionEnabled(trueOrFalse in) Sets a value that specifies whether the user can select text from a Rich UI widget that you are developing. The function is not used when you are developing a Rich UI handler.
sort (sortArray in, sortFunction) Repeatedly invokes a secondary sort function, first with array elements 1 and 2, then with elements 2 and 3, and so on. The invocations of the secondary sort function continue and repeat, as necessary, until the array reflects the requirement specified in that secondary function, which you develop.

Feedback