Question

How to create a dialog without a Title bar. I want to create motif dialog/widget using XtVaCreateMangedWidget and XtVaCreateWidget without a title bar and how to create the same dialog full screen?

Was it helpful?

Solution

I just solved the issue, here is the detail

m_wgMainFrm = XtVaAppInitialize(&m_pApp, ...

m_wgMainWnd = XtVaCreateManagedWidget("main_window", ...

m_wgDrawingArea = XtVaCreateWidget("Test",...

XtVaSetValues(m_wgMainFrm, XmNmwmDecorations, (MWM_DECOR_BORDER), NULL);
XtUnmapWidget(m_wgMainFrm);
XtMapWidget(m_wgMainFrm);
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top