GtkPlotCanvasRectangle
3
GTKEXTRA Library

# GtkPlotCanvasRectangle

## Synopsis

    #include <gtkextra.h>

                        GtkPlotCanvasRectangle;
    GtkPlotCanvasChild * gtk_plot_canvas_rectangle_new      (GtkPlotLineStyle style,
                                                             gfloat width,
                                                             const GdkColor *fg,
                                                             const GdkColor *bg,
                                                             GtkPlotBorderStyle border,
                                                             gboolean fill);
    void                gtk_plot_canvas_rectangle_set_attributes
                                                            (GtkPlotCanvasRectangle *rectangle,
                                                             GtkPlotLineStyle style,
                                                             gfloat width,
                                                             const GdkColor *fg,
                                                             const GdkColor *bg,
                                                             GtkPlotBorderStyle border,
                                                             gboolean fill);

## Object Hierarchy

      GObject
       +----GInitiallyUnowned
             +----GtkObject
                   +----GtkPlotCanvasChild
                         +----GtkPlotCanvasRectangle

## Properties

      "border"                   gint                  : Read / Write
      "color-bg"                 gpointer              : Read / Write
      "filled"                   gboolean              : Read / Write
      "line"                     gpointer              : Read / Write
      "shadow-width"             gint                  : Read / Write

## Description

FIXME:: need long description

## Details

### GtkPlotCanvasRectangle

    typedef struct _GtkPlotCanvasRectangle GtkPlotCanvasRectangle;

The GtkPlotCanvasRectangle struct contains only private data. It should only be accessed through the functions described below.

### gtk_plot_canvas_rectangle_new ()

    GtkPlotCanvasChild * gtk_plot_canvas_rectangle_new      (GtkPlotLineStyle style,
                                                             gfloat width,
                                                             const GdkColor *fg,
                                                             const GdkColor *bg,
                                                             GtkPlotBorderStyle border,
                                                             gboolean fill);

`style` :

`width` :

`fg` :

`bg` :

`border` :

`fill` :

Returns :

### gtk_plot_canvas_rectangle_set_attributes ()

    void                gtk_plot_canvas_rectangle_set_attributes
                                                            (GtkPlotCanvasRectangle *rectangle,
                                                             GtkPlotLineStyle style,
                                                             gfloat width,
                                                             const GdkColor *fg,
                                                             const GdkColor *bg,
                                                             GtkPlotBorderStyle border,
                                                             gboolean fill);

`rectangle` :

  a GtkPlotCanvasRectangle

`style` :

`width` :

`fg` :

`bg` :

`border` :

`fill` :

## Property Details

### The `"border"` property

      "border"                   gint                  : Read / Write

Allowed values: >= 0

Default value: 0

### The `"color-bg"` property

      "color-bg"                 gpointer              : Read / Write

Filling Color.

### The `"filled"` property

      "filled"                   gboolean              : Read / Write

Default value: FALSE

### The `"line"` property

      "line"                     gpointer              : Read / Write

### The `"shadow-width"` property

      "shadow-width"             gint                  : Read / Write

Shadow Width.

Allowed values: >= 0

Default value: 0