Hide/Show a widget

This forum is read only. No new submissions are accepted.

Questions about motif? Contact us

3 posts / 0 new
Last post
Hide/Show a widget

Submitted by Anonymous on Wed, 06/27/2001 - 13:43. Developers
How to hide / show a widget (say TmTextField )programatically depending on the requirement?

Anonymous

XtManageChild(w)
XtUnmanageChild(w)

ICS_support

Depending on the requirements, it may also be reasonable to XtMapWidget()XtUnmapWidget(), to preserve on-screen space, or to change the sensitivity of the widget via XtSetSensitive(), so that it is still visible but "inactive".