GtkRuler
A base class for GtkHRuler and GtkVRuler.
Йерархия на обектите
Директни подкласове
Описание
Този уйджет се смята за много специализиран или слабо използван за GTK+, и в бъдеще ще бъде преместен в някой друг пакет. Ако Вашата програма има нужда от този уйджет, можете да го използвате - той ще продължи да работи. Имайте в предвид, че в някоя от бъдещите дистрибуции на GTK+ този уйджет може и да отпадне.
The GTKRuler widget is a base class for horizontal and vertical rulers. Rulers are used to show the mouse pointer's location in a window. The ruler can either be horizontal or vertical on the window. Within the ruler a small triangle indicates the location of the mouse relative to the horizontal or vertical ruler.
Методи
get_metric() Returns the display units. get_range() Returns the range of the ruler. set_metric() Sets the display unit. set_range() Sets the range of the ruler.
Свойства
Използвай методите get_property и set_property, за да получиш достъп до това.
lower: Lower limit of ruler. max-size: Maximum size of the ruler. position: Position of mark on the ruler. upper: Upper limit of ruler.