setCallback( )

Sets the callback method for the PODSButton object.

Interface

PODSButton

IDL definition
nometadata void setCallback(
  PODSMethod method,
  PODSObject targetobj,
  any closure
);
JavaScript synopsis

Not applicable

C synopsis
void PODSsetCallback(
  PODSButton* btn,
  PODSMethod method,
  PODSObject* targetobj,
  void* closure
);
Parameters
  • btn   The PODSButton object.

  • method   [in] The callback method to be invoked.

  • targetobj   [in] The object on which method will be invoked.

  • closure   [out] Data to be passed back when user clicks the PODSButton object.

Returns

None