This function initializes a widget. The widget's children are automatically realized as well if the widget is a container-type widget and the Pt_DELAY_REALIZE or Pt_DELAY_ACTIVATION flags are not set. Once a widget is realized it is visible and may be interactive.
For another example, see PtUnrealizeWidget.
Gamma> PtInit (nil);
t
Gamma> win = new(PtWindow);
window instance
Gamma> PtRealizeWidget (win);
t