[maemo-developers] GtkAction vs. AppMenu
From: Cornelius Hald hald at icandy.deDate: Wed Apr 29 20:37:03 EEST 2009
- Previous message: Re: Qt VKB problem of N800 and N810
- Next message: GtkAction vs. AppMenu
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hi, last week I just changed my UI code to use GtkAction instead of directly using GtkMenuItem and GtkToolItem. This brought me several advantages and cleaner code. Now I tried the new HildonAppMenu and it looks like it's no longer possible to use GtkAction with it. The HildonAppMenu expect the menu items to be GtkButtons, but GtkAction can only create GtkMenuItems and GtkToolButtons which both don't inherit GtkButton :( Does anyone have a better idea then to rewrite this code again? Maybe it is somehow possible to convert a GtkToolButton into a normal GtkButton? Or is it possible to create a GtkButton out of a GtkAction? Someone must have seen this use case while designing the new API!? Thanks! Conny
- Previous message: Re: Qt VKB problem of N800 and N810
- Next message: GtkAction vs. AppMenu
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]