.\" Automatically generated by Pod::Man 4.10 (Pod::Simple 3.35) .\" .\" 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 .. .\" Set up some character translations and predefined strings. \*(-- will .\" give an unbreakable dash, \*(PI will give pi, \*(L" will give a left .\" double quote, and \*(R" will give a right double quote. \*(C+ will .\" give a nicer C++. Capital omega is used to do unbreakable dashes and .\" therefore won't be available. \*(C` and \*(C' expand to `' in nroff, .\" nothing in troff, for use with C<>. .tr \(*W- .ds C+ C\v'-.1v'\h'-1p'\s-2+\h'-1p'+\s0\v'.1v'\h'-1p' .ie n \{\ . ds -- \(*W- . ds PI pi . if (\n(.H=4u)&(1m=24u) .ds -- \(*W\h'-12u'\(*W\h'-12u'-\" diablo 10 pitch . if (\n(.H=4u)&(1m=20u) .ds -- \(*W\h'-12u'\(*W\h'-8u'-\" diablo 12 pitch . ds L" "" . ds R" "" . ds C` "" . ds C' "" 'br\} .el\{\ . ds -- \|\(em\| . ds PI \(*p . ds L" `` . ds R" '' . 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::Scale 3pm" .TH Gtk2::Scale 3pm "2019-09-16" "perl v5.28.1" "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::Scale \- wrapper for GtkScale .SH "HIERARCHY" .IX Header "HIERARCHY" .Vb 6 \& Glib::Object \& +\-\-\-\-Glib::InitiallyUnowned \& +\-\-\-\-Gtk2::Object \& +\-\-\-\-Gtk2::Widget \& +\-\-\-\-Gtk2::Range \& +\-\-\-\-Gtk2::Scale .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 "$scale\->\fBadd_mark\fP ($value, $position, $markup)" .el .SS "\f(CW$scale\fP\->\fBadd_mark\fP ($value, \f(CW$position\fP, \f(CW$markup\fP)" .IX Subsection "$scale->add_mark ($value, $position, $markup)" .IP "\(bu" 4 \&\f(CW$value\fR (double) .IP "\(bu" 4 \&\f(CW$position\fR (Gtk2::PositionType) .IP "\(bu" 4 \&\f(CW$markup\fR (string or undef) .PP Since: gtk+ 2.16 .ie n .SS "$scale\->\fBclear_marks\fP" .el .SS "\f(CW$scale\fP\->\fBclear_marks\fP" .IX Subsection "$scale->clear_marks" Since: gtk+ 2.16 .ie n .SS "integer = $scale\->\fBget_digits\fP" .el .SS "integer = \f(CW$scale\fP\->\fBget_digits\fP" .IX Subsection "integer = $scale->get_digits" .ie n .SS "$scale\->\fBset_digits\fP ($digits)" .el .SS "\f(CW$scale\fP\->\fBset_digits\fP ($digits)" .IX Subsection "$scale->set_digits ($digits)" .IP "\(bu" 4 \&\f(CW$digits\fR (integer) .ie n .SS "boolean = $scale\->\fBget_draw_value\fP" .el .SS "boolean = \f(CW$scale\fP\->\fBget_draw_value\fP" .IX Subsection "boolean = $scale->get_draw_value" .ie n .SS "$scale\->\fBset_draw_value\fP ($draw_value)" .el .SS "\f(CW$scale\fP\->\fBset_draw_value\fP ($draw_value)" .IX Subsection "$scale->set_draw_value ($draw_value)" .IP "\(bu" 4 \&\f(CW$draw_value\fR (boolean) .ie n .SS "layout = $scale\->\fBget_layout\fP" .el .SS "layout = \f(CW$scale\fP\->\fBget_layout\fP" .IX Subsection "layout = $scale->get_layout" Since: gtk+ 2.4 .ie n .SS "(x, y) = $scale\->\fBget_layout_offsets\fP" .el .SS "(x, y) = \f(CW$scale\fP\->\fBget_layout_offsets\fP" .IX Subsection "(x, y) = $scale->get_layout_offsets" Since: gtk+ 2.4 .ie n .SS "positiontype = $scale\->\fBget_value_pos\fP" .el .SS "positiontype = \f(CW$scale\fP\->\fBget_value_pos\fP" .IX Subsection "positiontype = $scale->get_value_pos" .ie n .SS "$scale\->\fBset_value_pos\fP ($pos)" .el .SS "\f(CW$scale\fP\->\fBset_value_pos\fP ($pos)" .IX Subsection "$scale->set_value_pos ($pos)" .IP "\(bu" 4 \&\f(CW$pos\fR (Gtk2::PositionType) .SH "PROPERTIES" .IX Header "PROPERTIES" .IP "'digits' (integer : default 1 : readable / writable / private)" 4 .IX Item "'digits' (integer : default 1 : readable / writable / private)" The number of decimal places that are displayed in the value .IP "'draw\-value' (boolean : default true : readable / writable / private)" 4 .IX Item "'draw-value' (boolean : default true : readable / writable / private)" Whether the current value is displayed as a string next to the slider .ie n .IP "'value\-pos' (Gtk2::PositionType : default ""top"" : readable / writable / private)" 4 .el .IP "'value\-pos' (Gtk2::PositionType : default ``top'' : readable / writable / private)" 4 .IX Item "'value-pos' (Gtk2::PositionType : default top : readable / writable / private)" The position in which the current value is displayed .SH "STYLE PROPERTIES" .IX Header "STYLE PROPERTIES" .IP "'slider\-length' (integer : default 31 : readable / private)" 4 .IX Item "'slider-length' (integer : default 31 : readable / private)" Length of scale's slider .IP "'value\-spacing' (integer : default 2 : readable / private)" 4 .IX Item "'value-spacing' (integer : default 2 : readable / private)" Space between value text and the slider/trough area .SH "SIGNALS" .IX Header "SIGNALS" .IP "string = \fBformat-value\fR (Gtk2::Scale, double)" 4 .IX Item "string = format-value (Gtk2::Scale, double)" .SH "ENUMS AND FLAGS" .IX Header "ENUMS AND FLAGS" .SS "enum Gtk2::PositionType" .IX Subsection "enum Gtk2::PositionType" .PD 0 .IP "\(bu" 4 .PD \&'left' / '\s-1GTK_POS_LEFT\s0' .IP "\(bu" 4 \&'right' / '\s-1GTK_POS_RIGHT\s0' .IP "\(bu" 4 \&'top' / '\s-1GTK_POS_TOP\s0' .IP "\(bu" 4 \&'bottom' / '\s-1GTK_POS_BOTTOM\s0' .SH "SEE ALSO" .IX Header "SEE ALSO" Gtk2, Glib::Object, Glib::InitiallyUnowned, Gtk2::Object, Gtk2::Widget, Gtk2::Range .SH "COPYRIGHT" .IX Header "COPYRIGHT" Copyright (C) 2003\-2011 by the gtk2\-perl team. .PP This software is licensed under the \s-1LGPL.\s0 See Gtk2 for a full notice.