FLTK::AlignGroup - Align layout manager
The AlignGroup overrides all group's children's label alignments to it's own align() value, tiles and resize()s the children to fit in the space not required by the (outsize) labels.
align()
resize()
align
my $flags = $aligngroup->align( );
$aligngroup->align( $flags );
dh
my $h = $aligngroup->dh( );
$aligngroup->dh( $value );
dw
my $w = $aligngroup->dw( );
$aligngroup->dw( $value );
layout
$aligngroup->layout( );
$v = $group_1->vertical( )
n_to_break
my $n = $aligngroup->n_to_break( );
$group_1->n_to_break( $value )
$aligngroup->n_to_break( $value );
new
my $self = $aligngroup->new( $x, $y, $width, $height, $label, $n_to_break, $vertical, $align, $dw, $dh );
Creates a new FLTK::AlignGroup object. This constructor expects integers for $x, $y, $w, $h and accepts an optional string for $label. Other optional arguments include:
FLTK::AlignGroup
$x, $y, $w, $h
$label
$n_to_break
Default value is an empty string.
$vertical
A boolean who's default value is a true value.
$align
FLTK::Flags value which defaults to FLTK::ALIGN_LEFT
$dw
$dh
my $group_1 = FLTK::AlignGroup->new( $x, $y, $w, $h, $label ); my $group_2 = FLTK::AlignGroup->new( 40, 40, 150, 40);
vertical
my $vert = $aligngroup->vertical( );
$group_1->vertical( $value )
$aligngroup->vertical( $vert );
my $n = $group_1->n_to_break( )
$group_1->layout( )
Sanko Robinson <sanko@cpan.org> - http://sankorobinson.com/
Copyright (C) 2008-2010 by Sanko Robinson <sanko@cpan.org>
This program is free software; you can redistribute it and/or modify it under the terms of The Artistic License 2.0. See the LICENSE file included with this distribution or notes on the Artistic License 2.0 for clarification.
When separated from the distribution, all original POD documentation is covered by the Creative Commons Attribution-Share Alike 3.0 License. See the clarification of the CCA-SA3.0.
10 POD Errors
The following errors were encountered while parsing the POD:
You forgot a '=back' before '=head2'
=back without =over
'=item' outside of any '=over'
To install FLTK, copy and paste the appropriate command in to your terminal.
cpanm
cpanm FLTK
CPAN shell
perl -MCPAN -e shell install FLTK
For more information on module installation, please visit the detailed CPAN module installation guide.