The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

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 per Glib::Object->new.

    my $sb = App::MathImage::Gtk2::Ex::ScrollButtons->new
               (adjustment => $adj);

PROPERTIES

adjustment (Gtk2::Adjustment object, default undef)
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

Gtk2::Button, Gtk2::Arrow

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/.