Category Custom user interface, Object ProUIPushbutton

Function ProUIPushbuttonActivateActionSet


Description
Sets the activate action for a pushbutton. This function is called when the user selects the pushbutton.
Synopsis
#include <ProUIPushbutton.h>
ProErrorProUIPushbuttonActivateActionSet(
char* dialog
/* (In)
The name of the dialog that contains the pushbutton
*/
char* pushbutton
/* (In)
The name of the pushbutton component
*/
ProUIAction action
/* (In)
The action to be called on activating the pushbutton
*/
ProAppData appdata
/* (In)
User data to be passed to the action function.
*/
)
Returns
PRO_TK_NO_ERRORThe function was successful
PRO_TK_GENERAL_ERRORThe function failed

Manual References:

  1. User Interface: Dialogs: Pushbutton Action Callbacks

Sample Code References:

  1. pt_examples ( TestUITable.c )
  2. pt_examples ( TestUITable.c )
  3. pt_examples ( TestUITable.c )
  4. pt_examples ( TestUITable.c )
  5. pt_examples ( TestUITable.c )
  6. pt_geardesign ( GearDesignUI.c )
  7. pt_geardesign ( GearDesignUI.c )
  8. pt_geardesign ( GearDesignUI.c )
  9. pt_geardesign ( GearDesignUI.c )
  10. pt_geardesign ( GearDesignUI.c )
  11. pt_geardesign ( GearDesignUI.c )
  12. pt_geardesign ( GearDesignUI.c )
  13. pt_geardesign ( GearDesignUI.c )
  14. pt_geardesign ( GearDesignUI.c )
  15. pt_geardesign ( GearDesignUI.c )
  16. pt_geardesign ( GearDesignUI.c )
  17. pt_install_cxx ( TestInstall.cxx )
  18. pt_install_test ( TestInstall.c )
  19. pt_mfg_proctable ( PTMfgProcTable.c )
  20. pt_mfg_proctable ( PTMfgProcTable.c )
  21. pt_udf_examples ( PTUDFExUDFPlacementDashboard.c )
  22. pt_udf_examples ( PTUDFExUDFPlacementDashboard.c )
  23. pt_udf_examples ( PTUDFExUDFPlacementDashboard.c )
  24. pt_udf_examples ( PTUDFExUDFPlacementDashboard.c )
  25. pt_userguide ( UgCreoSweepCreate.c )
  26. pt_userguide ( UgCreoSweepCreate.c )
  27. pt_userguide ( UgCreoSweepCreate.c )
  28. pt_userguide ( UgCreoSweepCreate.c )
  29. pt_userguide ( UgUIListImplement.c )
  30. pt_userguide ( UgUIListImplement.c )
  31. pt_userguide ( UgUISlider.c )
  32. pt_userguide ( UgUISlider.c )
  33. pt_userguide ( UgUITables.c )
  34. pt_userguide ( UgUITables.c )
  35. pt_userguide ( UgUITables.c )
  36. pt_userguide ( UgUITables.c )
  37. pt_userguide ( UgUIVisibility.c )
  38. pt_userguide ( UgUIYesnoDialog.c )
  39. pt_userguide ( UgUIYesnoDialog.c )
  40. pt_userguide ( UgUtilUI.c )
  41. pt_userguide ( UgUtilUI.c )