My solution involves creating a class for each verb/action (derived from
Gtk::Action) and adding a statically initialized "entry object" that, upon
construction, will put the action's static constructor (e.g. a static
function that returns a new action) on the list of actions to initialize.
This would automagically build lists of global actions and per-document
actions to create.