XtNameToWidget

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

Questions about motif? Contact us

2 posts / 0 new
Last post
XtNameToWidget

Submitted by Anonymous on Wed, 12/19/2001 - 12:22. Developers
Hi!

Is XtNameTowidget supposed to work with XmDragIcon (or XmDragContext and XmDropTransfer)? Which widget should be passed as the reference (if not the widget that is given as the parent when the object is created)? Thank You in advance. Sampsa

ICS_support

I suspect not. The names of those objects are constructed internally, and their place in the hierarchy is unclear.

You can use other methods to pass the widget identifiers, rather than going from the name you can use XmNuserData, use the client data, or use an Xlib context to cache information.