I've been playing around with Blender's UI recently to see if I can find ways to make my workflow a bit easier, and also just for fun. My goal is to create UI buttons to change the sculpt brush. I'm very new at scripting though and don't know how to do most of this or if it's even possible.
I've looked at the api and found "active_index_set" but I don't know if that's the operator to call and if it is I don't know how to get it the parameters it needs to set the brush. I've looked at IK3d's brushes addon to see how he got the buttons to change the brush, and it looks like he used a list somehow. For what I'm doing custom this doesn't need to work with custom brushes as from what I've read so far that would complicate it a lot.
Any help would be great, even if it't just a point in the right direction.