Next: xmlistfunc, Previous: xmlistdeleteitem, Up: Internal Routines [Contents][Index]
xmlistfromfile(parent, callback, file,
nvisible [, font, color])
[motif package]
Creates a list widget with the contents of a file, in the
parent
widget. Tries to open the file
for
reading. If successful, then creates a list widget to receive the
contents of the file. The list widget shows nvisible
lines
at once, in the indicated font
and color
. The
callback
gets executed if one of the list items is
selected. For more information about list widgets, see at
xmlist
.
See also: xmlist