PHP-GTK
Thursday, August 21, 2014 
download | documentation | applications | faq | changelog | resources 


search for in the  


previousGtkRequisition::free
GtkRuler::get_metricnext

Last updated: Sun, 12 May 2013
view this page in English

GtkRuler

A base class for GtkHRuler and GtkVRuler.

Object Hierarchy

Direct Subclasses

Description

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.

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.

Methods

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.

Properties

Use get_property and set_property methods to access these.

lower:
  Lower limit of ruler.
max-size:
  Maximum size of the ruler.
position:
  Position of mark on the ruler.
upper:
  Upper limit of ruler.


User Contributed Notes
gtk.gtkruler.php
add a note about notes
There are no user contributed notes for this page.


previousGtkRequisition::free
GtkRuler::get_metricnext

Last updated: Sun, 12 May 2013
view this page in English


credits 

PHP  Copyright © 2001-2014 The PHP Group
 All rights reserved.
Last updated: Sun May 12 20:50:59 2013 CEST