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?

有帮助吗?

解决方案

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);
许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top