FVWM: Re: fvwm2 customisation (continued)

From: Dan Espen <dane_at_mk.telcordia.com>
Date: Mon, 09 Oct 2000 19:58:36 -0400

Thomas Adam <thomas_adam16_at_yahoo.com> writes:
> Dear Dan,
>
> Thankyou for your suggestions about kedit.... it seems
> to work ok, it there are just two more things that I
> would like your help with....
>
> 1. Is it possible to make that Function generic for
> any K app that is loaded, i.e. maybe by using
> wildcards?????
>
> 2. Secondly, because Kedit (with your function you
> supplied) loads at startup, if I shut down that
> program, and then load it up again, it starts on the
> page it is meant to, but it does not load as an icon,
> instead it loads up as a window. So my question is,
> once I shutdown kedit, how do I re-envoke the Function
> again????

OK, none of this is tested, but I think you will get the idea:

# Start program iconic, first arg is program name, class/resource name
DestroyFunc ksicon
AddToFunc ksicon
# I Style "$0" StartIconic
+ I Exec $0
+ I Wait $0
+ I Style "$0" StartNormal


AddToFunc InitFunction I ksicon kedit
AddToMenu Utilities "Start kedit" ksicon kedit

I made the function I gave you earlier generic, used the function from
the InitFunction and from a menu.

--
Dan Espen
444 Hoes Lane  Room RRC 1C-214           E-mail: dane_at_mk.telcordia.com
Piscataway, NJ 08854                     Phone: (732) 699-5570
--
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 Mon Oct 09 2000 - 19:03:42 BST

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