What does this cmd / widget separation really mean?
the plot: Since we want to be able to allow the user to full customize his or her menus and toolbars we need to be able to abstract the following things away from the layout of the menus: sensitivity, hiddenness, state ( such as toggledness ) Other things we want to separate are: default labels, tips and pixmaps So; how is this separation achieved in practice? We have a namespace that ‘commands’ live in; these can either be things like ‘Save’ ( a verb ) or ‘Threaded View’ ( a state with an id ). Both verbs and id’s are in the same space.