GtkCurve

GtkCurve

Properties

GtkCurveType curve-type Read / Write
gfloat max-x Read / Write
gfloat max-y Read / Write
gfloat min-x Read / Write
gfloat min-y Read / Write

Types and Values

struct GtkCurve

Object Hierarchy

    GObject
    ╰── GInitiallyUnowned
        ╰── GtkObject
            ╰── GtkWidget
                ╰── GtkDrawingArea
                    ╰── GtkCurve

Implemented Interfaces

GtkCurve implements AtkImplementorIface and GtkBuildable.

Includes

#include <gtk/gtk.h>

Description

Functions

gtk_curve_new ()

GtkWidget *
gtk_curve_new (void);

gtk_curve_new is deprecated and should not be used in newly-written code.


gtk_curve_reset ()

void
gtk_curve_reset (GtkCurve *curve);

gtk_curve_reset is deprecated and should not be used in newly-written code.


gtk_curve_set_gamma ()

void
gtk_curve_set_gamma (GtkCurve *curve,
                     gfloat gamma_);

gtk_curve_set_gamma is deprecated and should not be used in newly-written code.


gtk_curve_set_range ()

void
gtk_curve_set_range (GtkCurve *curve,
                     gfloat min_x,
                     gfloat max_x,
                     gfloat min_y,
                     gfloat max_y);

gtk_curve_set_range is deprecated and should not be used in newly-written code.


gtk_curve_get_vector ()

void
gtk_curve_get_vector (GtkCurve *curve,
                      int veclen,
                      gfloat vector[]);

gtk_curve_get_vector is deprecated and should not be used in newly-written code.


gtk_curve_set_vector ()

void
gtk_curve_set_vector (GtkCurve *curve,
                      int veclen,
                      gfloat vector[]);

gtk_curve_set_vector is deprecated and should not be used in newly-written code.


gtk_curve_set_curve_type ()

void
gtk_curve_set_curve_type (GtkCurve *curve,
                          GtkCurveType type);

gtk_curve_set_curve_type is deprecated and should not be used in newly-written code.

Types and Values

struct GtkCurve

struct GtkCurve;

GtkCurve is deprecated and should not be used in newly-written code.

Property Details

The “curve-type” property

  “curve-type”               GtkCurveType

Is this curve linear, spline interpolated, or free-form.

Flags: Read / Write

Default value: GTK_CURVE_TYPE_SPLINE


The “max-x” property

  “max-x”                    gfloat

Maximum possible X value.

Flags: Read / Write

Default value: 1


The “max-y” property

  “max-y”                    gfloat

Maximum possible value for Y.

Flags: Read / Write

Default value: 1


The “min-x” property

  “min-x”                    gfloat

Minimum possible value for X.

Flags: Read / Write

Default value: 0


The “min-y” property

  “min-y”                    gfloat

Minimum possible value for Y.

Flags: Read / Write

Default value: 0

Signal Details

The “curve-type-changed” signal

void
user_function (GtkCurve *curve,
               gpointer  user_data)

Flags: Run First