Re: ui thoughts



> > It's also weird that verbs/commands are sometimes called verbs, and
> > sometimes called commands. 
>  
>         Verbs and Ids are in the 'commands' namespace, the distinction in
> the documentation is important. See '* So how is this separation achieved
> in practice' in the ui-faq.txt perhaps.

Is there a difference between a verb and an id?

My objection is that the naming seems to be mismatched. You say:

	<menuitem name="Foo" verb="Bar">
	<cmd name="Bar" ...>

where a menuitem's "verb" references a cmd's "name". I think it would be
more consistent to have either <verb name="Bar" ...> or
<cmd verb="Bar" ...>

> > I still don't like the meaning of verb="". I actually think it would
> > make more sense to have that mean "no verb", and have no verb entry
> > mean "default verb name".
>   
>         This is still confusing you after I explained it ?

It's not confusing me, I just think it would confuse other people. I
think the average person reading a ui file without studying the docs
first is going to think:

	<menuitem name="Foo" verb="Bar">	= command "Bar"
	<menuitem name="Foo" verb="">		= no command
	<menuitem name="Foo">			= command "Foo"

which is not the way that things really work.


>         Either way, the new UI handler is by no means perfect or complete,

Right, and this was all just supposed to be suggestions on things that
seemed like particular imperfections to me after having used it a bit.

-- Dan




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]