PtRealizeWidget

PtRealizeWidget — initializes widgets.

Syntax

PtRealizeWidget (widget)

		

Arguments

widget

The widget to realize or re-realize.

Returns

t if successful, otherwise nil.

Description

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.

Example

For another example, see PtUnrealizeWidget.

Gamma> PtInit (nil);
t
Gamma> win = new(PtWindow);
window instance
Gamma> PtRealizeWidget (win);
t
		

See Also

PtUnrealizeWidget

and in Photon documentation: PtRealizeWidget.