Re: FVWM: Modules Programming

From: Charles Hines <chuck_hines_at_VNET.IBM.COM>
Date: Wed, 13 Aug 1997 15:35:22 -0400

>>>>> "Brady" == Brady Montz <bradym_at_cs.arizona.edu> writes:

Brady> Richard Lister <ric_at_giccs.georgetown.edu> writes:
....
>> Yes. Look at docs/modules.tex in the fvwm2 distribution.

Brady> I think this may be out of date, since a couple new message
Brady> types were added. Nothing fundamental changed though, and it's
Brady> unlikely he'd use the new message types (which are M_STRING,
Brady> and M_MINI_ICON).

It is definitely out of date. I'd like to fix that somewhat in one of
the upcoming betas...

Brady> Elad should also look at how other modules do things. When I
Brady> started writing FvwmIconMan, I found most of the available
Brady> modules were coded pretty poorly. Things have gotten better
Brady> since then. You might look at FvwmForm, FvwmIconMan, and
Brady> FvwmButtons.

Yup - other modules are the best "docs" right now.

Brady> Basically you need to figure out:
....
Brady> 3. How to send and receive messages to/from fvwm. (use
Brady> ReadFvwmPacket in fvwmlib, and then you might use the unions
Brady> that I defined in FvwmIconMan, or that the FvwmForm module
Brady> uses to get at the fields).

Acually, I noticed not too long ago that you were doing that, and I
think that's a really good idea. As part of a cleanup of the existing
module interface, I'd like to make something like that (structs &
funcs to work with them) standard in libfvwm.a for any module to use.

Chuck

*******************************************************************************
Charles K. Hines <chuck_hines_at_vnet.ibm.com>
IBM Logic Synthesis Developer [BooleDozer (TM)]
Martial Arts Instructor [Modern Arnis, Presas Style Filipino Martial Arts]

         "Go back to sleep, Chuck. You're just havin' a nightmare
             -- of course, we ARE still in Hell." (Gary Larson)
*******************************************************************************
--
Visit the official FVWM web page at <URL:http://www.hpc.uh.edu/fvwm/>.
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to majordomo_at_hpc.uh.edu.
To report problems, send mail to fvwm-owner_at_hpc.uh.edu.
Received on Wed Aug 13 1997 - 14:36:58 BST

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