=head2 Package Win32::GUI::Rebar

L<Back to the Packages|guipacks/>

=over

=item *

L<Constructor>

=over

=item *

L<new Win32::GUI::Rebar(PARENT, %OPTIONS)|/new_Win32_GUI_Rebar_PARENT_O>

=back

=item *

L<Methods>

=over

=item *

L<BandCount()|/BandCount_>

=item *

L<DeleteBand(INDEX)|/DeleteBand_INDEX_>

=item *

L<InsertBand(%OPTIONS)|/InsertBand_OPTIONS_>

=item *

L<RowCount()|/RowCount_>

=back

=item *

L<Events>

=over

=item *

L<HeightChange()|/HeightChange_>

=back

=back

=head3 Constructor

=over 4

=for html <A NAME="new_Win32_GUI_Rebar_PARENT_O">

=item new Win32::GUI::Rebar(PARENT, %OPTIONS)

Creates a new Rebar object;
can also be called as PARENT->AddRebar(%OPTIONS).
Class specific %OPTIONS are:

  -bandborders => 0/1 (default 0)
    display a border to separate bands.
  -fixedorder => 0/1 (default 0)
    band position cannot be swapped.
  -imagelist => Win32::GUI::ImageList object
  -varheight => 0/1 (default 1)
    display bands using the minimum required height.

=for html <P>

=back

=head3 Methods

=over 4

=for html <A NAME="BandCount_">

=item BandCount()

Returns the number of bands in the Rebar control.

=for html <P>

=for html <A NAME="DeleteBand_INDEX_">

=item DeleteBand(INDEX)

Deletes the zero-based INDEX band from the Rebar.

=for html <P>

=for html <A NAME="InsertBand_OPTIONS_">

=item InsertBand(%OPTIONS)

Inserts a new band in the Rebar control.
Allowed %OPTIONS are:

  -index => position or -1 to add it at the end, default -1
  -image => index of an image from the associated ImageList
  -bitmap => Win32::GUI::Bitmap object
  -child => child control
  -foreground => COLOR
  -background  => COLOR
  -width => pixels
  -minwidth => pixels
  -minheight => pixels
  -text => string

=for html <P>

=for html <A NAME="RowCount_">

=item RowCount()

Returns the number of rows in the Rebar control.

=for html <P>

=back

=head3 Events

=over 4

=for html <A NAME="HeightChange_">

=item HeightChange()

Sent when the height of the Rebar control has changed.

=for html <P>

=back

=cut
