[英]How to hid title bar of Motif Dialog/widget
How to create a dialog without a Title bar
. 如何创建没有
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? 我想使用不带标题栏的
XtVaCreateMangedWidget
和XtVaCreateWidget
创建motif
对话框/小部件,以及如何全屏创建相同的对话框?
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 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.