register_widget_item
Description:
This function should only be used by CanvasWidget and subclass implementations.
It registers a widget item with the canvas, so that the canvas can do the necessary actions to move and resize the widget as needed.
Parameters:
| this |
a Canvas. |
| witem |
a CanvasWidget item. |