Warning: session_start(): open(/tmp/sess_us019v1n9vrqffqsli23vej7v5, O_RDWR) failed: No space left on device (28) in /www/H01/htdocs/lib/base/lib_base.php on line 280
HOWTO: KWin Window Manager Decorations openDesktop.org
-
 KDE-Apps.org Applications for the KDE-Desktop 
 GTK-Apps.org Applications using the GTK Toolkit 
 GnomeFiles.org Applications for GNOME 
 MeeGo-Central.org Applications for MeeGo 
 CLI-Apps.org Command Line Applications 
 Qt-Apps.org Free Qt Applications 
 Qt-Prop.org Proprietary Qt Applications 
 Maemo-Apps.org Applications for the Maemo Plattform 
 Java-Apps.org Free Java Applications 
 eyeOS-Apps.org Free eyeOS Applications 
 Wine-Apps.org Wine Applications 
 Server-Apps.org Server Applications 
 apps.ownCloud.com ownCloud Applications 
--
-
 KDE-Look.org Artwork for the KDE-Desktop 
 GNOME-Look.org Artwork for the GNOME-Desktop 
 Xfce-Look.org Artwork for the Xfce-Desktop 
 Box-Look.org Artwork for your Windowmanager 
 E17-Stuff.org Artwork for Enlightenment 
 Beryl-Themes.org Artwork for the Beryl Windowmanager 
 Compiz-Themes.org Artwork for the Compiz Windowmanager 
 EDE-Look.org Themes for your EDE Desktop 
--
-
 Debian-Art.org Stuff for Debian 
 Gentoo-Art.org Artwork for Gentoo Linux 
 SUSE-Art.org Artwork for openSUSE 
 Ubuntu-Art.org Artwork for Ubuntu 
 Kubuntu-Art.org Artwork for Kubuntu 
 LinuxMint-Art.org Artwork for Linux Mint 
 Arch-Stuff.org Art And Stuff for Arch Linux 
 Frugalware-Art.org Themes for Frugalware 
 Fedora-Art.org Artwork for Fedora Linux 
 Mandriva-Art.org Artwork for Mandriva Linux 
--
-
 KDE-Files.org Files for KDE Applications 
 OpenTemplate.org Documents for OpenOffice.org
 GIMPStuff.org Files for GIMP
 InkscapeStuff.org Files for Inkscape
 ScribusStuff.org Files for Scribus
 BlenderStuff.org Textures and Objects for Blender
 VLC-Addons.org Themes and Extensions for VLC
--
-
 KDE-Help.org Support for your KDE Desktop 
 GNOME-Help.org Support for your GNOME Desktop 
 Xfce-Help.org Support for your Xfce Desktop 
--
openDesktop.orgopenDesktop.org:   Applications   Artwork   Linux Distributions   Documents    Linux42.org    OpenSkillz.com   
 
Home
Apps
Artwork
News
Groups
Knowledge
Events
Forum
People
Jobs
Register
Login


-
- Content .- Fans (1) . 

HOWTO: KWin Window Manager Decorations

   0.8  

Window Decoration native KDE 3.2 +

Score 68%
HOWTO: KWin Window Manager Decorations
zoom


Link:  Link
Downloads:  9803
Submitted:  May 28 2003
Updated:  Jul 26 2004

Description:

Here is my HOWTO for making native KWin decorations. This tutorial covers creating a native KWin decoration using C++/Qt, as opposed to using a pixmap engine like the IceWM deco.

Includes tutorial and complete working source code for a plain but functional decoration. Assumes familiarity with C++ and Qt.

Now there's no more excuses for not writing that decoration you always wished someone else would do!




Changelog:

0.8 -
Add support for new buttons, KDE 3.3 API.

0.7 -
Fix minimum window size (78739)

0.6 -
Set the proper icons for window state when creating buttons, and document

0.5 -
Minor changes tracking the new 3.2 API

0.4 -
Minor changes from user feedback

0.3 -
Minor changes to 3.2 API

0.2 -
Updated and converted example decoration to KDE 3.2. The example code no longer builds or runs with KDE 3.1 or earlier.




LicenseX11
Send to a friend
Subscribe
Other  Content  from Brandybuck
Report inappropriate content



goto page:  1  2 

-
.

 Your manual...

 
 by reks on: May 28 2003
 
Score 50%

seem to be concise and crisp. Something of this sort was indeed missing. But I still don't know C++. So, I won't create "that" theme and I continue to wish that someone else would do :-)

Alright, jokes apart.. thanks for the write-up. It is really a useful thing to have.


GmBhIbBaStArD: My passwd entry in /etc/shadow :-)
Reply to this

-
.

 Re: Your manual...

 
 by Brandybuck on: May 28 2003
 
Score 50%

Not knowing C++ is no excuse! Go grab the excellent and free "Thinking in C++" by Bruce Eckel at http://mindview.net/Books/TICPP/ThinkingInCPP2e.html

That theme in your head wants to get out :-)


Reply to this

-
.

 Book?

 
 by saltwater on: May 28 2003
 
Score 50%

I'd like to learn more about KDE programming in general, not just window borders. Is there a good tutorial or a book? How did you learn all of this? Thanks!


Reply to this

-
.

 Re: Book?

 
 by Brandybuck on: May 29 2003
 
Score 50%

How did I learn all this? First learn C++. There's a million ways to do this, but you need to actually start writing programs before it sinks in. Then you need to learn Qt. That's easy. Qt has some excellent documentation, and it's quite straightforward. As for KDE, think of it as "Qt++".

Checkout http://developer.kde.org for lots of info.


Reply to this

-
.

 Book URLs

 
 by manikchand on: Jan 16 2004
 
Score 50%

Many good books on KDE programming do exist and the best of all are from SuSE. However they are in German.
try-
http://www.susepress.de/de/katalog/index.html
However some basic documentation styled books are too available but they are too old.
try-
http://www.kde.org/stuff/books.php


Reply to this

-
.

 Great

 
 by trtmrt on: May 28 2003
 
Score 50%

I haven't looked at your manual yet but was glad to see it posted. Just the other day I was looking for something like this and wasn't able to find it anywhere on the web. Google or kde's site were not helpful.
Thanks for speding the time to do this.


Reply to this

-

 THANKS

 
 by WinterWolf on: May 29 2003
 
Score 50%

thanks a lot, this was really needed, and it was great. maybe you can get it on KDE.org.

Also are there any theme or/and tehme engine creation tutuorials which aren't obsolete for KDE?


Reply to this

-

 Re: THANKS

 
 by dbrownlees on: Jun 4 2003
 
Score 50%

The QT docs do a pretty good job of explaining styles under QT3 (and also KDE3, KStyle now being only a relatively thin wrapper over QStyle).

The Style Overview (in the qt docs) gives a brief tutorial, and the QStyle reference details pretty much everything else (except dealing with KDE oddities, like kde toolbar widgets - other styles are a good place to look for how to deal with them).


Reply to this

-
.

 Great!

 
 by BigRedFish on: Oct 18 2003
 
Score 50%

Excellent as usual. Thanks for both the tutorial, and for writing clear readable code to begin with. You really help lower the learning curve. After your tutorial folks should have a framework within which to start playing with masking and bitmaps and other cool stuff. Bravo.


Reply to this

-

 kewlies

 
 by mobtek on: Feb 10 2004
 
Score 50%

thanks for this, I have been looking for some up to date documentation for this, good work.


Reply to this

goto page:  1  2 

Add commentBack




-



 
 
 Who we are
Contact
More about us
Frequently Asked Questions
Register
Twitter
Blog
Explore
Apps
Artwork
Jobs
Knowledge
Events
People
Updates on identi.ca
Updates on Twitter
Content RSS   
Events RSS   

Participate
Groups
Forum
Add Content
Public API
About openDesktop.org
Legal Notice
Spreadshirt Shop
CafePress Shop
Advertising
Sponsor us
Report Abuse
 

Copyright 2007-2016 openDesktop.org Team  
All rights reserved. openDesktop.org is not liable for any content or goods on this site.
All contributors are responsible for the lawfulness of their uploads.
openDesktop is a trademark of the openDesktop.org Team