GtkRange {RGtk2}R Documentation

GtkRange

Description

Base class for widgets which visualize an adjustment

Methods and Functions

gtkRangeGetAdjustment(object)
gtkRangeSetUpdatePolicy(object, policy)
gtkRangeSetAdjustment(object, adjustment)
gtkRangeGetInverted(object)
gtkRangeSetInverted(object, setting)
gtkRangeGetUpdatePolicy(object)
gtkRangeGetValue(object)
gtkRangeSetIncrements(object, step, page)
gtkRangeSetRange(object, min, max)
gtkRangeSetValue(object, value)

Hierarchy

  GObject
   +----GtkObject
         +----GtkWidget
               +----GtkRange
                     +----GtkScale
                     +----GtkScrollbar

Interfaces

GtkRange implements AtkImplementorIface.

Structures

GtkRange
undocumented

Signals

adjust-bounds(range, arg1, user.data)

range
[GtkRange] the object which received the signal.
arg1
[numeric]
user.data
[R object] user data set when the signal handler was connected.

change-value(range, scroll, value, returns, user.data)
The ::change-value signal is emitted when a scroll action is performed on a range. It allows an application to determine the type of scroll event that occurred and the resultant new value. The application can handle the event itself and return TRUE to prevent further processing. Or, by returning FALSE, it can pass the event to other handlers until the default GTK+ handler is reached.

The value parameter is unrounded. An application that overrides the ::change-value signal is responsible for clamping the value to the desired number of decimal digits; the default GTK+ handler clamps the value based on range->round.digits.

It is not possible to use delayed update policies in an overridden ::change-value handler.

Since 2.6

range
[GtkRange] the range that received the signal.
scroll
[GtkScrollType] the type of scroll action that was performed.
value
[numeric] the new value resulting from the scroll action.
returns
[R object] TRUE to prevent other handlers from being invoked for the signal. FALSE to propagate the signal further.
user.data
user data set when the signal handler was connected.

move-slider(range, arg1, user.data)
Virtual function that moves the slider. Used for keybindings.

range
[GtkRange] the GtkRange
arg1
[GtkScrollType]
user.data
[R object] user data set when the signal handler was connected.

value-changed(range, user.data)
Emitted when the range value changes.

range
[GtkRange] the GtkRange
user.data
[R object] user data set when the signal handler was connected.

Properties

adjustment [GtkAdjustment : Read / Write / Construct]

The GtkAdjustment that contains the current value of this range object.

inverted [logical : Read / Write]

Invert direction slider moves to increase range value. Default value: FALSE

update-policy [GtkUpdateType : Read / Write]

How the range should be updated on the screen. Default value: GTK_UPDATE_CONTINUOUS

Style Properties

arrow-displacement-x [integer : Read]

How far in the x direction to move the arrow when the button is depressed. Default value: 0

arrow-displacement-y [integer : Read]

How far in the y direction to move the arrow when the button is depressed. Default value: 0

slider-width [integer : Read]

Width of scrollbar or scale thumb. Allowed values: >= 0 Default value: 14

stepper-size [integer : Read]

Length of step buttons at ends. Allowed values: >= 0 Default value: 14

stepper-spacing [integer : Read]

Spacing between step buttons and thumb. Allowed values: >= 0 Default value: 0

trough-border [integer : Read]

Spacing between thumb/steppers and outer trough bevel. Allowed values: >= 0 Default value: 1

Author(s)

Derived by RGtkGen from GTK+ documentation

References

http://developer.gnome.org/doc/API/2.0/gtk/GtkRange.html


[Package RGtk2 version 2.8.5 Index]