discuss-gnustep
[Top][All Lists]
Advanced

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

Transparent Window, or event carcher


From: Luis Garcia Alanis
Subject: Transparent Window, or event carcher
Date: 09 Feb 2002 15:29:30 +0000

I am implementig GNUDock.app

andI have a problem, I need to detect the drags to the dock space of
docking. but there is no way of doing this cleanly.

1) modify the Desktop of GWorkspace: Works but dragging has to be on the
desktop. It works by sending a notification from GWorkspace to the Dock
in order to see the Drag type and if its correct create the dock leaf.

2) Invisible window goinf from top to bottom of the screen. Width of the
dock. and catch the drags like a normal app. (not posible, because there
is no way of creating an invisible window)

3)define a windowless event rect  for catching events. (no idea of how
to do this)

4) have some sort of permanent method checking every time for mouse pos,
and stuff..... not clean, CPU consuming, ugly hack.

Any ideas of how should I adress this problem?
How can I know when to dock something If I don't know that its time, and
something is being dragged.

Fiend solves this problem by dragging stuff to the Fiend main icon. but
I don't want a dock to have a dock that you need to drag icons to the
dock head in order to dock them.

help! :S

thanks :)



reply via email to

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