TorqueScript Reference
Public Member Functions | List of all members
GuiDragAndDropCtrl Class Reference

#include <guiDragAndDropCtrl_ScriptBinding.h>

Inherits GuiControl.

Public Member Functions

void startDragging ([S32 x], [S32 y])"
 
- Public Member Functions inherited from GuiControl
void addGuiControl (int controlId)
 
Integer findHitControl (int x, int y)
 
String getCenter ()
 
String getExtent (...)
 
String getGlobalCenter ()
 
String getGlobalPosition ()
 
String getMinExtent ()
 
Integer getParent ()
 
String getPosition ()
 
String getText ()
 
Boolean getTextExtend ()
 
Boolean getTextWrap ()
 
String getValue ()
 
Boolean isActive ()
 
Boolean isAwake ()
 
Boolean isVisible ()
 
void makeFirstResponder (isFirst)
 
void performClick ()
 
Boolean pointInControl (int x, int y)
 
void reorderChild (child1, child2)
 
void resize (int x, int y, int w, int h)
 
void setActive (isActive)
 
void setCanSave (bool canSave)
 
void setCenter (int x, int y)
 
void setExtent (int width, int height)
 
void setFirstResponder ()
 
void setPosition (int x, int y)
 
void setPositionGlobal (int x, int y)
 
void setProfile (GuiControlProfile p)
 
void setText (text)
 
void setTextExtend (setting)
 
void setTextID (id)
 
void setTextWrap (setting)
 
void setValue (value)
 
void setVisible (isVisible)
 

Member Function Documentation

◆ startDragging()

void startDragging ( )

Simulates a cursor down event on the control with an optional offset to be used when tracking the cursor.

Parameters
xThe horizontal offset from the top left corner of the control. Defaults to 0.
yThe vertical offset from the top left corner of the control. Defaults to 0.
Returns
No return value.