简体   繁体   English

如何隐藏Motif对话框/小部件的标题栏

[英]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? 我想使用不带标题栏的XtVaCreateMangedWidgetXtVaCreateWidget创建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.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM