.\" -*- mode: troff; coding: utf-8 -*- .\" Automatically generated by Pod::Man 5.01 (Pod::Simple 3.43) .\" .\" Standard preamble: .\" ======================================================================== .de Sp \" Vertical space (when we can't use .PP) .if t .sp .5v .if n .sp .. .de Vb \" Begin verbatim text .ft CW .nf .ne \\$1 .. .de Ve \" End verbatim text .ft R .fi .. .\" \*(C` and \*(C' are quotes in nroff, nothing in troff, for use with C<>. .ie n \{\ . ds C` "" . ds C' "" 'br\} .el\{\ . ds C` . ds C' 'br\} .\" .\" Escape single quotes in literal strings from groff's Unicode transform. .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" .\" If the F register is >0, we'll generate index entries on stderr for .\" titles (.TH), headers (.SH), subsections (.SS), items (.Ip), and index .\" entries marked with X<> in POD. Of course, you'll have to process the .\" output yourself in some meaningful fashion. .\" .\" Avoid warning from groff about undefined register 'F'. .de IX .. .nr rF 0 .if \n(.g .if rF .nr rF 1 .if (\n(rF:(\n(.g==0)) \{\ . if \nF \{\ . de IX . tm Index:\\$1\t\\n%\t"\\$2" .. . if !\nF==2 \{\ . nr % 0 . nr F 2 . \} . \} .\} .rr rF .\" ======================================================================== .\" .IX Title "Gtk2::Ruler 3" .TH Gtk2::Ruler 3 2023-07-25 "perl v5.38.0" "User Contributed Perl Documentation" .\" For nroff, turn off justification. Always turn off hyphenation; it makes .\" way too many mistakes in technical documents. .if n .ad l .nh .SH NAME Gtk2::Ruler \- wrapper for GtkRuler .SH HIERARCHY .IX Header "HIERARCHY" .Vb 5 \& Glib::Object \& +\-\-\-\-Glib::InitiallyUnowned \& +\-\-\-\-Gtk2::Object \& +\-\-\-\-Gtk2::Widget \& +\-\-\-\-Gtk2::Ruler .Ve .SH INTERFACES .IX Header "INTERFACES" .Vb 3 \& Glib::Object::_Unregistered::AtkImplementorIface \& Gtk2::Buildable \& Gtk2::Orientable .Ve .SH METHODS .IX Header "METHODS" .ie n .SS $ruler\->\fBdraw_pos\fP .el .SS \f(CW$ruler\fP\->\fBdraw_pos\fP .IX Subsection "$ruler->draw_pos" .ie n .SS $ruler\->\fBdraw_ticks\fP .el .SS \f(CW$ruler\fP\->\fBdraw_ticks\fP .IX Subsection "$ruler->draw_ticks" .ie n .SS "metrictype = $ruler\->\fBget_metric\fP" .el .SS "metrictype = \f(CW$ruler\fP\->\fBget_metric\fP" .IX Subsection "metrictype = $ruler->get_metric" .ie n .SS "$ruler\->\fBset_metric\fP ($metric)" .el .SS "\f(CW$ruler\fP\->\fBset_metric\fP ($metric)" .IX Subsection "$ruler->set_metric ($metric)" .IP \(bu 4 \&\f(CW$metric\fR (Gtk2::MetricType) .ie n .SS "(lower, upper, position, max_size) = $ruler\->\fBget_range\fP" .el .SS "(lower, upper, position, max_size) = \f(CW$ruler\fP\->\fBget_range\fP" .IX Subsection "(lower, upper, position, max_size) = $ruler->get_range" .ie n .SS "$ruler\->\fBset_range\fP ($lower, $upper, $position, $max_size)" .el .SS "\f(CW$ruler\fP\->\fBset_range\fP ($lower, \f(CW$upper\fP, \f(CW$position\fP, \f(CW$max_size\fP)" .IX Subsection "$ruler->set_range ($lower, $upper, $position, $max_size)" .IP \(bu 4 \&\f(CW$lower\fR (double) .IP \(bu 4 \&\f(CW$upper\fR (double) .IP \(bu 4 \&\f(CW$position\fR (double) .IP \(bu 4 \&\f(CW$max_size\fR (double) .SH PROPERTIES .IX Header "PROPERTIES" .IP "'lower' (double : default 0 : readable / writable / private / static-nick / static-blurb)" 4 .IX Item "'lower' (double : default 0 : readable / writable / private / static-nick / static-blurb)" Lower limit of ruler .IP "'max\-size' (double : default 0 : readable / writable / private / static-nick / static-blurb)" 4 .IX Item "'max-size' (double : default 0 : readable / writable / private / static-nick / static-blurb)" Maximum size of the ruler .IP "'metric' (Gtk2::MetricType : default ""pixels"" : readable / writable / private / static-nick / static-blurb)" 4 .IX Item "'metric' (Gtk2::MetricType : default ""pixels"" : readable / writable / private / static-nick / static-blurb)" The metric used for the ruler .IP "'position' (double : default 0 : readable / writable / private / static-nick / static-blurb)" 4 .IX Item "'position' (double : default 0 : readable / writable / private / static-nick / static-blurb)" Position of mark on the ruler .IP "'upper' (double : default 0 : readable / writable / private / static-nick / static-blurb)" 4 .IX Item "'upper' (double : default 0 : readable / writable / private / static-nick / static-blurb)" Upper limit of ruler .SH "ENUMS AND FLAGS" .IX Header "ENUMS AND FLAGS" .SS "enum Gtk2::MetricType" .IX Subsection "enum Gtk2::MetricType" .IP \(bu 4 \&'pixels' / 'GTK_PIXELS' .IP \(bu 4 \&'inches' / 'GTK_INCHES' .IP \(bu 4 \&'centimeters' / 'GTK_CENTIMETERS' .SH "SEE ALSO" .IX Header "SEE ALSO" Gtk2, Glib::Object, Glib::InitiallyUnowned, Gtk2::Object, Gtk2::Widget .SH COPYRIGHT .IX Header "COPYRIGHT" Copyright (C) 2003\-2011 by the gtk2\-perl team. .PP This software is licensed under the LGPL. See Gtk2 for a full notice.