## MateCanvasWidget MateCanvasWidget — Widget canvas item |

## Synopsis

    #include <libmatecanvas/libmatecanvas.h>

    struct              MateCanvasWidget;

## Object Hierarchy

      GObject
       +----GInitiallyUnowned
             +----GtkObject
                   +----MateCanvasItem
                         +----MateCanvasWidget

## Properties

      "anchor"                   GtkAnchorType         : Read / Write
      "height"                   gdouble               : Read / Write
      "size-pixels"              gboolean              : Read / Write
      "widget"                   GtkWidget*            : Read / Write
      "width"                    gdouble               : Read / Write
      "x"                        gdouble               : Read / Write
      "y"                        gdouble               : Read / Write

## Description

A canvas item for placing arbitrary GtkWidget objects onto a canvas.

## Details

### struct MateCanvasWidget

    struct MateCanvasWidget;

This structure should not be accessed directly. Use the object's properties for querying or changing its parameters.

## Property Details

### The `"anchor"` property

      "anchor"                   GtkAnchorType         : Read / Write

Anchor position for widget.

Default value: GTK_ANCHOR_NORTH_WEST

### The `"height"` property

      "height"                   gdouble               : Read / Write

Height of widget (units specified by "size-pixels" property).

Default value: 0

### The `"size-pixels"` property

      "size-pixels"              gboolean              : Read / Write

Specifies whether the widget size is specified in pixels or canvas units.

Default value: FALSE

### The `"widget"` property

      "widget"                   GtkWidget*            : Read / Write

Pointer to the widget.

### The `"width"` property

      "width"                    gdouble               : Read / Write

Width of widget (units specified by "size-pixels" property).

Default value: 0

### The `"x"` property

      "x"                        gdouble               : Read / Write

X coordinate of anchor point.

Default value: 0

### The `"y"` property

      "y"                        gdouble               : Read / Write

Y coordinate of anchor point.

Default value: 0