>
> Well, I have a need for it, but I've been approaching the problem  
> from the other side. I just configure my window manager, jwm under  
> Linux, to do this for me based on window names. My environment is  
> very small and I can afford the effort to do that. It might be nice  
> to see if there's a standard or pseudo-standard way in an X  
> environment to do this. I'm spending some time right now inside JWM  
> and X code. If I find anything, I'll post it here.

This is possible with most X WM's - I have done it in the past,  
although can't lay hands on the code I used now... Under win32 it is  
fairly easy - there are window attributes that can be modified (I  
think this needs to be done before the window is shown though) that  
control what decorations the window gets, and it is not too tricky to  
tweak the basic fltk window to show the decorations you want.

> My other way of tackling the problem was to clear the borders and  
> use an empty, inactive group to draw my window background for me  
> (borders, background, and pretend titlebar). (Note: I did this  
> because it was the fastest way I could see at the time to replicate  
> another graphical environment's look-and-feel). At some point, I'll  
> probably add an invisible box in the titlebar area to handle window  
> movement. Right now, my windows have fixed placement on the screen  
> and cannot be moved, minimized, or closed.

Yup - done that too.
Note that it is straightforward to make a window with no titlebar or  
decorations draggable - I think Greg even has worked examples of that  
on his fltk cheats page...



_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk

Reply via email to