On Mon, 2009-03-23 at 21:39 +0100, Cornelius Hald wrote:
> I'm currently writing a task navigator plugin. Does anyone know if there
> is a simple way to get the same menu style as the default plugins? I've
> set the widget names as described in the tutorial but the result is
> still sub optimal.
>
> To illustrate the point, here is what I have:
> http://zwong.de/wp-content/uploads/2009/03/whatihave.jpeg
>
> And here is what I want:
> http://zwong.de/wp-content/uploads/2009/03/whatiwant.jpeg
It is possible to use something like the following. It's not really what
I wanted, but for now it'll do it...
menu_item = hildon_thumb_menu_item_new_with_labels("l1", "l2", "l3");
image_small = gtk_image_new_from_file("small.png");
image_large = gtk_image_new_from_file("large.png");
hildon_thumb_menu_item_set_images(menu_item, image_small, image_large);
hildon_menu_set_thumb_mode(menu, TRUE);
This will result in menus using the style of the Task-Switcher.
Cheers!
Conny
_______________________________________________
maemo-developers mailing list
[email protected]
https://lists.maemo.org/mailman/listinfo/maemo-developers