NAME
App::MathImage::Gtk2::Ex::ScrollButtons -- group of buttons up, down, left, right
SYNOPSIS
use App::MathImage::Gtk2::Ex::ScrollButtons;
my $sb = App::MathImage::Gtk2::Ex::ScrollButtons->new
(adjustment => $adj,
orientation => 'vertical');
WIDGET HIERARCHY
App::MathImage::Gtk2::Ex::ScrollButtons
is a subclass of Gtk2::DrawingArea
, but don't rely on more than Gtk2::Widget
for now.
Gtk2::Widget
Gtk2::DrawingArea
App::MathImage::Gtk2::Ex::ScrollButtons
# =head1 DESCRIPTION # =head1 FUNCTIONS
$sb = App::MathImage::Gtk2::Ex::ScrollButtons->new (key=>value,...)
-
Create and return a new
ScrollButtons
object. Optional key/value pairs set initial properties perGlib::Object->new
.my $sb = App::MathImage::Gtk2::Ex::ScrollButtons->new (adjustment => $adj);
PROPERTIES
adjustment
(Gtk2::Adjustment
object, defaultundef
)inverted
(boolean, default false)-
Whether to swap the direction the adjustment is moved. Normally
adjustment
increases to the left or upwards. Inverting goes instead to the right or downwards. orientation
(Gtk2::Orientation
enum, default"horizontal"
)-
Whether to drawn buttons horizontally or vertically.
SEE ALSO
HOME PAGE
http://user42.tuxfamily.org/math-image/index.html
LICENSE
Copyright 2010, 2011 Kevin Ryde
Math-Image 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.
Math-Image 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 Math-Image. If not, see http://www.gnu.org/licenses/.