
#####################
A3DPDFButtonAddAction
#####################

.. c:function:: A3DStatus A3DPDFButtonAddAction(A3DPDFButton *pButton, const A3DPDFAction *pAction)

   .. rst-class:: sig-pretty-signature
   
      | :c:enum:`~A3DStatus` A3DPDFButtonAddAction(:c:type:`~A3DPDFButton`\ \* **pButton**\ , *const* :c:type:`~A3DPDFAction`\ \* **pAction**\ )
   
   Adds an action on a button.
   
   **Parameters**
   
   
      **pButton**\ : The button object to work with.
   
      **pAction**\ : The action to be stored on the button.
   
   
   **Returns**
   
   
      A3D_SUCCESS in case of success or an error code
   
   




