Now I am trying to create a customed dialog to draw something.
But how can I specify the window id , when I use the function
XDrawLine(display,drawable,....).
If I create a drawingarea in the dialog,how can I draw it?
Thanks a lot!!!
‹ Stopping the App (Loop) Stopping the App (Loop)
Tue, 08/07/2012 - 14:56
#1
How can I get Window ID?
You realize the widget and the use XtWindow() on the appropriate widget ID. You`ll want an XmDrawingArea widget to be the widget within the dialog.