Gtk2::Ex::TableBits -- helpers for Gtk2::Table widgets
Update the attachment positions of
$table, if necessary. The arguments are the same as
$childis not attached to
$table, or if it's not at the given positions, then a
attach()are done to put it there.
This function is designed to move a child to what might be a new position, but do nothing if it's already in the right place. Avoiding an unnecessary
attach()can save a lot of resizing and possibly some flashing.
Another way to move a child is by changing the container child properties
but only when child is already attached in the correct table (whereas
update_attach()can make an initial attachment or move to a different
Copyright 2008, 2009, 2010, 2011, 2012 Kevin Ryde
Gtk2-Ex-WidgetBits is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3, or (at your option) any later version.
Gtk2-Ex-WidgetBits is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with Gtk2-Ex-WidgetBits. If not, see http://www.gnu.org/licenses/.