Bone selecting with python?

I was wondering if anyone knows if its possible to
select bone in “Pose” mode with python? I just want
it selected (lighter), I want to have it as
an event in a button.

Any ideas :wink:


Needs to be added through c/python source code-

This kind of stuff is quite easy to add though- so Id recommend looking through the code.

Ok thanks, time to put my programming hat on :smiley: