How to hid title bar of Motif Dialog/widget

182 views Asked by At

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?

1

There are 1 answers

4
Ibrar Ahmed On BEST ANSWER

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);