|
From: | Fred Kiefer |
Subject: | Re: Themes, Window frame, and Window Maker |
Date: | Thu, 02 Jun 2011 13:30:58 +0200 |
User-agent: | Mozilla/5.0 (X11; U; Linux x86_64; de; rv:1.9.2.17) Gecko/20110414 SUSE/3.1.10 Thunderbird/3.1.10 |
On 02.06.2011 06:30, Austin Clow wrote:
I am looking to customize some windows in GNUstep. On Mac OS X, a window's frame is drawn with the NSThemeFrame. How is a window's frame drawn on GNUStep? Is this controlled by window maker? For clarification, how does the window's view structure (below the content view) differ from Mac OS X's?
In GNUstep you have two different window view structures depending on the value of the GSBackHandlesWindowDecoration user default. When set to YES we leave the window decoration to the window manager, when set to NO GNUstep gui handles that itself.
The view structure is something like this:The window has a slot _wv that contains the window decorator view, this is either of the class GSBackendWindowDecorationView, which leave the window decoration to the window manager, or GSStandardWindowDecorationView. The later draws the window decoration itself. This view contains the menu, the toolbar and the content view of the window. Within the content view everything should be the same as on MacOSX.
Does this answer some of your questions?
[Prev in Thread] | Current Thread | [Next in Thread] |