How can I get Window ID?

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

Questions about motif? Contact us

2 posts / 0 new
Last post
How can I get Window ID?

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) 

 

 

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.