GimpHistogramView

GimpHistogramView

Synopsis

                    GimpHistogramView;
GtkWidget *         gimp_histogram_view_new             (gboolean range);
void                gimp_histogram_view_set_histogram   (GimpHistogramView *view,
                                                         GimpHistogram *histogram);
GimpHistogram *     gimp_histogram_view_get_histogram   (GimpHistogramView *view);
GimpHistogram *     gimp_histogram_view_get_background  (GimpHistogramView *view);
void                gimp_histogram_view_set_background  (GimpHistogramView *view,
                                                         GimpHistogram *histogram);
void                gimp_histogram_view_set_channel     (GimpHistogramView *view,
                                                         GimpHistogramChannel channel);
GimpHistogramChannel gimp_histogram_view_get_channel    (GimpHistogramView *view);
void                gimp_histogram_view_set_scale       (GimpHistogramView *view,
                                                         GimpHistogramScale scale);
GimpHistogramScale  gimp_histogram_view_get_scale       (GimpHistogramView *view);
void                gimp_histogram_view_set_range       (GimpHistogramView *view,
                                                         gint start,
                                                         gint end);
void                gimp_histogram_view_get_range       (GimpHistogramView *view,
                                                         gint *start,
                                                         gint *end);

Object Hierarchy

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

Implemented Interfaces

GimpHistogramView implements AtkImplementorIface and GtkBuildable.

Properties

  "border-width"             gint                  : Read / Write / Construct
  "histogram-channel"        GimpHistogramChannel  : Read / Write / Construct
  "histogram-scale"          GimpHistogramScale    : Read / Write / Construct
  "subdivisions"             gint                  : Read / Write / Construct

Signals

  "range-changed"                                  : Run First

Description

Details

GimpHistogramView

typedef struct _GimpHistogramView GimpHistogramView;


gimp_histogram_view_new ()

GtkWidget *         gimp_histogram_view_new             (gboolean range);


gimp_histogram_view_set_histogram ()

void                gimp_histogram_view_set_histogram   (GimpHistogramView *view,
                                                         GimpHistogram *histogram);


gimp_histogram_view_get_histogram ()

GimpHistogram *     gimp_histogram_view_get_histogram   (GimpHistogramView *view);


gimp_histogram_view_get_background ()

GimpHistogram *     gimp_histogram_view_get_background  (GimpHistogramView *view);


gimp_histogram_view_set_background ()

void                gimp_histogram_view_set_background  (GimpHistogramView *view,
                                                         GimpHistogram *histogram);


gimp_histogram_view_set_channel ()

void                gimp_histogram_view_set_channel     (GimpHistogramView *view,
                                                         GimpHistogramChannel channel);


gimp_histogram_view_get_channel ()

GimpHistogramChannel gimp_histogram_view_get_channel    (GimpHistogramView *view);


gimp_histogram_view_set_scale ()

void                gimp_histogram_view_set_scale       (GimpHistogramView *view,
                                                         GimpHistogramScale scale);


gimp_histogram_view_get_scale ()

GimpHistogramScale  gimp_histogram_view_get_scale       (GimpHistogramView *view);


gimp_histogram_view_set_range ()

void                gimp_histogram_view_set_range       (GimpHistogramView *view,
                                                         gint start,
                                                         gint end);


gimp_histogram_view_get_range ()

void                gimp_histogram_view_get_range       (GimpHistogramView *view,
                                                         gint *start,
                                                         gint *end);

Property Details

The "border-width" property

  "border-width"             gint                  : Read / Write / Construct

Allowed values: [0,32]

Default value: 1


The "histogram-channel" property

  "histogram-channel"        GimpHistogramChannel  : Read / Write / Construct

Default value: GIMP_HISTOGRAM_VALUE


The "histogram-scale" property

  "histogram-scale"          GimpHistogramScale    : Read / Write / Construct

Default value: GIMP_HISTOGRAM_SCALE_LINEAR


The "subdivisions" property

  "subdivisions"             gint                  : Read / Write / Construct

Allowed values: [1,64]

Default value: 5

Signal Details

The "range-changed" signal

void                user_function                      (GimpHistogramView *gimphistogramview,
                                                        gint               arg1,
                                                        gint               arg2,
                                                        gpointer           user_data)              : Run First

gimphistogramview :

the object which received the signal.

user_data :

user data set when the signal handler was connected.