The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

FvwmPiazza::Page - FvwmPiazza class for keeping track of page info.

VERSION

version 0.2002

SYNOPSIS

    use base qw(FvwmPiazza::Page);

DESCRIPTION

This module keeps track of information for one Fvwm page.

init

Initialize.

num_groups

How many groups?

num_windows

How many windows?

group

Return the given group. $grp = $self->group($index);

distribute_windows

Takes a list of windows and distributes them among the existing groups.

windows_to_n_groups

Takes a list of windows and distributes them among N groups.

redistribute_windows

Redistributes the current windows amongst the current groups.

add_window_to_page

Add a new window to the page.

$self->add_window_to_page(window=>$wid, current_group=>$gid);

remove_window_from_page

Remove a window from the page.

$self->remove_window_from_page(window=>$wid, group=>$gid);

renumber_groups

Renumber the groups and their windows.

new_group

$self->new_group();

Add a new group

destroy_group

$self->destroy_group(group=>1);

Destroy the given group, losing the window information.

reduce_groups

Reduce the number of groups by one, by taking the windows from the last group and redistributing them amongst the other groups.

$self->reduce_groups();

move_window_to_next_group

Move the given window from its group to the next group on the page.

move_window_to_prev_group

Move the given window from its group to the previous group on the page.

add_window_to_group

Add a window to a group

remove_window_from_group

Remove a window from a group

REQUIRES

    Class::Base

BUGS

Please report any bugs or feature requests to the author.

AUTHOR

    Kathryn Andersen (RUBYKAT)
    perlkat AT katspace dot org
    http://www.katspace.com/tools/fvwm_tiler/

COPYRIGHT AND LICENCE

Copyright (c) 2009 by Kathryn Andersen

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.