Parent document is top of "Motif FAQ (Part 9 of 9)"
Previous document is "319) Why does the xyz application core dump when I cut and paste?"
Next document is "321) Why doesn't XtNameToWidget (widget, "MyName") work?"
320) Why is XtWindow(widget) == 0?
[Last modified: Oct 95]
Answer: The window is not created until the widget is realized. In general,
using XtWindow() is a bad idea. In most cases, you can create more robust
code by subclassing the widget and putting your window code in new wiget class
methods.
Ken Lee, http://www.rahul.net/kenton/
Parent document is top of "Motif FAQ (Part 9 of 9)"
Previous document is "319) Why does the xyz application core dump when I cut and paste?"
Next document is "321) Why doesn't XtNameToWidget (widget, "MyName") work?"