#include <mobu-python-api.h>
Drag and drop interface.
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... | |
![]() | |
__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 |
![]() | |
FBPropertyInt | Type |
Read Only Property: Type of event. More... | |
__init__ | ( | ... | ) |
Constructor.
Python Docstring:
Raises an exception This class cannot be instantiated from Python
C++ Signature:
FBEventDragAndDrop(HKEventBase pEvent)
pEvent | Base 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)
pComponent | Item to add to the list. |
pId | User-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)
pIndex | Index in list where to get FBComponent. |
int GetCount | ( | FBEventDragAndDrop | arg1 | ) |
Get the number of items in the DragAndDrop list.
Python Docstring:
GetCount( (FBEventDragAndDrop)arg1) -> int
C++ Signature:
int GetCount()
Components |
Read Property: (list) List of components drop. (it acces the same data as FBEventDragAndDrop.Get())
FBPropertykReference Data |
FBPropertyInt PosX |
Property: X position of mouse.
FBPropertyInt PosY |
Property: Y position of mouse.
FBPropertyDragAndDropState State |
Property: Drag and drop sub-event.