Describes an attribute picker created in ACAPI_Dialog_CreateAttributePicker, with getter and setter for the selected attribute and the hanlder of push check click event.
More...
#include <APIdefs_Interface.h>
Describes an attribute picker created in ACAPI_Dialog_CreateAttributePicker, with getter and setter for the selected attribute and the hanlder of push check click event.
- Since
- Archicad 26
◆ GetSelectedAttributeIndex()
Returns the index of the selected attribute.
- Returns
- the selected attribute's index
◆ GetUserControlType()
◆ Invoke()
virtual bool API_AttributePicker::Invoke |
( |
| ) |
|
|
pure virtual |
Handles click event to the push check: shows the picker popup dialog.
- Returns
- True if OK was clicked in the popup dialog, false otherwise.
◆ SetSelectedAttributeIndex()
virtual void API_AttributePicker::SetSelectedAttributeIndex |
( |
const API_AttributeIndex & |
index | ) |
|
|
pure virtual |
Sets the index of the attribute to select.
- Parameters
-
index | the index of the attribute to select. |