Regular API function

remote API equivalent: simxSetUIButtonProperty
RosPlugin API equivalent: simRosSetUIButtonProperty

Description Sets the properties of an OpenGl-based custom UI button. See also simGetUIButtonProperty.
C synopsis simInt simSetUIButtonProperty(simInt uiHandle,simInt buttonHandle,simInt buttonProperty)
C parameters
uiHandle: OpenGl-based custom UI handle
buttonHandle: button handle
buttonProperty: button property. See the button property values. Combine them with the "or"-operator
C return value
-1 if operation was not successful. In a future release, a more differentiated return value might be available
Lua synopsis number result=simSetUIButtonProperty(number uiHandle,number buttonHandle,number buttonProperty)
Lua parameters
Same as C-function
Lua return values
Same as C-function

All regular API functions on one page