Learn R Programming

RGtk2 (version 2.8.8)

GtkScale: GtkScale

Description

Base class for GtkHScale and GtkVScale

Arguments

Methods and Functions

gtkScaleSetDigits(object, digits) gtkScaleSetDrawValue(object, draw.value) gtkScaleSetValuePos(object, pos) gtkScaleGetDigits(object) gtkScaleGetDrawValue(object) gtkScaleGetValuePos(object) gtkScaleGetLayout(object) gtkScaleGetLayoutOffsets(object)

Hierarchy

\link{GObject} +----\link{GtkObject} +----\link{GtkWidget} +----\link{GtkRange} +----GtkScale +----\link{GtkHScale} +----\link{GtkVScale}

Interfaces

GtkScale implements AtkImplementorIface.

Detailed Description

A GtkScale is a slider control used to select a numeric value. To use it, you'll probably want to investigate the methods on its base class, GtkRange, in addition to the methods for GtkScale itself. To set the value of a scale, you would normally use gtkRangeSetValue. To detect changes to the value, you would normally use the "value_changed" signal. The GtkScale widget is an abstract class, used only for deriving the subclasses GtkHScale and GtkVScale. To create a scale widget, call gtkHScaleNewWithRange or gtkVScaleNewWithRange.

References

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