GtkGammaCurve {RGtk2} | R Documentation

## GtkGammaCurve

### Description

A subclass of GtkCurve for editing gamma curves

### Methods and Functions

`gtkGammaCurveNew(show = TRUE)`
`gtkGammaCurve(show = TRUE)`

### Hierarchy

    GObject
       +----GInitiallyUnowned
             +----GtkObject
                   +----GtkWidget
                         +----GtkContainer
                               +----GtkBox
                                     +----GtkVBox
                                           +----GtkGammaCurve

### Interfaces

GtkGammaCurve implements AtkImplementorIface, `GtkBuildable` and `GtkOrientable`.

### Detailed Description

The `GtkGammaCurve` widget is a variant of `GtkCurve` specifically for editing gamma curves, which are used in graphics applications such as the Gimp.

The `GtkGammaCurve` widget shows a curve which the user can edit with the mouse just like a `GtkCurve` widget. On the right of the curve it also displays 5 buttons, 3 of which change between the 3 curve modes (spline, linear and free), and the other 2 set the curve to a particular gamma value, or reset it to a straight line.

As of GTK+ 2.20, `GtkGammaCurve` has been deprecated since it is too specialized.

### Structures

`GtkGammaCurve`

  WARNING: `GtkGammaCurve` is deprecated and should not be used in newly-written code. The `GtkGammaCurve` struct contains private data only, and should be accessed using the functions below.

  `table`

    [`GtkWidget`]

  `curve`

    [`GtkWidget`]

  `gamma`

    [numeric]

  `gammaDialog`

    [`GtkWidget`]

  `gammaText`

    [`GtkWidget`]

### Convenient Construction

`gtkGammaCurve` is the equivalent of `gtkGammaCurveNew`.

### Author(s)

Derived by RGtkGen from GTK+ documentation

### References

https://developer.gnome.org/gtk2/stable/GtkGammaCurve.html

[Package RGtk2 version 2.20.36.3 Index]