REGISTER

REGISTER(widget, xsize, ysize, signal$, signal_listen, to_attach, set_font, set_focus)
Type: directive
In case an external widget needs to be visible for the HUG functions ATTACH and CALLBACK, this directive can be used to register the widget into the internal HUG adminstration. The meaning of the arguments:
widget: the widget ID to register
xsize: the width of the new widget
ysize: the height of the new widget
signal$: the actual name of the signal to emit when the widget is activated, for example: "activate", "clicked", "show", etc.
the (sub-)widget which actually listens to the signal, 0 = default widget
the (sub-)widget which actually is attached, 0 = default widget
the (sub-)widget which actually displays text, 0 = default widget
the (sub-)widget which actually can receive focus, 0 = default widget
See also METHOD to optionally register the functions GRAB$, TEXT, GET and SET to an external widget.
