# IupRedraw

Definition: | include pGUI.e IupRedraw(Ihandles ih, boolean children=true)
Description: | Force the element and optionally its children to be redrawn immediately. ih: identifier of the interface element, or a sequence of elements. children: flag to update its children. Can be true or false.
pwa/p2js: | Supported.
Notes: | If ih is a sequence, the one single value of children is used for each of the elements it contains. The use of a named parameter when setting children (in those rare cases to false) is recommended, to make the intent clear and the code easier to read. Offhand, I cannot think of any case for setting children to false, then again I’m not really all that sure why and when you might use IupUpdate() vs. IupUpdateChildren() or IupRefresh() vs. IupRefreshChildren() - personally I usually just experiment with these particular five functions until it does precisely what I need it to, anyway, or perhaps find a suitable or similar demo or other application and just copy from that.
See Also: | IupUpdate, IupRefresh