PHP-GTK
Thursday, October 23, 2014 
download | documentation | applications | faq | changelog | resources 


search for in the  


previousGtkRadioToolButton::set_group
GtkRange::get_adjustmentnext

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

GtkRange

A base class for widgets that visualize an adjustment.

Object Hierarchy

Direct Subclasses

Description

A base class for widgets that visualize an adjustment. It provides the base functionality for GtkScrollbar and GtkScale.

Methods

get_adjustment()
  Returns the adjustment.
get_inverted()
  If the range is inverted.
get_update_policy()
  Returns the setting when updates signals are sent.
get_value()
  Returns the current adjustment value.
set_adjustment()
  Sets the adjustment.
set_increments()
  Sets the step and page sizes for the range.
set_inverted()
  Sets the inverted setting.
set_range()
  Sets the minimum and maximum values.
set_update_policy()
  Sets the update policy.
set_value()
  Sets the current value.

Properties

Use get_property and set_property methods to access these.

adjustment:
  "model" for the range object.
inverted:
  Invert direction slider.
update-policy:
  How the range should be updated.

Style Properties

Can be set with rc files/strings only.

arrow-displacement-x:
  How far to move the x direction when the button is depressed.
arrow-displacement-y:
  How far to move the y direction when the button is depressed.
slider-width:
  Width of scrollbar or scale thumb.
stepper-size:
  Length of step buttons at ends.
stepper-spacing:
  Spacing between step buttons and thumb.
trough-border:
  Spacing between thumb/steppers and outer trough bevel.

Signals

"adjust-bounds"
  The range's minimum/maximum values have changed.
"change-value"
  Check value before it is set.
"move-slider"
  Virtual function that moves the slider.
"value-changed"
  Emitted when the range value changes.


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


previousGtkRadioToolButton::set_group
GtkRange::get_adjustmentnext

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