Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

make it obey the XmNx and XmNy values?

obey values xmnx xmny
0
Posted

make it obey the XmNx and XmNy values?

0

[Last modified: Feb 95] Answer: Set the resource XmNdefaultPosition for the popup to False. Set the position of the popup by the resource values of XmNx and XmNy. Do not use XtMoveWidget, as this is for widget writers only. Here’s a demo program from Dan Heller: /* Written by Dan Heller. Copyright 1991, O’Reilly && Associates. * This program is freely distributable without licensing fees and * is provided without guarantee or warranty expressed or implied. * This program is -not- in the public domain. This program is * taken from the Motif Programming Manual, O’Reilly Volume 6. */ /* map_dlg.c — Use the XmNmapCallback to automatically position * a dialog on the screen. Each time the dialog is displayed, it * is mapped down and to the right by 200 pixels in each direction.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.