Re: FVWM: 2 Questions about themes implementation

From: Alex Wallis <awol_at_dove.net.au>
Date: Sat, 20 Nov 1999 14:30:09 +1030

On Sat, 20 Nov 1999, Dan Espen wrote:
> Alex Wallis <awol_at_dove.net.au> writes:
> > (Is this a valid theme implementation?)
> >
> > The first file this form creates is called .fvwm2_$(ThemeName).options
> > A set of strings to manipulate the colorsets.
> > Which brings me to my first question.
> > Everything seems to work fine... so why am I getting these errors?
> > e.g.
> > ThemeOptions.: Active command unknown: *ThemeOptions.UseData .fvwm2_default.o
> > ptions *ThemeOptions.Default
>
> FvwmForm is complaining about receiving the UseData command
> after it finished reading all its configuration commands.
> Thats what the "Active command unknown" part is about.
>
> As FvwmForm stands now, you have to exit and start a new FvwmForm
> in order to read new data. I'm not sure how you are going to
> get the same form to read in different themes. Perhaps you
> can create a form for each on the fly?
>
Oh, it loads the new themes fine, no problems! There's just this
strange message in my logs when it does, that's all. Apart from that,
you can create, load, edit, save, as many 'themes' as you like.

> Or, some code changes in FvwmForm might be in order.
>
So my form is ok?

> > I know I'm probably doing something in an unorthodox manner, and I've
> > certainly learned that syntax is all important to fvwm2. Can anyone explain?
> >
> > The second file is the set of FvwmThemeColorset options suitable for reading
> > at the start of your .fvwm2rc in the format .fvwm2_theme.$(ThemeName)
> > So that's my next question. Now that I can create as many "themes" as I like,
> > as names instead of numbers, what exactly is the syntax for specifying
> > Read .fvwm2_theme.*
>
> I think you can get PipeRead to do this for you.
>
What exactly is the syntax, the man pages have examples that don't
actually work for me without 'tweaking'.
> Beware of the PipeRead example in the man page, when I just displayed
> it under XEmacs with M-x man, all the good pieces of the example are
> suppressed.
>
I'd suggest some more revamping of the man page, if anyone had the time.
With new features, come new routines etc... Some of the examples are
obviously past their 'use-by-date'. But someone is probably already
planning this...no?

awol

"If all the world's a stage, where do they put the horses?"
--
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 Fri Nov 19 1999 - 22:35:06 GMT

This archive was generated by hypermail 2.3.0 : Mon Aug 29 2016 - 19:38:02 BST