=head1 NAME

Gtk2::Ruler

=head1 HIERARCHY

  Glib::Object
  +----Glib::Object::_Unregistered::GInitiallyUnowned
       +----Gtk2::Object
            +----Gtk2::Widget
                 +----Gtk2::Ruler

=head1 INTERFACES

  Glib::Object::_Unregistered::AtkImplementorIface


=head1 METHODS

=head2 $ruler-E<gt>B<draw_pos> 

=over

=back

=head2 $ruler-E<gt>B<draw_ticks> 

=over

=back

=head2 metrictype = $ruler-E<gt>B<get_metric> 

=over

=back

=head2 $ruler-E<gt>B<set_metric> ($metric)

=over

=over

=item * $metric (Gtk2::MetricType) 

=back

=back

=head2 (lower, upper, position, max_size) = $ruler-E<gt>B<get_range> 

=over

=back

=head2 $ruler-E<gt>B<set_range> ($lower, $upper, $position, $max_size)

=over

=over

=item * $lower (double) 

=item * $upper (double) 

=item * $position (double) 

=item * $max_size (double) 

=back

=back


=head1 PROPERTIES

=over

=item 'lower' (double : readable / writable / private)

Lower limit of ruler

=item 'max-size' (double : readable / writable / private)

Maximum size of the ruler

=item 'metric' (Gtk2::MetricType : readable / writable / private)

The metric used for the ruler

=item 'position' (double : readable / writable / private)

Position of mark on the ruler

=item 'upper' (double : readable / writable / private)

Upper limit of ruler

=back


=head1 ENUMS AND FLAGS

=head2 enum Gtk2::MetricType

=over

=item * 'pixels' / 'GTK_PIXELS'

=item * 'inches' / 'GTK_INCHES'

=item * 'centimeters' / 'GTK_CENTIMETERS'

=back



=head1 SEE ALSO

L<Gtk2>, L<Glib::Object>, L<Glib::Object::_Unregistered::GInitiallyUnowned>, L<Gtk2::Object>, L<Gtk2::Widget>

=head1 COPYRIGHT

Copyright (C) 2003-2005 by the gtk2-perl team.

This software is licensed under the LGPL.  See L<Gtk2> for a full notice.


=cut

