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 
 Frugalware-Art.org Artwork for Frugalware Linux 
 Arch-Stuff.org Artwork and Stuff for Arch Linux 
 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   
Kubuntu-Art.org - Stuff for your Kubuntu Desktop

 Aug 26 2016  
 Not logged in  
 Home    Add Artwork   Forum   Groups   Knowledge   Events   Jobs   Users   Register   Login-


- Content .- Fans (1) . 

HOWTO: KWin Window Manager Decorations


Window Decoration native KDE 3.2 +

Score 68%
HOWTO: KWin Window Manager Decorations

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


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!


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.

Send to a friend
Other  Artwork  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



 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.
However some basic documentation styled books are too available but they are too old.

Reply to this



 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



 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



 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



 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



 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


Copyright 2007-2016 Kubuntu-Art.org Team  Legal Notice
All rights reserved. Kubuntu-Art.org is not liable for any content or goods on this site.
You can find our FAQ here.
All contributors are responsible for the lawfulness of their uploads.
Please send us a notice if you spot an ABUSE of the website.
Information about advertising in Kubuntu-Art.org.
Developers can use our public webservice interface. More information here: public api
For further information or comments on this site, please send us a message
Kubuntu is a registered trademark of Canonical Ltd.
Content RSS   
Events RSS