RESIZE_CB

Action generated when the element size is changed.

Callback

int function(Ihandle *ih, int width, int height); [in C]
elem:resize_cb(width, height: number) -> (ret: number) [in Lua]

ih: identifier of the element that activated the event.
width: the width of the internal element size in pixels not considering the decorations (client size)
height: the height of the internal element size in pixels not considering the decorations (client size)

Notes

This action is also generated when the dialog is mapped, after the map and before the show.

Affects

IupCanvas, IupGLCanvas, IupDialog