简体   繁体   中英

No maximize button on XLib window

Is it possible to create a window with only Minimize and Close button (and preferably not re-sizable) in C++ and XLib? On my Ubuntu I can see some of these type of windows (like the System Configuration window).

I am very new in the Linux+X11 world and I want to create a small window like this. How would this be done (not asking for code but for some references to the API components that would be of use or techniques that you know)?

您需要将_NET_WM_ACTION_MINIMIZE和_NET_WM_ACTION_RESIZE设置为窗口允许的操作列表

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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