LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Programming (https://www.linuxquestions.org/questions/programming-9/)
-   -   xlib: how to create a window without title bar (https://www.linuxquestions.org/questions/programming-9/xlib-how-to-create-a-window-without-title-bar-614427/)

mirsoft 01-18-2008 12:05 AM

xlib: how to create a window without title bar
 
I need to create a window without the default title bar under xlib, who can tell me some ideas to complete this. It will be much more helpful to give me the source codes.
Thanks & Best Regards.

dmail 01-18-2008 09:54 AM

I believe the title is added by the window manager, so I assume you would need to speak to it and maybe change the window attributes.

paulsm4 01-18-2008 12:32 PM

Hi -

DMail is correct - the title bar, etc all come from the window manager (e.g. KDE) and to change it (or get rid of it), you need to talk to the window manager.

In general, you'll use the Xlib call "XSetWMHints()". But it really depends on your code.

SUGGESTIONS:
a) Read this link:
http://www.avsnonline.net/library/eb...ramming-2.html

b) Post some specific code (please be sure to use "code tags"! ;-)) if you need more help.

Your .. PSM

mirsoft 01-20-2008 06:49 PM

Thanks, You and DMail is correct, I find some information about window manager. And, at last, have done this topic.

Thank you and DMail.


All times are GMT -5. The time now is 02:30 PM.