Re: UI merging problem?
- From: Michael Meeks <michael ximian com>
- To: Darin Adler <darin bentspoon com>
- Cc: Archit Baweja <bighead crosswinds net>, gnome-components-list gnome org
- Subject: Re: UI merging problem?
- Date: Mon, 4 Jun 2001 14:07:20 -0400 (EDT)
Hi Archit,
On Sat, 2 Jun 2001, Darin Adler wrote:
> The key is placeholders. Rather than merging into the Game menu, you
> should merge into a placeholder in the Game menu at the right
> location. The empty placeholder is defined in the main program's UI
> definition file, and then the same placeholder is redefined in the
> component, only now it contains the New Game menu item.
Quite right, also there is the concept of the default placeholder.
If you have this:
<submenu name="foo">
<placeholder name="baa"/>
<separator/>
<placeholder>
<menuitem name="wibble" _label="E_xit"/>
</submenu>
You can merge an item explicitely into the 'baa' placeholder at
path /whatever/foo/baa, or if you just merge new items into /whatever/foo
they should appear above 'E_xit' inside the foo submenu.
This is probably a simpler and less complex [ contractualy ]
strategy for you to use - most simple containers probably want to do this.
Regards,
Michael.
--
mmeeks gnu org <><, Pseudo Engineer, itinerant idiot
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]