LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices



Reply
 
Search this Thread
Old 01-18-2008, 01:05 AM   #1
mirsoft
LQ Newbie
 
Registered: Oct 2007
Posts: 15

Rep: Reputation: 0
Lightbulb 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.
 
Old 01-18-2008, 10:54 AM   #2
dmail
Member
 
Registered: Oct 2005
Posts: 970

Rep: Reputation: Disabled
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.
 
Old 01-18-2008, 01:32 PM   #3
paulsm4
Guru
 
Registered: Mar 2004
Distribution: SusE 8.2
Posts: 5,863
Blog Entries: 1

Rep: Reputation: Disabled
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
 
Old 01-20-2008, 07:49 PM   #4
mirsoft
LQ Newbie
 
Registered: Oct 2007
Posts: 15

Original Poster
Rep: Reputation: 0
Thumbs up

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

Thank you and DMail.
 
  


Reply

Tags
title, xlib


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
F8 compiz: window title bar covered by gnome-panel Kropotkin Fedora 2 11-13-2007 07:19 AM
Can I change title bar content in an application window? dhave Linux - Desktop 4 09-19-2007 02:27 PM
windowmaker restore window (title bar, scroll bars etc) frieza Linux - Software 2 02-24-2007 11:19 PM
Please help. My window title bar has disappeared. robert_rowe Linux - Newbie 4 02-10-2007 02:19 PM
window without a title bar using xlib CarzyIvan Programming 1 02-11-2006 05:21 PM


All times are GMT -5. The time now is 06:01 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration