Data_transfer.Item_list
DataTransferItemList
objects.
The type for DataTransferItemList
objects.
val length : t -> int
length l
it the length of the list.
add_jstr l type' s
adds s
with MIME type type'
. None
is returned in case of error, the corresponding data item otherwise.
add_file l f
adds file s
. None
is returned in case of error, the corresponding data item otherwise.
val remove : t -> int -> unit
remove l i
removes the i
th item from the list.
val clear : t -> unit
clear l
removes all elements from the list.