This function behaves a bit different than expected.
It doesn't return an string representing the chosen action, it returns an integer which is the index of the chosen action!
newt_listbox_get_current
(PECL newt >= 0.1)
newt_listbox_get_current —
Description
string newt_listbox_get_current
( resource
$listbox
)Warning
This function is currently not documented; only its argument list is available.
Parameters
-
listbox -
Return Values
simon at bk dot it dot cx ¶
2 years ago
