GTK+
gtk/gtkruler.h
GtkRuler is an abstract base class for the horizontal and vertical ruler widgets. The ruler widgets are used in the GIMP to display image dimensions.
Figure 31. GtkHRuler and GtkVRuler, as used in the GIMP