This reference page is linked to from the following overview topics: Events & callbacks.
#include <mobu-python-api.h>
Drag and drop interface.
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 |
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.
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.
pIndex | Index in list where to get FBComponent. |
def GetCount | ( | ) |
Python Docstring:
GetCount( (FBEventDragAndDrop)arg1) -> int
C++ Signature:
int GetCount()
Get the number of items in the DragAndDrop list.
def __init__ | ( | ) |
Python Docstring:
Raises an exception This class cannot be instantiated from Python
C++ Signature:
FBEventDragAndDrop(HKEventBase pEvent)
Constructor.
pEvent | Base event (internal) to obtain information from. |
Reimplemented from FBEvent.
FBPropertyDragAndDropState State |
Read Property: (list) List of components drop. (it acces the same data as FBEventDragAndDrop.Get())
FBPropertyInt Type
[inherited] |
Read Only Property: Type of event.
Reimplemented in FBEventFileChange, FBEventSceneChange, and FBEventTakeChange.