<?xml version="1.0"?>
<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
               "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" [
<!ENTITY % local.common.attrib "xmlns:xi  CDATA  #FIXED 'http://www.w3.org/2003/XInclude'">
<!ENTITY version SYSTEM "version.xml">
]>
<!--ENTITY index-Objects-Grouped SYSTEM "objects_grouped.sgml"-->
<refentry id="GtkGammaCurve">
<refmeta>
<refentrytitle role="top_of_page" id="GtkGammaCurve.top_of_page">GtkGammaCurve</refentrytitle>
<manvolnum>3</manvolnum>
<refmiscinfo>GTK Library</refmiscinfo>
</refmeta>

<refnamediv>
<refname>GtkGammaCurve</refname>
<refpurpose>A subclass of GtkCurve for editing gamma curves</refpurpose>
</refnamediv>

<refsynopsisdiv id="GtkGammaCurve.synopsis" role="synopsis">
<title role="synopsis.title">Synopsis</title>

<synopsis>

#include &lt;gtk/gtk.h&gt;

                    <link linkend="GtkGammaCurve-struct">GtkGammaCurve</link>;
<link linkend="GtkWidget">GtkWidget</link>*          <link linkend="gtk-gamma-curve-new">gtk_gamma_curve_new</link>                 (void);
</synopsis>
</refsynopsisdiv>

<refsect1 id="GtkGammaCurve.object-hierarchy" role="object_hierarchy">
<title role="object_hierarchy.title">Object Hierarchy</title>
<synopsis>
  <link linkend="GObject">GObject</link>
   +----<link linkend="GInitiallyUnowned">GInitiallyUnowned</link>
         +----<link linkend="GtkObject">GtkObject</link>
               +----<link linkend="GtkWidget">GtkWidget</link>
                     +----<link linkend="GtkContainer">GtkContainer</link>
                           +----<link linkend="GtkBox">GtkBox</link>
                                 +----<link linkend="GtkVBox">GtkVBox</link>
                                       +----GtkGammaCurve
</synopsis>
</refsect1>



<refsect1 id="GtkGammaCurve.implemented-interfaces" role="impl_interfaces">
<title role="impl_interfaces.title">Implemented Interfaces</title>
<para>
GtkGammaCurve implements
 <link linkend="AtkImplementorIface">AtkImplementorIface</link>,  <link linkend="GtkBuildable">GtkBuildable</link> and  <link linkend="GtkOrientable">GtkOrientable</link>.</para>
</refsect1>





<refsect1 id="GtkGammaCurve.description" role="desc">
<title role="desc.title">Description</title>
<note>
<para>
 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.
</para>
</note>
<para>
The <link linkend="GtkGammaCurve"><type>GtkGammaCurve</type></link> widget is a variant of <link linkend="GtkCurve"><type>GtkCurve</type></link> specifically for
editing gamma curves, which are used in graphics applications such as the
Gimp.
</para>
<para>
The <link linkend="GtkGammaCurve"><type>GtkGammaCurve</type></link> widget shows a curve which the user can edit with the
mouse just like a <link linkend="GtkCurve"><type>GtkCurve</type></link> 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.
</para>
</refsect1>

<refsect1 id="GtkGammaCurve.details" role="details">
<title role="details.title">Details</title>
<refsect2 id="GtkGammaCurve-struct" role="struct">
<title>GtkGammaCurve</title>
<indexterm zone="GtkGammaCurve-struct"><primary sortas="GammaCurve">GtkGammaCurve</primary></indexterm><programlisting>typedef struct _GtkGammaCurve GtkGammaCurve;</programlisting>
<para>
The <link linkend="GtkGammaCurve"><type>GtkGammaCurve</type></link> struct contains private data only, and
should be accessed using the functions below.
</para></refsect2>
<refsect2 id="gtk-gamma-curve-new" role="function">
<title>gtk_gamma_curve_new ()</title>
<indexterm zone="gtk-gamma-curve-new"><primary sortas="gamma_curve_new">gtk_gamma_curve_new</primary></indexterm><programlisting><link linkend="GtkWidget">GtkWidget</link>*          gtk_gamma_curve_new                 (void);</programlisting>
<para>
Creates a new <link linkend="GtkGammaCurve"><type>GtkGammaCurve</type></link>.
</para><variablelist role="params">
<varlistentry><term><emphasis>Returns</emphasis>&#160;:</term><listitem><simpara>a new <link linkend="GtkGammaCurve"><type>GtkGammaCurve</type></link>.
</simpara></listitem></varlistentry>
</variablelist></refsect2>

</refsect1>




</refentry>
