Home Forums Wiki Doc Install Extras Screenshots Source Code Projects Blog Users Groups Register
Glx-Dock / Cairo-Dock List of forums Technical discussions | Discussions techniques Curious about CD
The latest stable release is the *3.4.0* : How to install it here.
Note: We just switched from BZR to Git on Github! (only to host the code and your future pull requests)
Technical discussions | Discussions techniques

Subjects Author Language Messages Last message
[Locked] Curious about CD
jesuisbenjamin English 2 jesuisbenjamin [Read]
27 April 2011 à 15:53

jesuisbenjamin, Wednesday 27 April 2011 à 11:47


Subscription date : 28 October 2009
Messages : 415
hello there,

i'm really curious about how Cairo-Dock's appearance is achieved. With GTK i know how to make windows borderless or transparent. But how do you get a designed background or a window sliding in or out, the bouncing of icons etc? Do you necessarily to draw all these things from code with Cairo or do you also have the possibility to do this with GTK already?

Thanks.
Benjamin

matttbe, Wednesday 27 April 2011 à 15:47


Subscription date : 24 January 2009
Messages : 12573
Hello,

GTK is only used by CD to create windows (config panel, themes manager, etc.) and menus (these menus that you don't want to have in GTK but GTK3 menus are maybe better).
All other things (designed background or a window sliding in or out, the bouncing of icons) are made with Cairo or with OpenGL.
There are other possibilities with other libraries but GTK is not designed to create a dock (except something "simple" like a panel). => http://en.wikipedia.org/wiki/GTK

jesuisbenjamin, Wednesday 27 April 2011 à 15:53


Subscription date : 28 October 2009
Messages : 415
Thanks
As much as i enjoy writing an applet with ease thanks to the CD API, i hate doing using things i don't understand how they work.
I've had a hard time finding information on how to make skinnable applications, like say for instance the gnome-panel or Audacious. I found out about GDK however, i haven't seen all the possibilities, but i can see the colour of widgets can be changed or a pixmap applied to them. But i haven't seen proper skinning methods yet.

Technical discussions | Discussions techniques

Subjects Author Language Messages Last message
[Locked] Curious about CD
jesuisbenjamin English 2 jesuisbenjamin [Read]
27 April 2011 à 15:53


Glx-Dock / Cairo-Dock List of forums Technical discussions | Discussions techniques Curious about CD Top

Online users :

Powered by ElementSpeak © 2007 Adrien Pilleboue, 2009-2013 Matthieu Baerts.
Dock based on CSS Dock Menu (Ndesign) with jQuery. Icons by zgegball
Cairo-Dock is a free software under GNU-GPL3 licence. First stable version created by Fabounet.
Many thanks to TuxFamily for the web Hosting and Mav for the domain name.