Gtk2-Ex-QuadButton

 view release on metacpan or  search on metacpan

devel/QuadScroll.pm  view on Meta::CPAN

    #   }
    #   if ($y >= 0 && $y < $height/2
    #       && $x >= $width/2 && $x < $width) {
    #     return 'up';
    #   }
    #   if ($y >= $height/2 && $y < $height
    #       && $x >= 0 && $x < $width/2) {
    #     return 'right';
    #   }
    #   if ($y >= $height/2 && $y < $height
    #       && $x >= $width/2 && $x < $width) {
    #     return 'down';
    #   }
    # }




1;
__END__

=for stopwords Gtk2-Ex-QuadButton enum ParamSpec GType pspec Enum Ryde QuadScroll

=head1 NAME

Gtk2::Ex::QuadScroll -- group of buttons up, down, left, right

=head1 SYNOPSIS

 use Gtk2::Ex::QuadScroll;
 my $qb = Gtk2::Ex::QuadScroll->new;

=head1 WIDGET HIERARCHY

C<Gtk2::Ex::QuadScroll> is a subclass of
C<Gtk2::DrawingArea>, but don't rely on more than C<Gtk2::Widget> for now.

    Gtk2::Widget
      Gtk2::DrawingArea
        Gtk2::Ex::QuadScroll

# =head1 DESCRIPTION
# 
=head1 FUNCTIONS

=over 4

=item C<< $qb = Gtk2::Ex::QuadScroll->new (key=>value,...) >>

Create and return a new QuadScroll object.  Optional key/value pairs set
initial properties per C<< Glib::Object->new >>.

    my $qb = Gtk2::Ex::QuadScroll->new;

=back

# =head1 PROPERTIES
# 
# =over 4
# 
# =item C<combobox> (C<Gtk2::ComboBox> object, default C<undef>)
# 
# =back

=head1 SEE ALSO

L<Gtk2::Button>,
L<Gtk2::Arrow>

=head1 HOME PAGE

L<http://user42.tuxfamily.org/gtk2-ex-quadbutton/index.html>

=head1 LICENSE

Copyright 2010, 2011 Kevin Ryde

Gtk2-Ex-QuadButton 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-QuadButton 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-QuadButton.  If not, see L<http://www.gnu.org/licenses/>.

=cut



( run in 1.018 second using v1.01-cache-2.11-cpan-8dfa8b56332 )