MINI MINI MANI MO
# NOTE: Derived from blib/lib/Newt.pm.
# Changes made here will be lost when autosplit is run again.
# See AutoSplit.pm.
package Newt::Panel;
#line 700 "blib/lib/Newt.pm (autosplit into blib/lib/auto/Newt/Panel/Add.al)"
sub Newt::Panel::Add {
my ($self, $col, $row, $comp, $anchor, $padLeft, $padTop,
$padRight, $padBottom, $flags) = @_;
Carp::croak "Can only add components!" if ! UNIVERSAL::isa($comp, 'Newt::Component');
Newt::newtGridSetField($self->{g},
$col,
$row,
($comp->GetComponent()),
$padLeft ? $padLeft : 0,
$padTop ? $padTop : 0,
$padRight ? $padRight : 0,
$padBottom ? $padBottom : 0,
$anchor ? $anchor : 0,
$flags ? $flags : 0);
$self->{refs}{${$comp->{co}}} = $comp if exists $comp->{co};
$self;
}
# end of Newt::Panel::Add
1;
OHA YOOOO