Package: gtk
Function gtk:string-list-new
Lambda Listgtk:string-list-new (&rest strings) ArgumentsReturn ValueThe new gtk:string-list object. Details Creates a new string list with the given strings. Each strings argument can be a string, a list of strings or a nested
list of strings. If no arguments are provided, an empty string list is
created. Examples
(gtk:string-list-new "Factory" "Home" "Subway")
=> #<GTK:STRING-LIST {100536C373}>
(gtk:string-list-new "Factory" '("Home" "Subway"))
=>#<GTK:STRING-LIST {100536C773}>
(gtk:string-list-new '("Factory" "Home" "Subway"))
=> #<GTK:STRING-LIST {1003E7BC63}>
(gtk:string-list-string * 0) => "Factory"
If no arguments are provided, an emtpy string list is created: (gtk:string-list-n-items (gtk:string-list-new)) => 0 | See also |
2026-04-26