Listbox style

From TargetWiki

A listbox style is a specialization of a widget style. It controls they way a listbox is drawn on the screen. All widget style functions can also be called on a listbox style.

Since a listbox style is a Lua object, calls should use the object:function() syntax. Also, all Lua object functions can also be called on a listbox style.

Functions

enabled()
Returns the <Box style> displayed when the listbox is enabled.
setenabled( <Box style> )
Sets the <Box style> displayed when the listbox is enabled.
disabled()
Returns the <Box style> displayed when the listbox is disabled.
setdisabled( <Box style> )
Sets the <Box style> displayed when the listbox is disabled.
selection()
Returns the <Box style> used for the selection.
setselection( <Box style> )
Sets the <Box style> used for the selection.
itemfocus()
Returns the <Box style> used for the focus.
setitemfocus( <Box style> )
Sets the the <Box style> used for the focus.
mincolwidth()
Returns the minimum width per column in pixels.
setmincolwidth( <number> )
Sets the minimum width per column in pixels.
Views