PyCToolBar.SetButtonInfo

SetButtonInfo(index, ID, style, imageIx)

Sets the button's command ID, style, and image number.

Parameters

index : int

Index of the button or separator whose information is to be set.

ID : int

The value to which the button's command ID is set.

style : int

The new button style

imageIx : int

New index for the button's image within the bitmap