Submenues in Fremantle
Submenues in Fremantle
Re: Submenues in Fremantle
2009-07-07 18:04 UTC
On Sat, Jul 04, 2009 at 08:58:14PM +0200, Till Harbaum / Lists wrote:
> While i was pretty successful doing the first i still need a submenu
> here and there. I found this example:
> http://maemo.org/api_refs/5.0/beta/tutorial/html/ch10.html
> using seperate windows for this.
I think that example is not very correct, I'll try to have it updated.
If you need to show more options when you select a menu entry, a
dialog is probably a better choice.
> I tried to use a seperate hildonappmenu via hildon_app_menu_popup,
> but wasn't successful (just nothing pops up).
I imagine you are using the beta SDK, there's a bug in HildonAppMenu
that could make that fail. Still I think that it's better to use a
dialog.
Sorry for the delay, btw, I'm currently at the Gran Canaria Desktop
Summit and the inet connection here is not very good. For those of you
here in Gran Canaria, there are a few talks about Fremantle tomorrow,
the first one is about the toolkit (by Claudio and me), but there are
also talks about the window manager and the multimedia framework:
http://www.grancanariadesktopsummit.org/node/271
Feel free to approach us for questions, comments, etc.
Berto
> While i was pretty successful doing the first i still need a submenu
> here and there. I found this example:
> http://maemo.org/api_refs/5.0/beta/tutorial/html/ch10.html
> using seperate windows for this.
I think that example is not very correct, I'll try to have it updated.
If you need to show more options when you select a menu entry, a
dialog is probably a better choice.
> I tried to use a seperate hildonappmenu via hildon_app_menu_popup,
> but wasn't successful (just nothing pops up).
I imagine you are using the beta SDK, there's a bug in HildonAppMenu
that could make that fail. Still I think that it's better to use a
dialog.
Sorry for the delay, btw, I'm currently at the Gran Canaria Desktop
Summit and the inet connection here is not very good. For those of you
here in Gran Canaria, there are a few talks about Fremantle tomorrow,
the first one is about the toolkit (by Claudio and me), but there are
also talks about the window manager and the multimedia framework:
http://www.grancanariadesktopsummit.org/node/271
Feel free to approach us for questions, comments, etc.
Berto

Till Harbaum / Lists
i am just changing my apps to use the HildonAppMenu under
Fremantle. These apps (gpxview and osm2go) use submenus,
so i either reduce the number of menues entries or find a replacement
for submenues.
While i was pretty successful doing the first i still need a submenu
here and there. I found this example:
http://maemo.org/api_refs/5.0/beta/tutorial/html/ch10.html
using seperate windows for this.
I have two problems with this (the current version of gpxview in
extras-devel is doing it this way):
1) Consistency: Why is nokia telling us that clicking outside a dialog
is a natural way of closing it if at the same time they introduce an
explicit close button for submenues this way (you need to click
the back arrow in the upper right corner to close such a "submenu")?
2) They look ugly
I tried to use a seperate hildonappmenu via hildon_app_menu_popup,
but wasn't successful (just nothing pops up).
So my question: Is there a nice and consistent solution for submenues
in fremantle?
Till