I've committed an initial perl module library so that it may be tested.

This new perl library is based on the old X11::Fvwm module, but I redid it
and simplified. Hopefully it is more clean now. It should also support
extended module messages, but this is not really tested.

Here is a simple auto-raise module in perl:

  use FVWM::Module;
  my $module = new FVWM::Module;
  $module->mask(M_FOCUS_CHANGE);
  $module->addHandler(M_FOCUS_CHANGE, sub { $_[0]->sendInfo($_[2], "Raise") });
  $module->eventLoop();

The things that I will like to do sometimes soon:

  * implement missing module config methods
  * implement some alias handling (?)
  * finalize API
  * write documentation
  * think about an optional Perl/GTK and Perl/Tk support

There are 2 simple test modules in tests/perl directory, just run them
in FvwmConsole using their full path, after "make; make install".

A testing is needed. If someone searches for a challenging toy to program,
implement a one page pager in text mode inside xterm. No ncurses is needed
(unless you want to implement window dragging too), just standard terminal
escape sequenses and maybe pseudo-graphics. It should be not hard in perl.

Regards,
Mikhael.
--
Visit the official FVWM web page at <URL:http://www.fvwm.org/>.
To unsubscribe from the list, send "unsubscribe fvwm-workers" in the
body of a message to [EMAIL PROTECTED]
To report problems, send mail to [EMAIL PROTECTED]

Reply via email to