Import line: | Gtk = imports.gi.Gtk; |
GIR File: | Gtk-2.0.gir |
C documentation: | GtkMetricType |
Enum : | MetricType |
Show / Hide Inherited methods, properties and signals |
Properties | |
---|---|
Number Gtk.MetricType.CENTIMETERS : 2
|
|
Number Gtk.MetricType.INCHES : 1
|
|
Number Gtk.MetricType.PIXELS : 0
|
None |
None |
None |
Class / Namespace | Method / Signal / Properties |
---|---|
Gtk.Ruler
Property |
metric : Gtk.MetricType
The metric used for the ruler.
|
Gtk.Ruler
Method |
set_metric
(MetricType metric)
:
none
|
Gtk.Ruler
Method |
get_metric
()
:
Gtk.MetricType
Gets the units used for a GtkRuler.
|