Ruler
Metric
constructor
abbrev
metric_
name
pixels_
per_
unit
ruler_
scale
subdivide
name
GJS API Reference
Gtk-2.0
Gtk
RulerMetric
Class RulerMetric
Hierarchy
RulerMetric
Index
Constructors
constructor
Properties
abbrev
metric_
name
pixels_
per_
unit
ruler_
scale
subdivide
name
Constructors
constructor
new
Ruler
Metric
(
)
:
RulerMetric
Returns
RulerMetric
Properties
abbrev
abbrev
:
string
metric_
name
metric_
name
:
string
pixels_
per_
unit
pixels_
per_
unit
:
number
ruler_
scale
ruler_
scale
:
number
[]
subdivide
subdivide
:
number
[]
Static
name
name
:
string
Ruler
Metric
constructor
abbrev
metric_
name
pixels_
per_
unit
ruler_
scale
subdivide
name
base64:eyJwYWdlTmF2aWdhdGlvbiI6W3siY2xhc3NOYW1lcyI6InRzZC1raW5kLWNvbnN0cnVjdG9yIHRzZC1wYXJlbnQta2luZC1jbGFzcyIsImhyZWYiOiJHdGtfMl8wLkd0ay5SdWxlck1ldHJpYy5odG1sI2NvbnN0cnVjdG9yIiwibmFtZSI6ImNvbnN0cnVjdG9yIiwiY2hpbGRyZW4iOltdLCJpc0V4dGVybiI6ZmFsc2UsImlzSW50ZXJuIjp0cnVlfSx7ImNsYXNzTmFtZXMiOiJ0c2Qta2luZC1wcm9wZXJ0eSB0c2QtcGFyZW50LWtpbmQtY2xhc3MiLCJocmVmIjoiR3RrXzJfMC5HdGsuUnVsZXJNZXRyaWMuaHRtbCNhYmJyZXYiLCJuYW1lIjoiYWJicmV2IiwiY2hpbGRyZW4iOltdLCJpc0V4dGVybiI6ZmFsc2UsImlzSW50ZXJuIjp0cnVlfSx7ImNsYXNzTmFtZXMiOiJ0c2Qta2luZC1wcm9wZXJ0eSB0c2QtcGFyZW50LWtpbmQtY2xhc3MiLCJocmVmIjoiR3RrXzJfMC5HdGsuUnVsZXJNZXRyaWMuaHRtbCNtZXRyaWNfbmFtZSIsIm5hbWUiOiJtZXRyaWNfbmFtZSIsImNoaWxkcmVuIjpbXSwiaXNFeH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