window_get
window_get (window, attr[, arr])
This function returns the value of the attribute attr for the window identified by window. If the supplied attr is a set option, the function returns the window or view scope value of the option. If attr is a set option with a document local scope or no local scope at all, it returns nothing.
In all but one case, the attribute value is the return value of the function and the third argument
arr should not be given. If
attr is “items”, then
arr specifies the name of an array which is filled with a list of all items displayed in the list selection dialog box identified by
window. In this case, the function returns the number of items stored in
arr. See
window_set for a list of all available window attributes.
Examples
window_get(w, "geometry")
window_get(listw, "items", arr)
window_get(w, "destroyCallback")
Related Topics