Developer

API Reference

WidgetElemTapEvent

Brew Release
Brew MP 1.0.2
See Also
None
Description
This data type specifies the structure used to notify viewmodel listeners about a gesture detected within widget's extent.Gesture type detected would be one of the following: WETAPTYPE_TAP, WETAPTYPE_DBLTAP, WETAPTYPE_TAPANDHOLD
Members
  • nElemID     :  Unique element id for a specified type
  • nElemType   :  Type of the element (one of the WETYPE_xxx)
  • nTapType    :  Gesture type detected. One of the
  • x           :  widget-relative x co-ordinate
  • y           :  widget-relative y co-ordinate
    
Definition
   typedef struct {
      ModelEvent  base;
      int         nElemID;       // [out] unique element id
      int         nElemType;     // [out] element type indentifier
      int         nTapType;      // [out] Tap Type - Single, double, tap and hold
      int32       x;             // [out] widget-relative x co-ordinate
      int32       y;             // [out] widget-relative y co-ordinate
   } WidgetElemTapEvent;
Comment
None
  • Follow