FBEventDragAndDrop Class Reference
 
 
 
FBEventDragAndDrop Class Reference

This reference page is linked to from the following overview topics: Events & callbacks.


#include <mobu-python-api.h>


Class Description

Drag and drop interface.

Inheritance diagram for FBEventDragAndDrop:
FBEvent

Public Member Functions

def  __reduce__ ()
def  Add ()
def  Clear ()
def  Accept ()
def  Get ()
def  GetCount ()
def  __init__ ()

Public Attributes

FBPropertyDragAndDropState  State
FBPropertyInt  PosX
FBPropertyInt  PosY
FBPropertykReference  Data
object  Components
FBPropertyInt  Type

Member Function Documentation

def __reduce__ ( )

Reimplemented from FBEvent.

def Add ( )

Python Docstring:

Add( (FBEventDragAndDrop)arg1, (FBComponent)arg2 [, (object)arg3]) -> None 

C++ Signature:

void Add(FBComponent * pComponent, int pId = 0) 

Add an item to the drag and drop list.

Parameters:
pComponent Item to add to the list.
pId User-defined reference for the item (default = 0 ).
def Clear ( )

Python Docstring:

Clear( (FBEventDragAndDrop)arg1) -> None 

C++ Signature:

void Clear() 

Clear drag and drop list.

def Accept ( )

Python Docstring:

Accept( (FBEventDragAndDrop)arg1) -> None 

C++ Signature:

void Accept() 

Accept a drag and drop sequence. This will cause the region in question to accept a drag and drop action when this event occurs.

def Get ( )

Python Docstring:

Get( (FBEventDragAndDrop)arg1, (object)arg2) -> object 

C++ Signature:

FBComponent * Get(int pIndex) 

Get the FBComponent specified by pIndex from the Drag and Drop list.

Parameters:
pIndex Index in list where to get FBComponent.
Returns:
Handle to FBComponent in list at pIndex.
def GetCount ( )

Python Docstring:

GetCount( (FBEventDragAndDrop)arg1) -> int 

C++ Signature:

int GetCount() 

Get the number of items in the DragAndDrop list.

Returns:
Number of items in DragAndDrop list.
def __init__ ( )

Python Docstring:

Raises an exception
This class cannot be instantiated from Python 

C++ Signature:

 FBEventDragAndDrop(HKEventBase pEvent) 

Constructor.

Parameters:
pEvent Base event (internal) to obtain information from.

Reimplemented from FBEvent.


Member Data Documentation

FBPropertyDragAndDropState State

Property: Drag and drop sub-event.

FBPropertykReference Data

Property: User specified reference. (for example, FBSpread:row)

Read Property: (list) List of components drop. (it acces the same data as FBEventDragAndDrop.Get())