mmartin has asked for the wisdom of the Perl Monks concerning the following question:
So in the explanations I found they say the left/right_attach are for where to place the object in the table so if my table### ATTACHING TO A "TABLE": $table->attach( $child, $table->attach_defaults( $child, $left_attach, $left_attach, $right_attach, $right_attach, $top_attach, --OR-- $top_attach, $bottom_attach, $bottom_attach); $xoptions, $yoptions, $xpadding, $ypadding );
I was under the assumption, and according to the explanations I found, the first 2 options after the $child object are for where I+-----+-----+ | | | +-----+-----+ | | | +-----+-----+
But that will just throw an error saying something like; "assertion 'left_attach < right_attach' failed at ...."$button->attach_defaults($button, 0, 0, ?, ?);
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Perl Gtk2 Table's Attach method
by mmartin (Monk) on Jun 21, 2013 at 17:53 UTC |