Returns the names of all dialogs that have an associated name using IupSetHandle or using LED. Other dialogs will not be returned.


int IupGetAllDialogs(char** names, int max_n); [in C]
iup.GetAllDialogs([max_n: number]) -> (names: table, n: number) [in Lua]

names: table receiving the names. Only the list of names need to be allocated. Each name will point to an internal string.
max_n: maximum number of names the table can receive. Can be omitted in Lua.

Returns: the number of names loaded to the table. If names==NULL or max_n==0 or -1 then returns the actual number of names.


This name is not associated to the name of the Lua variable – this was inherited from LED and is needed for some functions.

See Also

IupSetHandle, IupGetHandle, IupGetName, IupGetAllNames.