Re: FVWM: Newbie question on decorating windows?

From: Thomas Adam <thomas_at_edulinux.homeunix.org>
Date: Thu, 24 Mar 2005 18:20:13 +0000

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 majordomo_at_fvwm.org.
To report problems, send mail to fvwm-owner_at_fvwm.org.
Received on Thu Mar 24 2005 - 12:21:16 GMT

This archive was generated by hypermail 2.3.0 : Mon Aug 29 2016 - 19:37:57 BST