MxDroppable

## MxDroppable MxDroppable |

## Synopsis

                        MxDroppable;
    struct              MxDroppableIface;
    void                mx_droppable_enable                 (MxDroppable *droppable);
    void                mx_droppable_disable                (MxDroppable *droppable);
    gboolean            mx_droppable_is_enabled             (MxDroppable *droppable);
    gboolean            mx_droppable_accept_drop            (MxDroppable *droppable,
                                                             MxDraggable *draggable);

## Object Hierarchy

      GInterface
       +----MxDroppable

## Prerequisites

MxDroppable requires ClutterActor.

## Properties

      "drop-enabled"             gboolean              : Read / Write

## Signals

      "drop"                                           : Run First
      "over-in"                                        : Run First
      "over-out"                                       : Run First

## Description

## Details

### MxDroppable

    typedef struct _MxDroppable MxDroppable;

This is an opaque structure whose members cannot be directly accessed.

### struct MxDroppableIface

    struct MxDroppableIface {
      /* vfuncs, not signals */
      void     (* enable)      (MxDroppable *droppable);
      void     (* disable)     (MxDroppable *droppable);

      gboolean (* accept_drop) (MxDroppable *droppable,
                                MxDraggable *draggable);

      /* signals */
      void (* over_in)  (MxDroppable         *droppable,
                         MxDraggable         *draggable);
      void (* over_out) (MxDroppable         *droppable,
                         MxDraggable         *draggable);
      void (* drop)     (MxDroppable         *droppable,
                         MxDraggable         *draggable,
                         gfloat               event_x,
                         gfloat               event_y,
                         gint                 button,
                         ClutterModifierType  modifiers);
    };

### mx_droppable_enable ()

    void                mx_droppable_enable                 (MxDroppable *droppable);

### mx_droppable_disable ()

    void                mx_droppable_disable                (MxDroppable *droppable);

### mx_droppable_is_enabled ()

    gboolean            mx_droppable_is_enabled             (MxDroppable *droppable);

### mx_droppable_accept_drop ()

    gboolean            mx_droppable_accept_drop            (MxDroppable *droppable,
                                                             MxDraggable *draggable);

## Property Details

### The `"drop-enabled"` property

      "drop-enabled"             gboolean              : Read / Write

Whether the Droppable is enabled.

Default value: FALSE

## Signal Details

### The `"drop"` signal

    void                user_function                      (MxDroppable        *mxdroppable,
                                                            ClutterActor       *arg1,
                                                            gfloat              arg2,
                                                            gfloat              arg3,
                                                            gint                arg4,
                                                            ClutterModifierType arg5,
                                                            gpointer            user_data)        : Run First

### The `"over-in"` signal

    void                user_function                      (MxDroppable  *mxdroppable,
                                                            ClutterActor *arg1,
                                                            gpointer      user_data)        : Run First

### The `"over-out"` signal

    void                user_function                      (MxDroppable  *mxdroppable,
                                                            ClutterActor *arg1,
                                                            gpointer      user_data)        : Run First