Next | 6.0 FVWM Perl Library | Prev |
FVWM pioneered a concept of modules that extend a window manager. There is now a Perl API for the module protocol.
Useful to customize the dynamical user's needs:
use FVWM::Module; my $module = new FVWM::Module; my $tracker = $module->track('PageInfo'); $tracker->observe(sub { my ($module, $tracker, $info) = @_; $module->send("Exec echo '($info->{page_nx}, $info->{page_ny})' | osd_cat -A center -"); }); $module->eventLoop;
Next | X Window Managers and Perl | Prev |