GimpCurveView

GimpCurveView

Synopsis

                    GimpCurveView;
GtkWidget *         gimp_curve_view_new                 (void);
void                gimp_curve_view_set_curve           (GimpCurveView *view,
                                                         GimpCurve *curve,
                                                         const GimpRGB *color);
GimpCurve *         gimp_curve_view_get_curve           (GimpCurveView *view);
void                gimp_curve_view_add_background      (GimpCurveView *view,
                                                         GimpCurve *curve,
                                                         const GimpRGB *color);
void                gimp_curve_view_remove_background   (GimpCurveView *view,
                                                         GimpCurve *curve);
void                gimp_curve_view_remove_all_backgrounds
                                                        (GimpCurveView *view);
void                gimp_curve_view_set_selected        (GimpCurveView *view,
                                                         gint selected);
void                gimp_curve_view_set_range_x         (GimpCurveView *view,
                                                         gdouble min,
                                                         gdouble max);
void                gimp_curve_view_set_range_y         (GimpCurveView *view,
                                                         gdouble min,
                                                         gdouble max);
void                gimp_curve_view_set_xpos            (GimpCurveView *view,
                                                         gdouble x);
void                gimp_curve_view_set_x_axis_label    (GimpCurveView *view,
                                                         const gchar *label);
void                gimp_curve_view_set_y_axis_label    (GimpCurveView *view,
                                                         const gchar *label);

Object Hierarchy

  GObject
   +----GInitiallyUnowned
         +----GtkObject
               +----GtkWidget
                     +----GtkDrawingArea
                           +----GimpHistogramView
                                 +----GimpCurveView

Implemented Interfaces

GimpCurveView implements AtkImplementorIface and GtkBuildable.

Properties

  "base-line"                gboolean              : Read / Write / Construct Only
  "gimp"                     Gimp*                 : Read / Write
  "grid-columns"             gint                  : Read / Write / Construct Only
  "grid-rows"                gint                  : Read / Write / Construct Only
  "x-axis-label"             gchar*                : Read / Write
  "y-axis-label"             gchar*                : Read / Write

Signals

  "copy-clipboard"                                 : Action
  "cut-clipboard"                                  : Action
  "paste-clipboard"                                : Action

Description

Details

GimpCurveView

typedef struct _GimpCurveView GimpCurveView;


gimp_curve_view_new ()

GtkWidget *         gimp_curve_view_new                 (void);


gimp_curve_view_set_curve ()

void                gimp_curve_view_set_curve           (GimpCurveView *view,
                                                         GimpCurve *curve,
                                                         const GimpRGB *color);


gimp_curve_view_get_curve ()

GimpCurve *         gimp_curve_view_get_curve           (GimpCurveView *view);


gimp_curve_view_add_background ()

void                gimp_curve_view_add_background      (GimpCurveView *view,
                                                         GimpCurve *curve,
                                                         const GimpRGB *color);


gimp_curve_view_remove_background ()

void                gimp_curve_view_remove_background   (GimpCurveView *view,
                                                         GimpCurve *curve);


gimp_curve_view_remove_all_backgrounds ()

void                gimp_curve_view_remove_all_backgrounds
                                                        (GimpCurveView *view);


gimp_curve_view_set_selected ()

void                gimp_curve_view_set_selected        (GimpCurveView *view,
                                                         gint selected);


gimp_curve_view_set_range_x ()

void                gimp_curve_view_set_range_x         (GimpCurveView *view,
                                                         gdouble min,
                                                         gdouble max);


gimp_curve_view_set_range_y ()

void                gimp_curve_view_set_range_y         (GimpCurveView *view,
                                                         gdouble min,
                                                         gdouble max);


gimp_curve_view_set_xpos ()

void                gimp_curve_view_set_xpos            (GimpCurveView *view,
                                                         gdouble x);


gimp_curve_view_set_x_axis_label ()

void                gimp_curve_view_set_x_axis_label    (GimpCurveView *view,
                                                         const gchar *label);


gimp_curve_view_set_y_axis_label ()

void                gimp_curve_view_set_y_axis_label    (GimpCurveView *view,
                                                         const gchar *label);

Property Details

The "base-line" property

  "base-line"                gboolean              : Read / Write / Construct Only

Default value: TRUE


The "gimp" property

  "gimp"                     Gimp*                 : Read / Write


The "grid-columns" property

  "grid-columns"             gint                  : Read / Write / Construct Only

Allowed values: [0,100]

Default value: 8


The "grid-rows" property

  "grid-rows"                gint                  : Read / Write / Construct Only

Allowed values: [0,100]

Default value: 8


The "x-axis-label" property

  "x-axis-label"             gchar*                : Read / Write

Default value: NULL


The "y-axis-label" property

  "y-axis-label"             gchar*                : Read / Write

Default value: NULL

Signal Details

The "copy-clipboard" signal

void                user_function                      (GimpCurveView *gimpcurveview,
                                                        gpointer       user_data)          : Action

gimpcurveview :

the object which received the signal.

user_data :

user data set when the signal handler was connected.

The "cut-clipboard" signal

void                user_function                      (GimpCurveView *gimpcurveview,
                                                        gpointer       user_data)          : Action

gimpcurveview :

the object which received the signal.

user_data :

user data set when the signal handler was connected.

The "paste-clipboard" signal

void                user_function                      (GimpCurveView *gimpcurveview,
                                                        gpointer       user_data)          : Action

gimpcurveview :

the object which received the signal.

user_data :

user data set when the signal handler was connected.