uiTableAppendButtonColumn

Function uiTableAppendButtonColumn 

Source
pub unsafe extern "C" fn uiTableAppendButtonColumn(
    t: *mut uiTable,
    name: *const c_char,
    buttonModelColumn: c_int,
    buttonClickableModelColumn: c_int,
)
Expand description

Appends a column to the table containing a button.

Button clicks are signaled to the uiTableModelHandler via a call to SetCellValue() with a value of NULL for the @p buttonModelColumn.

CellValue() must return the button text to display.

@param t uiTable instance. @param name Column title text.\n A valid, NUL terminated UTF-8 string.\n Data is copied internally. Ownership is not transferred. @param buttonModelColumn Column that holds the button text to be displayed.\n #uiTableValueTypeString @param buttonClickableModelColumn Column that defines whether or not the button is clickable.\n #uiTableValueTypeInt TRUE to make button clickable, FALSE otherwise.\n uiTableModelColumnNeverEditable to make all rows never clickable.\n uiTableModelColumnAlwaysEditable to make all rows always clickable. @memberof uiTable