[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Themes, Window frame, and Window Maker

From: Austin Clow
Subject: Re: Themes, Window frame, and Window Maker
Date: Thu, 02 Jun 2011 12:07:25 -0500

That is exactly what I needed to know. 

Why do we let the window manager draw any of the decorations at all?

- Austin

On Jun 2, 2011, at 6:30 AM, Fred Kiefer wrote:

> 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?

reply via email to

[Prev in Thread] Current Thread [Next in Thread]