mx-droppable

## mx-droppable mx-droppable |

## 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 {
      GTypeInterface g_iface;

      /* 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);

`droppable` : |

### mx_droppable_disable ()

    void                mx_droppable_disable                (MxDroppable *droppable);

`droppable` : |

### mx_droppable_is_enabled ()

    gboolean            mx_droppable_is_enabled             (MxDroppable *droppable);

`droppable` : |
Returns : |

### mx_droppable_accept_drop ()

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

`droppable` : |
`draggable` : |
Returns : |

## 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

`mxdroppable` : | the object which received the signal.
`arg1` : |
`arg2` : |
`arg3` : |
`arg4` : |
`arg5` : |
`user_data` : | user data set when the signal handler was connected.

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

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

`mxdroppable` : | the object which received the signal.
`arg1` : |
`user_data` : | user data set when the signal handler was connected.

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

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

`mxdroppable` : | the object which received the signal.
`arg1` : |
`user_data` : | user data set when the signal handler was connected.