3.5.2. Usage

(cx-create-button parent label callback row column)

ArgumentTypeDescription
parentobjectThe name of the table that you are adding the button to
labelstringThe name of the button to be displayed on the GUI
callbacksymbol/functionThe name of the function called when the button is clicked
rowsymbol/intWhen added to a table, signifies the row that the button is added to
columnsymbol/intWhen added to a table, signifies the column that the button is added to

Note:  The row and column attributes are optional. If you leave out one or both of these attributes the button will be added to the first row/column of the parent attribute and overwrite anything that is already in that spot.



Release 18.2 - © ANSYS, Inc. All rights reserved.