gtk-sharp2.8.0.0Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details.A base class for ruler widgets.The Ruler widget is a base class for horizontal and vertical rulers. Rulers are used to show the mouse pointer's location in a window. Within the ruler a small triangle indicates the location of the mouse relative to the horizontal or vertical ruler. Concrete classes are and for horizontal and vertical rulers, respectively.With this class, you can adjust the unit type and the range of values that a ruler displays.Note:- This widget is considered too specialized for GTK+, and will likely be moved to some other package in the future.Gtk.WidgetMethodSystem.VoidDraws tickmarks on the ruler.MethodSystem.VoidDraws the mouse position mark on the ruler.MethodSystem.VoidSets the range information.
The lower value to display on the Ruler.
The upper value to display on the Ruler.
The current position of the mouse aligned with this Ruler.
A , the maximum size of the ruler.
MethodSystem.VoidGets the range information.
A for the lower value to display on the Ruler.
A for the upper value to display on the Ruler.
A for the current position of the mouse aligned with this Ruler.
A , the maximum size of the ruler.
ConstructorInternal constructor
Pointer to the C object.
This is an internal constructor, and should not be used by user code.PropertyGtk.MetricTypeManage the measurement unit that is displayed.The current units in use.If this property is not explicitly set, the default for a ruler is .GLib.Property(Name="metric")PropertySystem.DoubleThe upper value to display on the ruler.A GLib.Property(Name="upper")PropertySystem.DoubleThe position of the mouse mark on the ruler.A GLib.Property(Name="position")PropertySystem.DoubleThe maximum size of the ruler.A GLib.Property(Name="max-size")PropertySystem.DoubleThe lower limit of the ruler.A GLib.Property(Name="lower")PropertyGLib.GTypeGType Property.a Returns the native value for .ConstructorProtected Constructor.
a Chain to this constructor if you have manually registered a native value for your subclass.System.Obsolete(Message=null, IsError=False)ConstructorProtected constructor.