Python Reference Guide
 
Loading...
Searching...
No Matches
FBEventDragAndDrop Class Reference

Drag and drop interface.b>Event: Global Evaluation pipeline critical timing callback event. More...

#include <pyfbsdk_generated.h>

Inheritance diagram for FBEventDragAndDrop:

Public Member Functions

 FBEventDragAndDrop (HKEventBase pEvent)
 Constructor.
 
 Accept ()
 Accept a drag and drop sequence.
 
 Add (FBComponent pComponent, int pId=0)
 Add an item to the drag and drop list.
 
 Clear ()
 Clear drag and drop list.
 
FBComponent Get (int pIndex)
 Get the FBComponent specified by pIndex from the Drag and Drop list.
 
int GetCount ()
 Get the number of items in the DragAndDrop list.
 
- Public Member Functions inherited from FBEvent
 FBEvent (HKEvent pEvent)
 Constructor.
 

Public Attributes

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

 
int PosX
 Property: X position of mouse.

 
int PosY
 Property: Y position of mouse.

 
FBDragAndDropState State
 Property: Drag and drop sub-event.

 
- Public Attributes inherited from FBEvent
int Type
 Read Only Property: Type of event.

 

Detailed Description

Drag and drop interface.b>Event: Global Evaluation pipeline critical timing callback event.



Constructor & Destructor Documentation

◆ FBEventDragAndDrop()

FBEventDragAndDrop ( HKEventBase  pEvent)

Constructor.

Parameters
pEventBase event (internal) to obtain information from.

Member Function Documentation

◆ Accept()

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.

◆ Add()

Add ( FBComponent  pComponent,
int  pId = 0 
)

Add an item to the drag and drop list.

Parameters
pComponentItem to add to the list.
pIdUser-defined reference for the item (default = 0 ).

◆ Clear()

Clear ( )

Clear drag and drop list.

◆ Get()

FBComponent Get ( int  pIndex)

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

Parameters
pIndexIndex in list where to get FBComponent.
Returns
Handle to FBComponent in list at pIndex.

◆ GetCount()

int GetCount ( )

Get the number of items in the DragAndDrop list.

Returns
Number of items in DragAndDrop list.

Member Data Documentation

◆ Data

FBkReference Data

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

◆ PosX

int PosX

Property: X position of mouse.

◆ PosY

int PosY

Property: Y position of mouse.

◆ State

Property: Drag and drop sub-event.