NOTE this widget is considered too specialized/little-used for GTK+, and will in the future be moved to some other package. If your application needs this widget, feel free to use it, as the widget does work and is useful in some applications; it's just not of general interest. However, we are not accepting new features for the widget, and it will eventually move out of the GTK+ distribution. Rulers are used to show the mouse pointer's location in a window. The ruler can either be horizontal or vertical. Within the ruler a small triangle indicates the location of the mouse relative to the horixontal or vertical ruler.
This is an abstract base for Gtk::HRuler and Gtk::VRuler. Users should only instantiate those types.
upper and lower arguments denote the extents of the Ruler. max_size is the largest number displayed by the ruler. position gives the initial value of the ruler. Rulers do not have sane defaults so this function should always be called.
Friends And Related Function Documentation
Gtk::Ruler* wrap
(
GtkRuler*
object,
bool
take_copy = false
)
[related]
The documentation for this class was generated from the following file: