Gtk2::Ex::LayoutBits -- misc Gtk2::Layout helpers
use Gtk2::Ex::LayoutBits;
Gtk2::Ex::LayoutBits::move_maybe ($layout, $child, $x, $y)
Move $child to $x,$y in $layout as per $layout->move(), if it's not already at $x,$y.
$child
$x,$y
$layout
$layout->move()
As of Gtk 2.22 $layout->move() or a child_set_property() always does a queue_resize(). This function avoids that if the child is already in the right place.
child_set_property()
queue_resize()
Gtk2::Layout, Gtk2::Ex::WidgetBits
http://user42.tuxfamily.org/gtk2-ex-widgetbits/index.html
Copyright 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/.
To install Gtk2::Ex::WidgetBits, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Gtk2::Ex::WidgetBits
CPAN shell
perl -MCPAN -e shell install Gtk2::Ex::WidgetBits
For more information on module installation, please visit the detailed CPAN module installation guide.