I was trying to make the feature request on adding keyboard shotcuts for user defined tools... however I think thats out of my limits for now :cry:
From what Ive seen, all menus in c::b are defined in XRCs, where the accelerator key is defined in the tag "accel". For example:
<object class="wxMenuItem" name="idFileNew">
<label>New File</label>
<accel>Ctrl-N</accel>
<help>Create a new source file</help>
</object>
And thats it, pretty straightforward if you ask me, but I cant seem to find an example in c::b source on how to do this dynamically (since my bet is that all menus are created from XRCs... and the ones probably created dynamically dont have an accelerator key...)
My question is, do I have to hard code an event manager in order to implement such functionality in the user tools menu (this way would be wxwidgets related Im afraid), or can c::b provide me with some functions to do this? (This way it would be c::b related, aka
)
Thanks for your time