On Thu, Mar 24, 2005 at 05:56:34PM +0100, Julien Guertault wrote:
> For instance, how would you deal with an application creating windows
> whose names/etc. are decided at runtime?

Use FvwmEvent:

*FvwmEvent-NewWindow: PassId
*FvwmEvent-NewWindow: add_window FuncDoThings

DestroyFunc FuncDoThings
AddToFunc   FuncDoThings
+ I ThisWindow ("some identifier") WindowStyle Title, Handles

AddToFunc StartFunction I FvwmEvent FvwmEvent-NewWindow

Of course "some identifier" could be anything -- $[w.id], $[w.name] or
what have you.  It's an example, and could probably be adapted as you
see fit.  :)

-- Thomas Adam

--  
"One of us is a cigar stand, and one of us is a lovely blue incandescent
guillotine" -- Stephen Malkmus, "Type Slowly" from "Brighten The Corners"
--
Visit the official FVWM web page at <URL: http://www.fvwm.org/>.
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to [EMAIL PROTECTED]
To report problems, send mail to [EMAIL PROTECTED]

Reply via email to