News:

The new Release 25.03 is out! You can download binaries for Windows and many major Linux distros here .

Main Menu

Using Actions in CB: a discussion

Started by mandrav, December 17, 2005, 08:44:47 PM

Previous topic - Next topic

takeshimiya

Quote from: Urxae on December 19, 2005, 09:54:40 PM
This assumes of course that plugins are able to obtain a list of the names of currently registered actions from the action manager. Mandrav's post didn't provide examples of this...
Oh well, I was only worried if the SDK wasn't going to provide that. :)

mandrav


struct Action
{
    wxString title;
    ...
    ...
};
WX_DECLARE_STRING_HASH_MAP(Action, ActionsMap);

const ActionsMap& ActionsManager::GetActions();


Is this ok? ;)
Be patient!
This bug will be fixed soon...


thomas

So are you writing the mouse gestures plugin?
"We should forget about small efficiencies, say about 97% of the time: Premature quotation is the root of public humiliation."

takeshimiya

No, I was only worried about future bindings like mouse gesture and VIM-like command entries. But there are far more important things like Unicode support now.