FBEventDragAndDrop Class Reference

#include <mobu-python-api.h>

Class Description

Drag and drop interface.

+ Inheritance diagram for FBEventDragAndDrop:

Public Member Functions

 __reduce__ ()
 
 Add (FBEventDragAndDrop arg1, FBComponent arg2, object arg3)
 Add an item to the drag and drop list. More...
 
 Clear (FBEventDragAndDrop arg1)
 Clear drag and drop list. More...
 
 Accept (FBEventDragAndDrop arg1)
 Accept a drag and drop sequence. More...
 
object Get (FBEventDragAndDrop arg1, object arg2)
 Get the FBComponent specified by pIndex from the Drag and Drop list. More...
 
int GetCount (FBEventDragAndDrop arg1)
 Get the number of items in the DragAndDrop list. More...
 
 __init__ (...)
 Constructor. More...
 
- Public Member Functions inherited from FBEvent
 __reduce__ ()
 
 __init__ (...)
 Constructor. More...
 

Public Attributes

FBPropertyDragAndDropState State
 Property: Drag and drop sub-event. More...
 
FBPropertyInt PosX
 Property: X position of mouse. More...
 
FBPropertyInt PosY
 Property: Y position of mouse. More...
 
FBPropertykReference Data
 Property: User specified reference. More...
 
object Components
 
- Public Attributes inherited from FBEvent
FBPropertyInt Type
 Read Only Property: Type of event. More...
 

Member Function Documentation

__init__ (   ...)

Constructor.

Python Docstring:

Raises an exception
This class cannot be instantiated from Python 

C++ Signature:

 FBEventDragAndDrop(HKEventBase pEvent) 
Parameters
pEventBase event (internal) to obtain information from.
__reduce__ ( )
Accept ( FBEventDragAndDrop  arg1)

Accept a drag and drop sequence.

Python Docstring:

Accept( (FBEventDragAndDrop)arg1) -> None 

C++ Signature:

void Accept() 

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

Add ( FBEventDragAndDrop  arg1,
FBComponent  arg2,
object  arg3 
)

Add an item to the drag and drop list.

Python Docstring:

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

C++ Signature:

void Add(ORSDK2018::FBComponent * pComponent, int pId = 0) 
Parameters
pComponentItem to add to the list.
pIdUser-defined reference for the item (default = 0 ).
Clear ( FBEventDragAndDrop  arg1)

Clear drag and drop list.

Python Docstring:

Clear( (FBEventDragAndDrop)arg1) -> None 

C++ Signature:

void Clear() 
object Get ( FBEventDragAndDrop  arg1,
object  arg2 
)

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

Python Docstring:

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

C++ Signature:

ORSDK2018::FBComponent * Get(int pIndex) 
Parameters
pIndexIndex in list where to get FBComponent.
Returns
Handle to FBComponent in list at pIndex.
int GetCount ( FBEventDragAndDrop  arg1)

Get the number of items in the DragAndDrop list.

Python Docstring:

GetCount( (FBEventDragAndDrop)arg1) -> int 

C++ Signature:

int GetCount() 
Returns
Number of items in DragAndDrop list.

Member Data Documentation

Components

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

FBPropertykReference Data

Property: User specified reference.

(for example, FBSpread:row)

Property: X position of mouse.

Property: Y position of mouse.

FBPropertyDragAndDropState State

Property: Drag and drop sub-event.