You are here: start » Tantalus' Firmwares » ServiceManager » tag » Listbox

Listbox

A Listbox lists multiple strings.

Attributes

Name Allowed Values Description
width Length- or Percentage Sets the width of a widget
css CSS Class Name Sets a new style
tooltip Text Sets a tooltip text
id Text Sets the unique ID of the widget
action Method Name Left mouse click
lines Number Number of visible strings

Options

Name Allowed Values Description
visible Bool Widget visible/invisible
enabled Bool Widget enabled/disabled

Example

XML

<listbox id="listbox" lines="3" />

PHP

$result->setData('listbox', array('First', 'Second', 'Third'));

Result

Links

You could leave a comment if you were logged in.