discuss-gnustep
[Top][All Lists]
Advanced

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

Re: LSUIElement


From: Fred Kiefer
Subject: Re: LSUIElement
Date: Mon, 28 Jan 2013 23:51:47 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130105 Thunderbird/17.0.2

On 28.01.2013 23:19, Abhi Beckert wrote:
On Tue, Jan 29, 2013 at 8:14 AM, Abhi Beckert <address@hidden>wrote:

On Tue, Jan 29, 2013 at 7:42 AM, Fred Kiefer <address@hidden> wrote:

You don't have to use this GTK function to achieve this. If you set the
window level of a GNUstep window to almost anything but NSNormalWindowLevel
it will get the skip taskbar atom (_NET_WM_STATE_SKIP_TASKBAR) set. But
remember this is on a per window base.


I just tried setting the window level to various constants, and also tried
switching the super class from NSWindow to NSPanel, but it is still always
in the task bar for me (on Linux Mint).


Actually, I was wrong. I was setting the window level in my init method,
moving it to awkeFromNib instead worked, the window is no-longer visible in
the task switcher.

That seems like a pretty massive incompatibility between Cocoa and GNUstep?
In Cocoa/UIKit properties for interface builder are set using NSCoding, so
they are already in place during the init process, instead of later on.

It would help if you wrote which init method you are talking about and how that init method is related to the window that you create from the NIB file. Perhaps a short example program showing the problem could help me to understand what you are talking about.




reply via email to

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